<div dir="ltr"><div dir="ltr">Hi Armin and Regina, <br><div dir="ltr"><br></div><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Mar 15, 2023 at 7:08 AM Regina Henschel <<a href="mailto:rb.henschel@t-online.de">rb.henschel@t-online.de</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi Armin,<br>
<br>
A further remark: We have in the meantime "Theme Colors". LO7.6 does not <br>
yet save theme colors to <draw:gradient>. But you can already have a <br>
solid fill with a theme color combined with a transparency gradient. Do <br>
you have already ideas about "Theme Colors" in gradients? Such is needed <br>
for roundtrip with OOXML.<br></blockquote><div><br></div><div>Yes, a gradient stop would need to have a theme color associated. Currently in UNO I am adding a new property that has a css::util::XThemeColor for every color property that I want to be theme-able, but the colors in OOXML are much more powerful - where a color can be RGB, HSL, a scheme color, which each can also have a list of color transformations (used to specify alpha transparency for a color among other things). If we want better fidelity with OOXML, we probably need to add a more powerful color UNO API than just a simple RGB color definition (clearly missing at least alpha). <br></div><div><br></div><div>Looking at the com::sun::star::awt::ColorStop I would prefer it to be more easily extendable - probably best to be an XInterface or something. I will quite soon have to add at least a XThemeColor element to the ColorStop, so I can add theme colors support for the gradients. Another missing thing is alpha support, which is missing but supported in OOXML and MSO office supports setting that on the UI.</div><div><br></div><div>Thoughts?<br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Kind regards,<br>
Regina<br></blockquote><div><br></div><div>Tomaž <br></div></div></div></div>