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

--- Comment #6 from [email protected] ---
I believe the general "rule" when using format "Chapter name" or "Chapter
number and name" is:

     Show contents of the first immediately preceding paragraph that 
     has an outline level less than or equal to (≤) the number entered 
     in the "Level" spinbox.  (bug 147004, comment 11)

It appears that this rule is also what Stefan has discovered in his results 1.)
and 2.)

Meanwhile attachment 118401 seems to demonstrate a special corner case, where
the rule seems to be:

      When a Chapter (document) field, with format "Chapter name" is inserted
      on the first page, then show the contents of the first 
      heading (with any outline level), regardless of what "level" is set 
      for the field.

This actual result happens if the field is in the Header (Stefan's case) or
simply inserted at the beginning of a document.

That seems like a bug -- and maybe this ticket could be used for that
particular case (if others can confirm).

Tested with:

7.2.7.2

and 

Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: c41e872ed248f804249ecf4d65c4afc2e426e329
CPU threads: 8; OS: Windows 10.0 Build 19044; UI render: Skia/Raster; VCL: win

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

Reply via email to