https://bugs.freedesktop.org/show_bug.cgi?id=45248

             Bug #: 45248
           Summary: insertDocumentFromURL doesn't insert RTF files at
                    cursor position
    Classification: Unclassified
           Product: LibreOffice
           Version: LibO 3.5.0 RC1
          Platform: x86-64 (AMD64)
        OS/Version: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Writer
        AssignedTo: [email protected]
        ReportedBy: [email protected]


In LibreOffice 3.5rc1 (but not LibreOffice 3.4), calling insertDocumentFromURL
on a TextCursor always inserts RTF documents at the end of the current
document, instead of inserting them at the TextCursor location. This can be
seen both in the GUI and in code making use of this API directly. This does not
happen when inserting odt documents.

While the below STR do not seem particularly severe, this breaks our extension
(Zotero LibreOffice Integration), which uses insertDocumentFromURL to insert a
bibliography at a specified cursor position. We have an installed base of
>18,000.

STEPS TO REPRODUCE:
1. Create an RTF document with some text in it (document A).
2. Type some text into a new document (document B).
3. Move the cursor to the beginning of document B.
4. Use Insert->File to insert document A into document B. Instead of appearing
at the cursor position, document B appears at the end.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to