<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_UNCONFIRMED "
   title="UNCONFIRMED - Inserted file not displayed correctly (Numbering missing)"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=132289">132289</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Inserted file not displayed correctly (Numbering missing)
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>LibreOffice
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>7.0.0.0.alpha0+ Master
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>UNCONFIRMED
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Writer
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>libreoffice-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>s.mehrbrodt@gmail.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="http://bugs.documentfoundation.org/attachment.cgi?id=159774" name="attach_159774" title="insert_this.odt">attachment 159774</a> <a href="http://bugs.documentfoundation.org/attachment.cgi?id=159774&action=edit" title="insert_this.odt">[details]</a></span>
insert_this.odt

1. Open an empty document in Writer
2. Press bold button
3. Insert file insert_this.odt

Expected:
 The inserted file is displayed with full numbering

Actual:
 In the first line the numbering is missing.

The problem is, that the paragraph style from the imported text is not applied.

My proposal to prevent this type of issues would be (similiar to what Word
does):

* Always use the paragraph style from the inserted file (this would fix the
numbering issue)
* Never expand direct formatting to inserted text, but keep it on the existing
text
* Same for character styles, never expand them

This makes sure that the inserted file is displayed as good as it can be.</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>