To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=90729
                 Issue #|90729
                 Summary|Anchor of a table is corrupt
               Component|Word processor
                 Version|OOo 2.4.0
                Platform|All
                     URL|
              OS/Version|All
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|code
             Assigned to|mru
             Reported by|clutz





------- Additional comments from [EMAIL PROTECTED] Sat Jun 14 11:53:12 +0000 
2008 -------
The following code produces an InvalidArgumentException if it is applied on a
TextDocument with at least one table:

tt = ThisComponent.TextTables
for i=0 to tt.count-1
  table = tt.getByIndex(i)
  cursor = table.Anchor.Text.createTextCursorByRange(table.Anchor)
next i

It seems that table.Anchor is corrupt as also xray produces a lot of Exceptions
when inspecting the object. IMO table.Anchor should be an object that represents
a XTextRange in the Text-Objects that contains the table. The object is not
comparable via table.Anchor.Text.compareRegionStarts(table.Anchor,
table.Anchor.Text.Start), too.

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