OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

office message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: [OASIS Issue Tracker] Commented: (OFFICE-3847) Simplify Line Height handling


    [ http://tools.oasis-open.org/issues/browse/OFFICE-3847?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=35394#action_35394 ] 

Camilla Boemann commented on OFFICE-3847:
-----------------------------------------

This subject will be really difficult to  get to the bottom of. I don't even know where to begin. We have spent a long time in Calligra trying to behave like OO/LO, but we are not compatible.

1) It doesn't help us much to define exclusivity in RelaxNG, as the style inheritance will still cause us to have collisions.

2) Calligra resolves such collisions in a weird order: absolute line height, line spacing, percentage line height. But line-height-at-least is not exclusive, but rather it trumps when needed.

3) OO/LO behaves differently in text and presentation. Calligra has a common text engine, but we have made small adjustments to be a bit compatible with the OO/LO bug

4) I've not been able to figure out why OO/LO does the linespacing differently when loading MS documents (it saves the same cml but behaves differently)

5) although Calligra resolves collisions in a weird order we do preserve exclusivity within a single style. It's only when dealing with inheritance that we need to resolve

> Simplify Line Height handling
> -----------------------------
>
>                 Key: OFFICE-3847
>                 URL: http://tools.oasis-open.org/issues/browse/OFFICE-3847
>             Project: OASIS Open Document Format for Office Applications (OpenDocument) TC
>          Issue Type: Improvement
>    Affects Versions: ODF 1.2
>            Reporter: Svante Schubert 
>
> Currently we have four independt ODF attributes defining our line-height in ODF. 
> http://docs.oasis-open.org/office/v1.2/os/OpenDocument-v1.2-os-part1.html#property-fo_line-height
> http://docs.oasis-open.org/office/v1.2/os/OpenDocument-v1.2-os-part1.html#property-style_line-height-at-least
> http://docs.oasis-open.org/office/v1.2/os/OpenDocument-v1.2-os-part1.html#property-style_line-spacing
> http://docs.oasis-open.org/office/v1.2/os/OpenDocument-v1.2-os-part1.html#property-style_font-independent-line-spacing 
> I would like to have feed-back from other implementors on the following:
> The first @fo:line-height is dereived from the W3C formatting object specification, 
> http://www.w3.org/TR/xsl/#line-height here we should make clear the "normal" for office documents is equal 100%, not as in browser between 110 and 130% 
> The second @style:line-height-at-least is an extension of the W3C attribute to have a better OOXML interoperability.
> The third @style:line-spacing is equal to 'leading' (not from leader, but from the metal 'lead', as during ancient print there was added a line of lead between the letters), it is specifiying the space between lines.
> The last one @style:font-independent-line-spacing is only used by implementations for presentations, to have a similar layout during the change of the font.
> AFAIK all ODF implementations are using these values exclusivly. 
> I suggest to either make them exclusively in the RelaxNG, or to specify a precedence (or collision) handling. What happens if two attributes exist at the same time?

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://tools.oasis-open.org/issues/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]