[Libreoffice-bugs] [Bug 100132] Formatting loss in replacing bookmark in DOCX file using XDocumentInsertable.insertDocumentFromURL method

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Wed Sep 23 11:07:54 UTC 2020


https://bugs.documentfoundation.org/show_bug.cgi?id=100132

BS Dev-Team <dev at godyo.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|INSUFFICIENTDATA            |---

--- Comment #10 from BS Dev-Team <dev at godyo.com> ---
We reproduced this bug in the latest v7 build.

We are trying to insert a piece of formatted text (ODT -> ODT) using a call
similar to

XDocumentInsertable xDocumentInsertable =
(XDocumentInsertable)UnoRuntime.queryInterface(XDocumentInsertable.class,
xTextCursor);
      if(xDocumentInsertable != null)
        xDocumentInsertable.insertDocumentFromURL(URLAdapter.adaptURL(url), new
PropertyValue[0]);
}
(as you can find it in project.zip)

Formatting gets lost / changes
* indents get lost sometimes (especially the first line of inserted text)
* font size of following text changes sometimes (before 9, now 10)

We would really appreciate any thoughts and possible solutions!
Regards

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20200923/2743cf89/attachment-0001.htm>


More information about the Libreoffice-bugs mailing list