<div dir="ltr">Hi Regina,<div><br></div><div>Sorry that being late to reply about this topic. I've spend some time in oox last year. I try to make built-in shapes export to ooxml as much as possible. It might be a little wired, but my major concern about blending to another color value is how reset of the filters can emulate the effect. Currently users can group different shapes with different transparency.  That might be an alternative although there are still differences.</div><div><br></div><div>Best Regards.</div></div><div class="gmail_extra"><br><div class="gmail_quote">2017-01-14 23:34 GMT+08:00 Regina Henschel <span dir="ltr"><<a href="mailto:rb.henschel@t-online.de" target="_blank">rb.henschel@t-online.de</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi all,<br>
<br>
the ODF TC is going to discuss<br>
<a href="https://issues.oasis-open.org/browse/OFFICE-2049" rel="noreferrer" target="_blank">https://issues.oasis-open.org/<wbr>browse/OFFICE-2049</a>.<br>
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.<br>
<br>
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.<br>
<br>
But the implementation is faulty, see<br>
<a href="https://bugs.documentfoundation.org/show_bug.cgi?id=105266" rel="noreferrer" target="_blank">https://bugs.documentfoundatio<wbr>n.org/show_bug.cgi?id=105266</a>.<br>
On the other hand there is the request for multiple colors for the enhanced-geometry, see<br>
<a href="https://bugs.documentfoundation.org/show_bug.cgi?id=103298" rel="noreferrer" target="_blank">https://bugs.documentfoundatio<wbr>n.org/show_bug.cgi?id=103298</a><br>
<br>
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.<br>
<br>
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?<br>
<br>
Kind regards<br>
Regina<br>
______________________________<wbr>_________________<br>
LibreOffice mailing list<br>
<a href="mailto:LibreOffice@lists.freedesktop.org" target="_blank">LibreOffice@lists.freedesktop.<wbr>org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/libreoffice" rel="noreferrer" target="_blank">https://lists.freedesktop.org/<wbr>mailman/listinfo/libreoffice</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>Mark Hung<br></div></div></div>
</div>