<html>
<head>
<base href="https://bugs.documentfoundation.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - Add color picker to starmath"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=138129#c5">Comment # 5</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - Add color picker to starmath"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=138129">bug 138129</a>
from <span class="vcard"><a class="email" href="mailto:vstuart.foote@utsa.edu" title="V Stuart Foote <vstuart.foote@utsa.edu>"> <span class="fn">V Stuart Foote</span></a>
</span></b>
<pre>(In reply to dante19031999 from <a href="show_bug.cgi?id=138129#c4">comment #4</a>)
<span class="quote">> TODO:
> - Remove from mathml export Css2 and later colors.
> - Add support for #RGB colors.</span >
These of course are still RGB colors, but they are a short hand representing a
double Hex value 0-F. That is, #123 would be shorthand for #112233, or #0F0
would be #00FF00, etc.
<span class="quote">> - Add a dvipsnames palettes.
> I'll do it this weekend (excepting third point which requires more time).
> </span >
<span class="quote">> Are those the changes I think you want to do?
> Is it actually possible to implement the color picker?</span >
I expect it is possible, it would need to be integrated into the Elements dock.
The SVX Picker GUI could be embedded onto the Element pane (might be a lot of
work), or simpler just popup when either the hex or the rgb attribute button is
picked. The SVX color picker would allow selection of color from any .SOC
palette, or its Custom Color dialog.
Either case, would use the HEX color string from the picker as the #RRGGBB hex
or the doubled #RGB being inserted/modified in the Formula Editor panel as
rendered in the Preview Window. Would not be capable of directly applying a
color to a rendered node--just applied via the 'color' [hex|rgb] command.
The HTML 4.0 "named colors" would remain in their block on the Attributes panel
of the Elements Dock, could reposition the "hex" and "rgb" to another panel, or
just add a separator.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>