Date: prev next · Thread: first prev next last
2019 Archives by date, by thread · List index


Hi all,

I'm working on import and export of Dash-Dot LineStyles. I have not yet checked whether it does not break a unit test. But from visual appearance and file format these works already:

Roundtrip in pptx and ppt format with MS Office preset dash definitions.

Roundtrip in pptx format with custom LineStyle definitions as far as possible. There are some principle incompatible things: OOXML dash length is always relative to line width, but ODF allows absolute dash length. OOXML allows a arbitrary number of dash kinds in one definition, but ODF allows only one or two. OOXML allows different space length in one definition, but ODF has only a single space length.

Now my problem:
The current set of LineStyles in standard.sod is a mix of styles with absolute dash length and relative dash length. None of the definitions corresponds to a MS Office preset definition. Roundtrip with MS binary format does not work at all.

So what to do?
Map the styles from standard.sod to a roughly fitting MS Office preset definition on export to ppt?

Get rid of the current set in standard.sod and provide instead only the MS preset dash definitions in standard.sod?

Is it even possible to use custom dash definitions in binary format? If so, how do you do it and is it worth to implement?

Kind regards
Regina



Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.