<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 - FORMATTING: Assignung an index to Outline Level 1 results in a Table of Contents (TOC) showing the name of this index twice"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=128918">128918</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>FORMATTING: Assignung an index to Outline Level 1 results in a Table of Contents (TOC) showing the name of this index twice
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>6.2.8.2 release
          </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>plixplox@yahoo.de
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="http://bugs.documentfoundation.org/attachment.cgi?id=155976" name="attach_155976" title=".odt file with a TOC showing the names "Table of Figures" and "Bibliography" each once">attachment 155976</a> <a href="http://bugs.documentfoundation.org/attachment.cgi?id=155976&action=edit" title=".odt file with a TOC showing the names "Table of Figures" and "Bibliography" each once">[details]</a></span>
.odt file with a TOC showing the names "Table of Figures" and "Bibliography"
each once

Steps to reproduce:

1. Create an .odt file with one chapter heading, a Table of Figures and a
Bibliography

2. In this file, create a TOC. Edit the TOC on the "Type" tab => check
"Additional styles" => click button "Assign styles" => move "Bibliography
Heading and "Figure Index Heading" to level 1.

If you now export this file into the PDF format, then the generated PDF file
does not show the elements "Table of Contents", "Table of Figures" and
"Bibliography" in its document structure/as a "bookmark". 

3. To resolve this issue, apply the solution of bug report
<a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - PDF-EXPORT: More informations are needed about Tagged-PDF option (see comment 4)"
   href="show_bug.cgi?id=128837">https://bugs.documentfoundation.org/show_bug.cgi?id=128837</a> described in
c.omment 3 and 5.

4. Update the TOC index.

The TOC now shows twice the element "Table of Figures" and twice the element
"Bibliography".

I attached two files for means of demonstration:

a) An .odt file with a TOC showing the names "Table of Figures" and
"Bibliography" each once. This is the situation before having applied step 3
mentioned above on this file.

b) The same odt. file as in a), but with steps 3 and 4 mentioned above applied
on it. This file has a TOC that shows he names "Table of Figures" and
"Bibliography" each twice.</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>