Problem with reading 'writing-mode' ODF attribute in Impress

Miklos Vajna vmiklos at
Fri Aug 26 06:36:08 UTC 2022

Hi Regina,

On Thu, Aug 25, 2022 at 11:31:24AM +0200, Regina Henschel wrote:
> Has someone an idea, why the import for 'loext' does not work? Or can
> someone point me to the place, where this part of import happens? Or can
> someone explain to me the steps involved in importing a style? Any help is
> appreciated.

I think writing mode was originally in the style namespace, and I only
added a new enumeration value (btlr) that required writing it in the
loext namespace. Given that other writing directions are quite common, I
made sure that only btlr gets written to loext, other enumeration values
continue to use style:

The import side is easier, simply the property map has 2 entries and we
read all enum values from both namespaces.

Now my understanding is that editeng (i.e. shape text) only supports
lrtb ("horizontal") and tbrl ("vertical") writing modes (so it's
essentially a single "vertical" boolean), so which means for you that
"rotate to the right" would work for you, but "rotate to the left" only
works in Writer table cells and text frames, not in shape text's writing



More information about the LibreOffice mailing list