<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 - Libreoffice 7.1.0.3 cannot handle "<w:fldSimple w:instr="TOC \o "1-3" \h" w:dirty="true"/>" to create Table of Contents automatically anymore"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=140461">140461</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Libreoffice 7.1.0.3 cannot handle "<w:fldSimple w:instr="TOC \o "1-3" \h" w:dirty="true"/>" to create Table of Contents automatically anymore
</td>
</tr>
<tr>
<th>Product</th>
<td>LibreOffice
</td>
</tr>
<tr>
<th>Version</th>
<td>7.1.0.3 release
</td>
</tr>
<tr>
<th>Hardware</th>
<td>All
</td>
</tr>
<tr>
<th>OS</th>
<td>Mac OS X (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>LibreOffice
</td>
</tr>
<tr>
<th>Assignee</th>
<td>libreoffice-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>heiko.baechmann@gmx.de
</td>
</tr></table>
<p>
<div>
<pre>Description:
We create an .docx document with apache poi and convert it to PDF with
jodconverter (wich requires LibreOffice). The TOC (table of contents) was
updated in previous versions by adding "<w:fldSimple w:instr="TOC \o "1-3" \h"
w:dirty="true"/>" when you opened the generated .docx file. MS-Word and
Google-Docs are still able to recognize it, but LibreOffice does not detect the
instruction to create the TOC automatically. Also the "Update Index/Indices"
does not appear on right-click.
When I add a TOC by hand in the opened .docx in LibreOffice, everything works
fine.
It was tested with MacOS-bigSur(11.2) and MS-Windows-10.
Unfortunately i cannot attach the example files here.
Actual Results:
The "<w:fldSimple w:instr="TOC \o "1-3" \h" w:dirty="true"/>" is not recognized
by LibreOffice and sometimes leads to lacking UI.
Expected Results:
The TOC is automatically created and recognized in LibreOffice. The "Update
Index/Indices" can be executed on right-click or triggered programmatically.
Reproducible: Always
User Profile Reset: No
Additional Info:
Works with MS-Word and Google-Docs, just "Update Indexes" is required. The TOC
instruction is recognized and applied.</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>