To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=74054
                 Issue #|74054
                 Summary|XEnumeration fails when trying to enumerate a selectio
                        |n near a text section contained in a table cell
               Component|Word processor
                 Version|OOo 2.1
                Platform|PC
                     URL|
              OS/Version|Linux
                  Status|UNCONFIRMED
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|programming
             Assigned to|mru
             Reported by|mfrancis





------- Additional comments from [EMAIL PROTECTED] Wed Jan 31 03:40:57 -0800 
2007 -------
Normally, selected text within Writer can be enumerated by creating an
XEnumeration on the selection's parts.

For the specific case where a text section is contained within a table cell, a
broken XEnumeration is returned if the selection is before or during the text
section. (Selections in table cells with no sections, or in a table cell but
after the last section contained within it, work as expected).

Calling .hasMoreElements() on an enumeration broken in this way returns _true_,
but attempting to actually access its elements with .nextElement() throws a
NoSuchElementException.

Java source illustrating the issue is attached. The bug has been seen on both
2.0.4/Linux and 2.1.0/Windows

---------------------------------------------------------------------
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