<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - EPUB Export: Headings Levels other than Heading 1 are omitted in Outline"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=114164#c8">Comment # 8</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - EPUB Export: Headings Levels other than Heading 1 are omitted in Outline"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=114164">bug 114164</a>
              from <span class="vcard"><a class="email" href="mailto:lbartolome@gmail.com" title="lbartolome <lbartolome@gmail.com>"> <span class="fn">lbartolome</span></a>
</span></b>
        <pre>(In reply to Miklos Vajna from <a href="show_bug.cgi?id=114164#c2">comment #2</a>)
<span class="quote">> Can you provide a sample EPUB that has this feature? Our current
> table-of-contents lists the XHTML files inside the EPUB, and we split the
> XHTML files on heading 1 paragraphs.

> So listing heading2, etc. in the table-of-contents would either require some
> kind of link not only to the XHTML file, but also a bookmark inside that
> file, or would mean more split (even on heading 2, etc), which is also
> unwanted.

> So the first step here would be to find out what EPUB markup is desired to
> have this.</span >

Miklos, this might be a useful way to handle it, they included an id for the
desired headers instead of adding bookmarks. With the extension you can also
select if you want page breaks at header levels different than 1 or not.
<!-- This file was converted to xhtml by Writer2xhtml ver. 1.6.1. See
<a href="http://writer2latex.sourceforge.net">http://writer2latex.sourceforge.net</a> for more info. --><head>
    <title></title>
    <link href="../Styles/styles1.css" rel="stylesheet" type="text/css"/>
  </head>
  <body dir="ltr">
    <h1 id="toc0">Ñsjdna</h1>
    <p class="Textbody">&#160;</p>
    <p class="Textbody">&#160;</p>
    <h2 id="toc1">i&lt;ksjdas</h2>
    <p class="Textbody">&#160;</p>
    <h3 id="toc2">i&lt;sjdasd</h3>
    <p class="Textbody">&#160;</p></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>