[Libreoffice-bugs] [Bug 138129] Add color picker to starmath

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Wed Nov 18 21:13:24 UTC 2020


https://bugs.documentfoundation.org/show_bug.cgi?id=138129

--- Comment #5 from V Stuart Foote <vstuart.foote at utsa.edu> ---
(In reply to dante19031999 from comment #4)

> TODO:
>  - Remove from mathml export Css2 and later colors.
>  - Add support for #RGB colors.

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.

>  - Add a dvipsnames palettes.
> I'll do it this weekend (excepting third point which requires more time).
> 

> Are those the changes I think you want to do?
> Is it actually possible to implement the color picker?

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.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20201118/22b98648/attachment.htm>


More information about the Libreoffice-bugs mailing list