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

László Németh <nem...@numbertext.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO
                 CC|                            |nem...@numbertext.org

--- Comment #3 from László Németh <nem...@numbertext.org> ---
(In reply to Justin L from comment #1)
> Bibisect-43all suggests inherited from OOo.
> 
> Assuming this gets fixed, the commit for docx in bug 118521 can be reverted
> (since it starts hard-coding paragraph properties where they didn't exist
> before).

It seems, LibreOffice UI does the same. It's possible that not just because of
performance, but it's better to handle related properties in a group for
consistent UI. For example, we want to set all margins with direct paragraph
formatting, but we cannot, if the value is the same as in the parent-style.
LibreOffice uses this grouped approach on the other properties, too, and
somewhere doesn't not (and there we need to play the following: to modify the
attribute to a different value, and reset it to the default for overwriting the
inherited value with the same, but direct formatted value for to get the
required template settings).

Also this is related to the standard, too. It seems, we need to check CSS2
first, according to the OpenDocument standard:

https://www.w3.org/TR/2001/REC-xsl-20011015/slice7.html#margin-top

CSS has got some grouping for these properties, but it is more flexible, than
OpenOffice.org style handling, and maybe it's different in this case.

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

Reply via email to