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

[email protected] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |NEW
         Resolution|FIXED                       |---

--- Comment #9 from [email protected] ---
New problem discovered in relation to "Up to level"

The two formats ("heading number"; "heading number without separator") use the
immediately prior heading, where the "up to level" option controls how many
levels of the heading number are displayed. 

(at present the tooltip/extended tip and help is written in this way)

The new discovery is in relation to the other two formats for the "Heading"
field type ("heading contents"; and "heading number and contents"). 

Based on extensive experiments, my hypothesis for its rule:

Display the heading contents for the first prior heading whose outline level is
less than or equal (≤) than the number specified in "up to level".

For example, if inserted field has an "up to level" of "5", then the first
immediately prior paragraph with level 5 or less is shown (i.e., any
immediately prior headings with outline level 6 or greater are ignored). This
behavior contrasts with the "number" formats, which would select the first
heading (regardless of outline level).

(attachment 185589 gives a demonstration, which can be used for testing) 

Furthermore, with "heading number and contents", unlike the "number" formats,
there is no control over how many outline levels of the heading number shown.

Before trying to make further adjustments in help/tips, let me check what is
the "intended" behavior here?  

An immediate hypothesis is that the "content" cases are a bug (and a new ticket
should be filed), it is hard (for me) to imagine a use case that would need
this "feature?"

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to