Created attachment 163800 [details] Writer file showing an issue with List style formatting Version: 6.4.4.2 (x64) Build ID: 3d775be2011f3886db32dfd395a6a6d1ca2630ff CPU threads: 4; OS: Windows 10.0 Build 19041; UI render: default; VCL: win; Locale: en-GB (en_GB); UI-Language: en-GB Calc: threaded There seems to be a problem with the way that List styles interact with Paragraph styles. It was previously touched on in Bug 94562, but this is the latest info. Open the attached writer file. Observe the two lists—"CONTENTS 1" and "CONTENTS 2". These both have EXACTLY the same properties and yet the front indentation is different in both cases. CONTENTS 1 is created by double-clicking the List style "Numbering 123" to the paragraphs. You can see that the Numbering style indents ("Numbering style > Position > Position and Spacing") apply and the corresponding paragraph style properties are disabled. However, in CONTENTS 2, the opposite situation applies. The paragraph style indents are enabled and these are overruling the Numbering style indents. COMMENT: What is the correct behaviour? To my understanding, List style formatting should always prevail over paragraph styles. But does there also need to be a way for the user to apply an "After text" indent?
Forgot to mention that in "CONTENTS 2" the list style is applied differently—by linking it to the paragraph style via the "Outline and numbering" tab.
(In reply to R. Green from comment #0) > COMMENT: What is the correct behaviour? To my understanding, List style > formatting should always prevail over paragraph styles. But does there also > need to be a way for the user to apply an "After text" indent? My understanding: paragraph styles should always prevail over list styles So is there a hierarching (should also include character styles) => cc: Design-Team
(In reply to Dieter from comment #2) > My understanding: paragraph styles should always prevail over list styles … IMV, the evidence suggests the opposite: If PARAGRAPH style indents were meant to prevail, then why duplicate these same properties in LIST styles? The duplication is easily explained by the fact that LIST style indents are meant to overrule PARAGRAPH indents. Also, what would be the point of splitting "Position" properties between two different dialogues? But, as you say, it's one for the design team.
There is no choice about the behavior, but it is specified in ODF. Read https://oasis-tcs.github.io/odf-tc/odf1.3/content.odf13-schema.html#element-style_list-level-label-alignment (17.20, part 3) If the paragraph inside the list-item has a style, which specifies fo:text-indent and/or fo:margin-left, then the indents from the paragraph are used. Besides that, there are rules of precedence in https://oasis-tcs.github.io/odf-tc/odf1.3/content.odf13-schema.html#ListDefaultStyle (5.3.2, part3). So nothing to do for the design team.
Paragraph 17.20, part 3, solves the problem. List style indents prevail as long as NO manual changes have been made to the corresponding paragraph style indents. Any manual change to paragraph style indents, even a return to zero, overrides the corresponding List style indents. Pressing "Standard", apparently, resets the "Indents and Spacing" tab to the default settings which allows the LIST styles to take precedence. This issue can be closed, thanks.