<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 - TOC: Allow creating table of contents starting from any level, currently limited to starting from Level 1 (Entire document) or Level 2 (Chapter)."
href="https://bugs.documentfoundation.org/show_bug.cgi?id=130318">130318</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>TOC: Allow creating table of contents starting from any level, currently limited to starting from Level 1 (Entire document) or Level 2 (Chapter).
</td>
</tr>
<tr>
<th>Product</th>
<td>LibreOffice
</td>
</tr>
<tr>
<th>Version</th>
<td>Inherited From OOo
</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>enhancement
</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>emanuele.gissi@gmail.com
</td>
</tr></table>
<p>
<div>
<pre>Description:
Currently the Edit Index > Type > Create ToC for... menu is limited to "Entire
document" or "Chapter". So it is not possible to create a ToC starting from any
other level (eg. sub chapter, ...).
I suggest allowing table of contents starting from any level (1 to 10). The
Edit Index > Type > Create ToC for... menu should be extended to "Level 1
(Entire document), Level 2 (Chapter), Level 3, Level 4, Level 5, ..."
I attach an example file where the problem is explained and showed. IMHO, this
should not be to hard to add, as the code is already there for the first two
levels.
Steps to Reproduce:
Currently the Edit Index > Type > Create ToC for... menu is limited to "Entire
document" or "Chapter".
Actual Results:
It is not possible to create a table of contents for levels lower than 2
(chapter, Heading 2).
Expected Results:
I suggest allowing table of contents starting from any level (1 to 10). The
Edit Index > Type > Create ToC for... menu should be extended to "Level 1
(Entire document), Level 2 (Chapter), Level 3, Level 4, Level 5, ..."
Reproducible: Always
User Profile Reset: No
Additional Info:</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>