Import of short values of textDirection, used by OOXML strict

Regina Henschel rb.henschel at
Fri Jul 22 17:02:14 UTC 2022

Hi Miklos,

thank you. writerfilter/documentation/ooxml/model.rng makes indeed the 
relationships clearer. I have added a link to your mail to the bug report.

Kind regards,

Miklos Vajna schrieb am 22.07.2022 um 08:27:
> Hi Regina,
> On Thu, Jul 21, 2022 at 08:47:14PM +0200, Regina Henschel <rb.henschel at> wrote:
>> I can fix bug 149556 by adding the missing values to
>> <resource name="ST_TextDirection" resource="List">
>> in core/writerfilter/source/ooxml/model.xml.
>> Is that really all to do? Or do I miss something?
> If you search for ST_TextDirection, there is also a matching <define>.
>> If that is really all, it would be an Easyhack.
>> The issue is about the fact, that a short value 'lr' instead of the long
>> value 'btLr', for example, is not interpreted.
> It's likely that you indeed just need a new entry in the relevant
> <define> and <resouce> elements, see
> writerfilter/documentation/ooxml/model.rng for details, where I tried to
> document my understanding of that complex model.xml file.
> Regards,
> Miklos

More information about the LibreOffice mailing list