Bug 129669 - Allow editing of outline level in paragraph style, when Chapter Numbering numbering style is used
Summary: Allow editing of outline level in paragraph style, when Chapter Numbering num...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
6.3.3.2 release
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
: 137120 (view as bug list)
Depends on:
Blocks: Heading-Numbering Styles-Dialog
  Show dependency treegraph
 
Reported: 2019-12-28 16:39 UTC by sdc.blanco
Modified: 2021-09-25 07:50 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description sdc.blanco 2019-12-28 16:39:39 UTC
Outline level is separate from Numbering Style for a paragraph, but when Chapter Numbering Style is selected, then Outline level is also greyed out.

Enhancement:  should be possible to set Outline Level in Paragraph Style.

I predict this will not be possible because of the way that the Chapter Numbering dialog is designed (the list level number is "forced" onto the Outline level), but this point should be relevant to planned redesign of the styles UI.
Comment 1 Dieter 2019-12-28 19:30:44 UTC
(In reply to sdc.blanco from comment #0)
> Enhancement:  should be possible to set Outline Level in Paragraph Style.

I confirm that it is (for example) not possible to set outline level for style "Heading 1" in paragraph style dialog, if "Heading 1" is set as paragraph style in chapter numbering diaog.

Tooltip in paragraph style dialog gives explanation. For me a good solution and I won't change it, because this might produce some troubles: If I change Heading 1 to level 2, would this also change style of chapter numbering in level 2? And what style is now style of chapter numbering level 1?

cc: Design-Team for decision

If we would change tooltip to " ... is asigned to this paragraph style" instead of " ... is assigned to a paragraph style" it would be more clear.
Comment 2 Heiko Tietze 2020-01-10 08:54:14 UTC
I'm afraid of unexpected side-effects like Dieter. But since there was agreement in bug 129668 it's likely the same here.
Comment 3 sdc.blanco 2020-01-11 13:11:43 UTC
(In reply to Heiko Tietze from comment #2)
> I'm afraid of unexpected side-effects like Dieter. But since there was
> agreement in bug 129668 it's likely the same here.
Bug #129688 is a cosmetic UI improvement.  Not related at all to this report.

To elaborate a little.

Chapter Numbering (was apparently) a solution to provide a simple interface that could handle most everyday use (without requiring the user to know about styles, outline levels, etc.).

"Levels" in the Chapter Numbering Dialog refer to Numbering Style.
It is not the same "Level" as the Outline Level.  

At present, it is not possible to "choose"  Chapter Numbering Style. It appears only if Heading [1-10] are chosen.  If it were possible to also set Outline Level (for Heading 1-10, then one could, for example, use Heading 6-10 for assigning (arbitrarily) any numbering level.  This could potentially also provide a "workaround" for bug #42920 and bug #62032 -- which in part motivated this OP.)

At present, is is not possible to assign a numbering level greater than 1 to a paragraph style.  The Chapter Numbering dialog is the only place where this linking between outline level and numbering level is possible.  In effect, this OP is using an existing dialog box to introduce this possibility in a limited way (only Heading 1-10 can be used).

In an ideal future -- wouldn't there would be a dialog box where both outline level and numbering level could be added to a paragraph style?  (where then it might be relevant to "revert" this OP -- which is largely a workaround).

(maybe this "outline level" editing possibility could be restricted to "heading 6-10" -- to reduce surprises for unsuspecting users, while offering more flexibility for knowledgeable ones.)
Comment 4 sdc.blanco 2020-01-11 13:15:58 UTC
(In reply to sdc.blanco from comment #3)
> (In reply to Heiko Tietze from comment #2)
> since there was agreement in bug 129668 it's likely the same here.
> Bug #129688 is a cosmetic UI improvement.  Not related at all to this report.
whoops--copied wrong. Bug #129668 was intended.
Comment 5 Heiko Tietze 2020-10-12 13:53:38 UTC
*** Bug 137120 has been marked as a duplicate of this bug. ***
Comment 6 Heiko Tietze 2020-10-12 14:08:52 UTC
bug 137120 comment 3:

Could imagine to insert Chapter Numbering in the respective field, disabled so users cannot change the type to Numbering "Foo", but the Edit button opens to the (chapter) numbering properties dialog.
Comment 7 Justin L 2021-05-01 09:06:50 UTC
> Could imagine to insert Chapter Numbering in the respective field, disabled
> so users cannot change the type to Numbering "Foo", but the Edit button
> opens to the (chapter) numbering properties dialog.

+1
Comment 8 Justin L 2021-09-25 07:50:07 UTC
untying "OutlineLevel" from "ListLevel" will have lots of ripple effects. (export to MS Formats for example expects them to be the same in order to "round-trip" this LO-ism.