Bug 161819 - enable inheriting chapter numbering from parent style
Summary: enable inheriting chapter numbering from parent style
Status: RESOLVED DUPLICATE of bug 120464
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
24.2.4.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-06-27 16:45 UTC by Christian Pietzsch
Modified: 2024-08-22 06:16 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
demonstration of not inheriting chapter numbering (11.82 KB, application/vnd.oasis.opendocument.text)
2024-07-03 20:55 UTC, Christian Pietzsch
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Pietzsch 2024-06-27 16:45:39 UTC
Description:
I found some reference to this issue/idea in the forum but not in Bugzilla. 
https://ask.libreoffice.org/t/multiple-paragraph-styles-per-chapter-numbering-level/56979/4

Right now only one paragraph style per level can be defined to have the automatic chapter numbering. Sometimes there might be cases where different header styles with the same chapter level would be useful. 
For example my university requires no space when a level 2 header follows right below a level 1 header. But if you have text in between there is supposed to be a defined amount of space. The university also offers a document template but for MS Office which unfortunately breaks when trying to use in LibreOffice.

Having the ability to inherit chapter numbering from the parent style (you create a style depending on 'header 2' for example) would be a big time safer by not having to manually adjust header paragraphs depending on their context.
It would also improve compatibility towards MS Office and make migration easier.

Steps to Reproduce:
1. create a paragraph style dependent on a header paragraph style that is part of the automatic chapter numbering


Actual Results:
chapter numbering is shown under Lists & numbering tab but is not getting applied to paragraphs in the document

Expected Results:
child styles inherit chapter numbering from parent style


Reproducible: Always


User Profile Reset: No

Additional Info:
-
Comment 1 m_a_riosv 2024-06-28 02:01:43 UTC
Please attach a sample file, reduce the size as much as possible without private information, and paste the information in Menu/Help/About LibreOffice, there is a copy icon.
Comment 2 Christian Pietzsch 2024-07-03 20:55:02 UTC
Created attachment 195102 [details]
demonstration of not inheriting chapter numbering

In this file I created two level styles based on level 1 and 2 headlines. The parent styles have the automatic chapter numbering but the child styles don't
Comment 3 Christian Pietzsch 2024-07-03 20:55:50 UTC
Version: 24.2.4.2 (X86_64) / LibreOffice Community
Build ID: 420(Build:2)
CPU threads: 4; OS: Linux 6.8; UI render: default; VCL: gtk3
Locale: de-DE (de_DE.UTF-8); UI: de-DE
Ubuntu package version: 4:24.2.4~rc2-0ubuntu0.24.04.1~lo1
Calc: threaded
Comment 4 Buovjaga 2024-08-22 06:16:03 UTC

*** This bug has been marked as a duplicate of bug 120464 ***