To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=105196





------- Additional comments from sth...@openoffice.org Mon Sep 28 16:39:21 
+0000 2009 -------
I have noticed that with many documents, the macro and method gotoEnd() seems to
work properly. It seems that the file type makes the difference. If you import
ODT files, everything works as it should; if you import DOC files, the gotoEnd()
method only jumps to the end of the first paragraph.

The lines doing the importing in the macro are:

   sFile = ConvertToURL (sFile)
   oTextCursor.InsertDocumentFromURL (sFile, Array())

As far as I can see, it should not make any difference if you import ODT or DOC.

Use the attached test document to test the macro:

1. Open Combine_Files_11_Macro.odt and execute macro rppCombine/Main
2. Go to end of doc.
3. Select "No" to import docs into currently open doc.
4. Select document Ctrl_End_Test_02.doc several times to import it.
5. When combining the files, the macro inserts the 2nd/3rd/4th etc. instance
after line 1 of the preceding instance.


---------------------------------------------------------------------
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: issues-unsubscr...@sw.openoffice.org
For additional commands, e-mail: issues-h...@sw.openoffice.org


---------------------------------------------------------------------
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org

Reply via email to