[Libreoffice-bugs] [Bug 130318] New: TOC: Allow creating table of contents starting from any level, currently limited to starting from Level 1 (Entire document) or Level 2 (Chapter).

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Fri Jan 31 11:41:39 UTC 2020


https://bugs.documentfoundation.org/show_bug.cgi?id=130318

            Bug ID: 130318
           Summary: TOC: Allow creating table of contents starting from
                    any level, currently limited to starting from Level 1
                    (Entire document) or Level 2 (Chapter).
           Product: LibreOffice
           Version: Inherited From OOo
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: medium
         Component: Writer
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: emanuele.gissi at gmail.com

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:

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20200131/ba172fb7/attachment.htm>


More information about the Libreoffice-bugs mailing list