You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openoffice.apache.org by bu...@apache.org on 2015/03/17 10:31:15 UTC

[Issue 126184] New: missing properties of document objects

https://bz.apache.org/ooo/show_bug.cgi?id=126184

          Issue ID: 126184
        Issue Type: DEFECT
           Summary: missing properties of document objects
           Product: Writer
           Version: 4.1.1
          Hardware: PC
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: P5
         Component: programming
          Assignee: issues@openoffice.apache.org
          Reporter: corvis@t-online.de

I have made a StarBasic program,  that enumerates a text document. I am looking
for SwXTextTable, SwXTextGraphicObject, SwXText and SwXTextFiel objects,
especially Fields, containing Fields of mySQLdatabases ( is not the same as
TextFiels - SwXShape ). If I find such object, I try to load the properties of
the object. The object is in a structure containing other structures. If I
found a SwXTextGraphicObject, there is a structure named "grahp" containing the
grahic itself. The object of the SwXTextGraphicObject has a property "graph". A
call of getPropertyValue( "graph") delivers the object graph ( from version
4.1.1 ).
If I find a SwXShape object, the TextField of the database field is in the
object "Contol". But the SwXShape-object has not a property "Control". I have
to call getControl().
I found  same problem in user defined TextFields. The enumerated TextPortion
containing the user defined TextField, containing a property TextField. The
object TextField represents a common TextField. The name and the value of the
drawn TextField, are contained in an object TextFieldMaster. But TextField has
no property "TextFieldMaster". The easiest way to go through an object would
be:

oTextField = oObject.getPropertyValue( "TextField")
oTextFieldMaster = oTextField.getPropertyValue( "TextFieldMaster")

I have to do instead:

query object type "SwXTextField"
If so oTextFieldMaster = oTextField.getTextFieldMaster()

I can not modify the instructions via program is the biggest problem. I have to
know the methode getTextFieldMaster() ( or getControl() in the first sample )

I do not know, if this is a bug.

-- 
You are receiving this mail because:
You are the assignee for the issue.

[Issue 126184] missing properties of document objects

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=126184

oooforum <oo...@free.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |NOT_AN_ISSUE
                 CC|                            |oooforum@free.fr

--- Comment #1 from oooforum <oo...@free.fr> ---
Your bug report is being closed as NOT_AN_ISSUE due to a lack of information
which is needed in order to accurately reproduce and confirm the problem. We
need the following information (please ignore any that you've already
provided):

a) Provide details of your system including your Linux distribution name and 32
or 64bits system

b) Provide a step-by-step procedure to reproduce (the simpler will be the
better)

c) Provide any test case(s) which will help us confirm the problem (like a
sample document with your macro)

d) Provide screenshots of the problem if you think it might help

Once all of this is done, please set the bug back to UNCONFIRMED and we will
attempt to reproduce the issue.

-- 
You are receiving this mail because:
You are the assignee for the issue.