<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 - Epub Ebook Export in Writer Ignores nested Multi-level Heading Entries when making its contents list."
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=133442">133442</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Epub Ebook Export in Writer Ignores nested Multi-level Heading Entries when making its contents list.
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>6.4.4.1 rc
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>x86-64 (AMD64)
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Windows (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>bga@internode.on.net
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Description:
If multiple level Headings occur in a series on one page, when exported to
Epub, only the highest level Heading is used and the rest are discarded. In my
case, I can have up to four levels of headings nested, but only the highest one
on each page series is used.

Perhaps the problem is that there is no text between the nested headings, but
they are correctly written that way.

Steps to Reproduce:
1.Create nested headings eg Level 1, Level 2, Level 3, level 4 on same page
with no text between them.
2. Create a table of contents from them to confirm they are formatted correctly
and save the odt file.
3.Export to Epub and look at its contents to see if all entries are in the
list.

Actual Results:
Only the top level heading is in the list.

Expected Results:
All of the headings should appear in the list, as in the odt table of contents.


Reproducible: Always


User Profile Reset: No



Additional Info:
This problem does not occur if there is text between the heading entries.
Nesting one after another creates the problem.

Don't know if this happens in earlier versions.

Version: 6.4.3.2 (x64)
Build ID: 747b5d0ebf89f41c860ec2a39efd7cb15b54f2d8
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: default; VCL: win; 
Locale: en-AU (en_AU); UI-Language: en-GB
Calc: CL</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>