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

Stéphane Guillou (stragu) <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]
            Version|5.4.7.2 release             |Inherited From OOo
           See Also|                            |https://bugs.documentfounda
                   |                            |tion.org/show_bug.cgi?id=15
                   |                            |0804

--- Comment #12 from Stéphane Guillou (stragu) 
<[email protected]> ---
(In reply to Jim Avera from comment #3)
>           'style:vertical-pos' => 'top','style:vertical-rel' => 'baseline'
> 
> style:vertial-pos is 'top' which seems correct (the other frame as this
> property set to 'bottom', again as expected).
> 
> This makes me wonder if LibreOffice implements the style:vertical-pos
> property backwards...

Thanks for looking into this, I should have looked closer here.

Looking at the ODF specs[1]:

"The style:vertical-pos attribute specifies the vertical alignment of a frame
relative to a specific area."
[...]
"top: the top of the frame is aligned with the reference area."

and

"The style:vertical-rel attribute specifies the area against which the vertical
position of a frame is positioned."
[...]
"baseline: vertical position of frame positioned relative to a baseline."

So according to the spec, your example should have "the top of the frame
aligned with the reference baseline".

I think you are right that this is switched around in LibreOffice and not just
a language thing. But Regina, can you please have a look if we are interpreting
right? I see you already mentioned an issue with those properties in bug
150804.

Same issue in OOo 3.3.

[1]:
https://docs.oasis-open.org/office/OpenDocument/v1.3/os/part3-schema/OpenDocument-v1.3-os-part3-schema.html#__RefHeading__1420242_253892949

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

Reply via email to