To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=105921
                 Issue #|105921
                 Summary|InputUser field hast 2 fieldmasters
               Component|Word processor
                 Version|OOO320m1
                Platform|All
                     URL|
              OS/Version|All
                  Status|UNCONFIRMED
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|programming
             Assigned to|writerneedsconfirm
             Reported by|mux2005





------- Additional comments from mux2...@openoffice.org Thu Oct 15 09:27:45 
+0000 2009 -------
The attached document has an InputUser textfield (inserted manually via the
GUI). The textfield's XDependentTextField.getTextFieldMaster() method returns a
field master whose only connection to the text field seems to be that it lists
it in its DependentTextfields property. Other than that it does not seem to be a
real field master at all. It does not control the field's content nor does it
show up in the document's XTextFieldSupplier.getTextFieldMasters() collection.

The "real" fieldmaster can be obtained via
getByName("com.sun.star.text.fieldmaster.User.FOO"). Interestingly this field
master controls the actual content of the field but does not list it in its
DependentTextFields property.

To look at this yourself, open the attached test document, open the Basic IDE,
single-step to "End Sub" and then use the Watch window to examine the
"fakeFieldMaster" and "realFieldMaster" variables.

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@sw.openoffice.org
For additional commands, e-mail: issues-h...@sw.openoffice.org


---------------------------------------------------------------------
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org

Reply via email to