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

Regina Henschel <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                URL|                            |http://docs.oasis-open.org/
                   |                            |office/v1.2/os/OpenDocument
                   |                            |-v1.2-os-part1.html

--- Comment #7 from Regina Henschel <[email protected]> ---
(In reply to Thomas Lendo from comment #6)
> 
> For all attributes that exist in paragraphs and lists, the list attributes
> should add their values to the attributes of the paragraph and not overwrite
> them.
> 
> With that you could use a list style on different paragraph styles.
> 
> @Regina:
> Is it possible to change the behavior of lists (and list styles) so that
> they don't overwrite indents and other attributes of the parent paragraph
> and only add their own indent/alignment/margin/attribute?

I think, that a change is not possible and not needed.

The conflict between list and paragraph is only in the attributes
fo:margin-left and fo:text-indent. Any other influence of list numbering on
paragraph is an error.

The spec explains it in section 17.20. <style:list-level-label-alignment>,
19.237 fo:margin-left and 19.246 fo:text-indent. The problem might be, whether
inherited values of fo:margin-left and fo:text-indent for the paragraph also
fulfill "paragraph style specifies fo:margin-left and fo:text-indent".
LibreOffice denies this.
Therefore the rule "paragraph overrides list" is only applied, if the list
style is directly referenced by the paragraph style. In UI you get this, if you
select the list style in the Outline&Numbering tab of the paragraph style. The
automatic numbering produces a similar structure. As long as you change the
indent of all paragraphs in the list at the same time, this structure is
retained.

The fact, that inserting into a list item changes its automatic paragraph
style, is a special problem with the attached document. Inserting sets a new
automatic paragraph style without own fo:margin-left and fo:text-indent here. I
have no idea, what is wrong with the attached document. I cannot produce it
from scratch and if I use "Save a copy" with the attached document, and then
test the behavior on the copy, I do no longer see the error. I have made the
tests with LO 6.1. The document is from LO 3.4. Perhaps some compatibility
setting?

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to