To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=105196
                 Issue #|105196
                 Summary|XTextRange/text cursor method gotoEnd() does not work
               Component|Word processor
                 Version|DEV300m55
                Platform|PC
                     URL|
              OS/Version|Linux
                  Status|UNCONFIRMED
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|programming
             Assigned to|writerneedsconfirm
             Reported by|sthell





------- Additional comments from [email protected] Sat Sep 19 01:28:51 
+0000 2009 -------
The attached document contains a Basic macro (CombineFiles v. 1.1, (c) 2004 Russ
Phillips) which uses an XTextRange method on a text cursor:

  oTextCursor.gotoEnd(false)       [rppCombine, l. 195]

The cursor is supposed to jump to the end of the document, but the only thing it
does is to go to the end of the first line of the inserted document.

(CombineFiles adds any number of writer documents, jumping to the end of the
current doc before inserting the next doc. As gotoEnd() only goes to the end of
the current line or paragraph, the macro inserts every new doc after the first
line/paragraph of the previous one.)

Noticed under OOO 3.1 and 3.2.0 DEV300m55 (Build:9418) under Ubuntu Linux.

The behaviour of the gotoEnd() method seems to be related to a similar behaviour
of the Ctrl + End key funtion: In the Writer editor, the cursor is supposed to
jump to the end of the document when Ctrl + End is hit. In a different document,
the cursor does not jump to the document end but into the footer area somewhere
in the document. I will attach the document under issue 85255, which seems to
address the same topic.

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