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


Hi all,

the ODF TC is going to discuss
https://issues.oasis-open.org/browse/OFFICE-2049.
The MS Office preset shapes have subpaths, which are lighten or darken, e.g. the shape type “Borders”, which is “quad-bevel” in LibreOffice. The issue is about adding a way to store such subpath information in the file. In ODF 1.2 it is not possible.

Apache OpenOffice does not store the information, but renders the shape depending on its type name. That works only for the preset shapes of OOXML. In LibreOffice this subpath information is stored as new path commands. LibreOffice uses an own namespace “drawooo” for that. This has been added by commits by Radek Doulik at 2012-01-11.

But the implementation is faulty, see
https://bugs.documentfoundation.org/show_bug.cgi?id=105266.
On the other hand there is the request for multiple colors for the enhanced-geometry, see
https://bugs.documentfoundation.org/show_bug.cgi?id=103298

I can imagine this solution: Add a new attribute to the <draw:enhanced-geometry> element which carries a list of value pairs. Such pair has a factor from [0;1] for the degree of blending and a color value for the blending color. Such attribute would be able to carry the information needed for “lighten” and “darken”, but give the additional opportunity to implement color change in subpath.

My question, should ODF 1.3 follow the current LO way and add new path commands? Or do you like my other idea, or do you have a different idea?

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.