<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 - Headings outside the main body are out of order in Navigator and PDF"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=143569">143569</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Headings outside the main body are out of order in Navigator and PDF
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>unspecified
          </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>saywellaj@gmail.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="https://bugs.documentfoundation.org/attachment.cgi?id=173893" name="attach_173893" title="Writer document as described above">attachment 173893</a> <a href="https://bugs.documentfoundation.org/attachment.cgi?id=173893&action=edit" title="Writer document as described above">[details]</a></span>
Writer document as described above

I create a new document and enter some sample text in Text Body. I add a
Heading 1 and I add a Heading 2, I then insert a frame and add a Heading 4 and
some text, such as a note that sits outside the main text. 
I create a Table of Contents using the default settings and the Headings are in
page order.
I now see in Navigator that the lower level 4 Heading comes before the body of
the document and before higher level Headings, although in the TOC they are in
correct order. 
The incorrect order is reflected in Bookmarks when exported as PDF, where the
level 4 headings are now shown at the same level as Heading 1 but coming before
the main body of the text

Can the Headings in frames be ordered in Navigator according to their anchor
points in the main body of the text?</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>