To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=100938
                 Issue #|100938
                 Summary|Incorrect offsets returned by getAttributes
               Component|Word processor
                 Version|OOO310m9
                Platform|Sun
                     URL|
              OS/Version|All
                  Status|UNCONFIRMED
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|ui
             Assigned to|es
             Reported by|joaniediggs





------- Additional comments from [email protected] Tue Apr  7 21:59:29 
+0000 2009 -------
1. Open the test case (to be attached) and launch Accerciser

2. In Accerciser, select the Document View accessible in the list of accessibles

3. In Accerciser's iPython console, type the following:

   for a in acc: t = a.queryText(); print t.getText(0, -1), t.getAttributes(0)

4. Press Return

Expected results: The start and end offsets would be valid.

Actual results: If the character at the offset passed to getAttributes is not
bold, the start and end offsets are bogus, e.g.:

    All bold ('weight:600', 0, 9)
    None bold ('', 154245040, -18142958)
    First word bold ('weight:600', 0, 7)
    Middle word bold ('', 154245040, -18142958)
    Last word bold ('', 154245040, -18142958)

This bug is present in OOO300m9 (Build:9358), DEV300m41(Build:9383), and
OOO310m9(Build:9396)

---------------------------------------------------------------------
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: [email protected]
For additional commands, e-mail: [email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to