Issue 105921 - InputUser field hast 2 fieldmasters
Summary: InputUser field hast 2 fieldmasters
Status: CONFIRMED
Alias: None
Product: Writer
Classification: Application
Component: programming (show other issues)
Version: OOO320m1
Hardware: All All
: P3 Trivial (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-15 10:27 UTC by mux2005
Modified: 2017-05-20 11:17 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
test macro (8.81 KB, application/vnd.oasis.opendocument.text)
2009-10-15 10:28 UTC, mux2005
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description mux2005 2009-10-15 10:27:45 UTC
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.
Comment 1 mux2005 2009-10-15 10:28:48 UTC
Created attachment 65382 [details]
test macro
Comment 2 eric.savary 2009-10-15 16:30:42 UTC
Reassigned to JSK
Comment 3 michael.ruess 2009-10-16 10:54:16 UTC
MRU->OS: please have a look. The getTextfieldmaster () does not return NAme or
Value of the field. Is it desired?
Comment 4 Marcus 2017-05-20 11:17:31 UTC
Reset assigne to the default "issues@openoffice.apache.org".