[Libreoffice-ux-advise] [Bug 152075] Writer: TOC for chapter should start at current level+1, not current level
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Fri Nov 18 17:32:52 UTC 2022
https://bugs.documentfoundation.org/show_bug.cgi?id=152075
--- Comment #4 from ajlittoz <page74010-sf at yahoo.fr> ---
(In reply to Heiko Tietze from comment #3)
> (In reply to Roman Kuznetsov from comment #1)
> > For: Chapter Start from level [2] Evaluate up to level [10]
>
> […] I also wonder what users expect
> for the start. Is it the level 1,2,3... or the actual number like 3.1 or 4.
> Start from level 2 would still return 3 in the example.
As we can never guess what a user would like for a specific document, how would
the following (nonsensical ?) scenario be handled?
Document has structure like:
1 Heading 1
1.1 Heading 2
Some text
2 Heading 1
2.1 Heading 2
Some text
2.2 Heading 2
<<-- "chapter" TOC here with request start from 1 (instead of more common start
from 3)-->>
2.2.1 Heading 3
2.2.2 Heading 3
With a request to start from 1, it is clear that user wants to repeat 2 Heading
1 and 2.2 Heading 2 in his chapter TOC (without 1 Heading 1 and its sub-tree,
nor 3 Heading 1 with its sub-tree and subsequent. If "Start from level" is
allowed to be unconstrained, it complicates entries collection because a
distinction must be made between shallower levels (retrieve only from current
"context" just like fields would do) and deeper levels (where usual engine can
be used).
So, the "Start from level" is the first level to include in the chapter TOC,
not the designation of the level where the TOC is inserted in the document.
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Libreoffice-ux-advise
mailing list