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

Michael Stahl (allotropia) <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #3 from Michael Stahl (allotropia) <[email protected]> ---
this is exactly the case that was fixed with bug 114287.

hmm... it was not what the bug was filed for though, there was a bit of
confsion going on there, unfortunately the info is only in a mail, let me
translate it...

<mail>
Regina:
>
> For the attached [note: (2) is the case being discussed below]:
>
> Word MS Office 365:(1) paragraph-Indent (2)(3) List-Indent
> TextMarker, SoftMaker 2021: (1)(2)(3) mit paragraph-Indent
> OnlyOffice 7.3.0.184: (1) paragraph-Indent, (2)(3) List-Indent
> Google Docs: (1) paragraph-Indent, (2)(3) List-Indent
> LO 7.6: (1)(2) paragraph-Indent, (3) List-Indent
>
> This does not look good.

so this was a bit confusing but i found out that this (2) is a special case
that our ODF import handles wrongly - if the list style referenced by the
paragraph style and the one used by the list are different, the problem does
*not* occur.

> 19.880.22  <text:list>
> The text:style-name attribute specifies the name of a list style that is 
> applied to a list.
> If this attribute is not included and therefore no list style is specified, 
> one of the following actions is taken:
>     • If a list is contained within another list, the list style defaults to 
> the style of the surrounding list.
>     • If there is no list style specified for the surrounding list, but the 
> list's list items contain paragraphs that have paragraph styles attached 
> specifying a list style, that list style is used.     • An 
> implementation-dependent default list style is used.
> To determine which formatting properties are applied to a list, the list 
> level and list style name are taken into account. 

    ^ this takes precedence over paragraph / paragraph-style!

fix:   https://gerrit.libreoffice.org/c/core/+/147930
</mail>


... so this was a fix to do the same thing that Word and Google Docs and
OnlyOffice do, in accordance with ODF.

if i open the attachment here with Word 2013 it shows the same as the Writer
7.6 does now.

one thing i wonder though: i think this document was artificially constructed
by Regina, and we (at least i) had assumed that this would basically be
non-existing in user-created documents. do we have any idea if this is a common
thing, or is this just one document out of a million?

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to