Bug 137300 - Same-style element is subordinate to other
Summary: Same-style element is subordinate to other
Status: RESOLVED NOTABUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.0.1.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-10-07 00:28 UTC by TorrAB
Modified: 2020-10-08 13:54 UTC (History)
0 users

See Also:
Crash report or crash signature:


Attachments
file with 2 Chapitre (16.95 KB, application/vnd.oasis.opendocument.text)
2020-10-07 00:28 UTC, TorrAB
Details
file with subordinate (33.18 KB, image/png)
2020-10-07 00:31 UTC, TorrAB
Details

Note You need to log in before you can comment on or make changes to this bug.
Description TorrAB 2020-10-07 00:28:54 UTC
Created attachment 166138 [details]
file with 2 Chapitre

In resAbs.odt, ‘Résumé’ and ‘Abstract’ have the same style, Chapitre. But the Navigator, under Headings, shows ‘Abstract’ as subordinate to ‘Résumé’—resAbs.png. Why?
Comment 1 TorrAB 2020-10-07 00:31:43 UTC
Created attachment 166139 [details]
file with subordinate
Comment 2 Mike Kaganski 2020-10-07 05:13:26 UTC
This is not a bug. Chapter level (as shown in Navigator, and also in other places, like ToC and cross-reference fields) does not depend on a style, but rather on Outline Level (as configured in paragraph (style) dialog's Outline and Numbering tab [1]). Your file's paragraphs have different outline levels assigned to different paragraphs having that style.

See bug 137281 for documentation improvement request.

[1] https://help.libreoffice.org/latest/en-US/text/swriter/01/05030800.html
Comment 3 TorrAB 2020-10-08 13:54:18 UTC
(In reply to Mike Kaganski from comment #2)
> This is not a bug. Chapter level (as shown in Navigator, and also in other
> places, like ToC and cross-reference fields) does not depend on a style, but
> rather on Outline Level (as configured in paragraph (style) dialog's Outline
> and Numbering tab [1]). Your file's paragraphs have different outline levels
> assigned to different paragraphs having that style.
> 
> See bug 137281 for documentation improvement request.
> 
> [1] https://help.libreoffice.org/latest/en-US/text/swriter/01/05030800.html

OK, TY.
How does an outline level change automatically? I dont recall setting them ‘by hand’ to their respective values (5, 6). According to Chapitre definition, its OutlineLevel is TextBody.