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

--- Comment #12 from [email protected] ---
(In reply to sdc.blanco from comment #11)
> have not tried to follow the source code.
Best guess:

 SwCursorShell::GetOutlinePos

https://opengrok.libreoffice.org/xref/core/sw/source/core/crsr/crstrvl.cxx?r=db115bec#1314

Line 1329 is consistent with the (≤) rule (and relevant to bug 147004 and bug
153710)

Line 1340 may explain (from comment 11  "if the specified level is not found,
then the first heading paragraph (at the top of the document) is used -- no
matter what level"  (Demonstration in test file (attachment 185594), where
level 10 heading (at first heading) is shown in Figure caption number. 
Instructions in the frame in the test file).   It seems like this corner case
was not considered.

If these guesses are correct, then it seems like this function is being used in
the Caption Options (for Insert Caption), Heading (document) field, Heading
Info (in Entries tab). Finally, if the analysis up to here is correct (along
with a decision about whether bug 147004 is a bug), then I understand what
labels/tooltips are needed in these different dialogs/help pages.  

Hoping now for some confirmation or correction...

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

Reply via email to