Import of short values of textDirection, used by OOXML strict

Miklos Vajna vmiklos at collabora.com
Fri Jul 22 06:27:53 UTC 2022


Hi Regina,

On Thu, Jul 21, 2022 at 08:47:14PM +0200, Regina Henschel <rb.henschel at t-online.de> 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