Re: Precedence between fo:line-height and style:line-height-at-least

2018-09-03 Thread Michael Stahl


hi Regina,


On 01.09.2018 19:01, Regina Henschel wrote:

Hi all,

the ODF specification has only for value "normal" a rule for the 
precedence between the attributes fo:line-height [3] and 
style:line-height-at-least [1] and style:line-spacing [2]. So I want 
to extend the description. Unfortunately LibreOffice behaves so, that 
the attribute order determines the final style (examine attached 
file). But in XML the order of attributes is irrelevant. So what 
behavior would you like to be specified?
i agree that having results depending on attribute order is in need of 
improvement, but i'm not sure what exactly the result should be in that 
case.


maybe the "fo:line-height" should win, because it's an "exact" value, 
while "style:line-height-at-least" specifies only a lower bound?


The attributes "style:line-height-at-least" and "style:line-spacing" 
are not supported for ODF by MS Office. I don't know, whether 
something similar exists in OOXML.


okay then preferring "fo:line-height" would interop better with MS 
Office too...




--
Michael Stahl
Senior Software-Entwickler LibreOffice
–––
CIB software GmbH
Geschäftsstelle Hamburg
Flachsland 10
22083 Hamburg
–––
T +49 (40) / 28 48 42 -296
F +49 (40) / 28 48 42 -100
michael.st...@cib.de
www.cib.de
–––
Sitz: München
Registergericht München, HRB 123286
Geschäftsführer: Dipl.-Ing. Ulrich Brandner

___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Precedence between fo:line-height and style:line-height-at-least

2018-09-01 Thread Regina Henschel

Hi all,

the ODF specification has only for value "normal" a rule for the 
precedence between the attributes fo:line-height [3] and 
style:line-height-at-least [1] and style:line-spacing [2]. So I want to 
extend the description. Unfortunately LibreOffice behaves so, that the 
attribute order determines the final style (examine attached file). But 
in XML the order of attributes is irrelevant. So what behavior would you 
like to be specified?


The attributes "style:line-height-at-least" and "style:line-spacing" are 
not supported for ODF by MS Office. I don't know, whether something 
similar exists in OOXML.


[1] 
http://docs.oasis-open.org/office/v1.2/os/OpenDocument-v1.2-os-part1.html#property-style_line-height-at-least
[2] 
http://docs.oasis-open.org/office/v1.2/os/OpenDocument-v1.2-os-part1.html#property-style_line-spacing
[3] 
http://docs.oasis-open.org/office/v1.2/os/OpenDocument-v1.2-os-part1.html#property-fo_line-height 



Kind regards
Regina


FoFixStyleAtLeast_combined_inonestyle.odt
Description: application/vnd.oasis.opendocument.text
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice