Apache OpenOffice (AOO) Bugzilla – Full Text Issue Listing |
Summary: | UserField property IsFieldDisplayed gives wrong values | ||||||
---|---|---|---|---|---|---|---|
Product: | Writer | Reporter: | eberlein <pet.ebe> | ||||
Component: | code | Assignee: | AOO issues mailing list <issues> | ||||
Status: | CONFIRMED --- | QA Contact: | |||||
Severity: | Trivial | ||||||
Priority: | P3 | CC: | issues | ||||
Version: | OOo 3.2 | ||||||
Target Milestone: | --- | ||||||
Hardware: | All | ||||||
OS: | Windows XP | ||||||
Issue Type: | DEFECT | Latest Confirmation in: | --- | ||||
Developer Difficulty: | --- | ||||||
Attachments: |
|
Description
eberlein
2010-03-10 13:33:02 UTC
Created attachment 68272 [details]
file to reproduce
Reassigned to JSK Assign to new default-assignee Reassigned to TBO. I set default formating to make all visible on paragraph: result is true. Then just setting the first test-characters to hidden, result is again false. ->confirmed; OS? Code from Makro: Sub Main xFieldMasters = ThisComponent.getTextFieldMasters() if (xFieldMasters.hasByName("com.sun.star.text.FieldMaster.User.A")) then xFieldMaster = xFieldMasters.getByName("com.sun.star.text.FieldMaster.User.A") xDependentTextFields =xFieldMaster.DependentTextFields For i = lBound(xDependentTextFields()) to uBound(xDependentTextFields()) xField = xDependentTextFields(i) msgBox "Field is displayed: " & cBool( xField.isFieldDisplayed ) next End If End Sub The problem seems to be in SwScriptInfo::GetBoundsOfHiddenRange(...) Reset assigne to the default "issues@openoffice.apache.org". |