<html>
    <head>
      <base href="https://bugs.documentfoundation.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - HTML export: replace tabulator characters with double spaces or ellipses (three dot leader) in Table of Contents"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=89290#c12">Comment # 12</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - HTML export: replace tabulator characters with double spaces or ellipses (three dot leader) in Table of Contents"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=89290">bug 89290</a>
              from <span class="vcard"><a class="email" href="mailto:marsianer@gmail.com" title="Martin Nathansen <marsianer@gmail.com>"> <span class="fn">Martin Nathansen</span></a>
</span></b>
        <pre>Meanwhile I found the reason why the page numbers in the table of content  are
not exported when the document was originally created by LO Writer and why it
is exported from OO Writer documents.

The difference between both Writer documents are the links in the LO Writer
Table of Content. The OO Table of Content has no such links:

LO Writer Table of Content::

<text:p text:style-name="P4"><text:a xlink:type="simple"
xlink:href="#__RefHeading___Toc164_1531117683" text:style-name="Index_20_Link"
text:visited-style-name="Index_20_Link">Heading1<text:tab/>1</text:a></text:p>


OO Writer Table of Content:

<text:p text:style-name="P3">Heading1<text:tab/>1</text:p>


Because of this difference there are different XSL templates for the XHTML
transformation chosen. The selector between both templates is in 
Modul_filter/source/xslt/odf2xhtml/export/common/table_of_content.xsl - Line 
40:
<xsl:when test="parent::table-of-content and */text:tab[1] or */*/text:tab[1]">

For the LO Writer Table of Content the template "createIndexBodyTable" is
applied and this template seems to be unfinished. When disabling the selector
for this template the LO Table of Content is transformed in the same way like
the OO Table of Content.

So there are two options to continue with the EasyHack:

1) Fixing the bug in the XSL template "createIndexBodyTable" and improving the
HTML table created by this template.

2) Implementing a new XSL template which exports HTML paragraphs (instead of a
HTML table) and realizing the formatting similar to the HTML4 formatting in
SwHTMLWriter.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>