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

Regina Henschel <[email protected]> changed:

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

--- Comment #2 from Regina Henschel <[email protected]> ---
The reason is not the paragraph style.

The text direction "User Superordinate Object Setting" becomes
draw:writing-mode="page" in file markup. However, the value "page" does not
mean, that the paragraph uses the writing-mode specified in the page style. It
means that the paragraph uses the writing direction that is defined for the
object in which the paragraph is located. In case of a comment this object is a
<office:annotation> element in file markup. An <office:annotation> element uses
styles of family "graphic". LibreOffice does not use a dedicated style and thus
the style:default-style of family "graphic" is used. And that has attribute
style:writing-mode="lr-tb".

If I manually set the writing-mode to "page" in the default graphic style, that
does not work. Only if I set it to "rl-tb", the text in the annotation gets the
correct direction.

So I see these problems here:
(A) A writing-mode "page" in the default graphic style is not resolved to the
writing-mode in the page-layout.
(B) A draw:style-name attribute of the <office:annotation> element is ignored.
That might be by purpose, because the background color of an annotation depends
on whether the author of the annotation is the same user as the current user.
(C) If the writing-mode in the page style is set to "rl-tb", the default
graphic style has nevertheless writing mode "lr-tb". This mismatch effects not
only annotations but ordinary shapes like rectangles too. Also in ordinary
shapes the initial writing-mode is "lr-tb" although the page style has set
"rl-tb".

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

Reply via email to