<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body><span class="vcard"><a class="email" href="mailto:dev@godyo.com" title="BS Dev-Team <dev@godyo.com>"> <span class="fn">BS Dev-Team</span></a>
</span> changed
          <a class="bz_bug_link 
          bz_status_REOPENED "
   title="REOPENED - Formatting loss in replacing bookmark in DOCX file using XDocumentInsertable.insertDocumentFromURL method"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=100132">bug 100132</a>
          <br>
             <table border="1" cellspacing="0" cellpadding="8">
          <tr>
            <th>What</th>
            <th>Removed</th>
            <th>Added</th>
          </tr>

         <tr>
           <td style="text-align:right;">Status</td>
           <td>RESOLVED
           </td>
           <td>REOPENED
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Resolution</td>
           <td>INSUFFICIENTDATA
           </td>
           <td>---
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_REOPENED "
   title="REOPENED - Formatting loss in replacing bookmark in DOCX file using XDocumentInsertable.insertDocumentFromURL method"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=100132#c10">Comment # 10</a>
              on <a class="bz_bug_link 
          bz_status_REOPENED "
   title="REOPENED - Formatting loss in replacing bookmark in DOCX file using XDocumentInsertable.insertDocumentFromURL method"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=100132">bug 100132</a>
              from <span class="vcard"><a class="email" href="mailto:dev@godyo.com" title="BS Dev-Team <dev@godyo.com>"> <span class="fn">BS Dev-Team</span></a>
</span></b>
        <pre>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</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>