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

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Fri Nov 20 17:50:20 UTC 2020


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

--- Comment #7 from dante19031999 at gmail.com ---
(In reply to V Stuart Foote from comment #6)
> (In reply to V Stuart Foote from comment #5)
> 
> > >  - 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.
> > 
> 
> And, seems the current 7.0 "rgb" implementation is not the doubled HEX, but
> is instead the decimal representation of the Hex value 0-255--I was
> wondering about that. Seems more useful than the doubled shorthand of the
> MathML standard.
> 
> For "rgb" is color rgb 255 0 0
> Green is color rgb 0 255 0
> Blue is color 0 0 255

Here added #RGB (from mathml): https://gerrit.libreoffice.org/c/core/+/106286/3
With some basements over here: https://gerrit.libreoffice.org/c/core/+/106224/3
Corrected mathmlexport with w3 standards:
https://gerrit.libreoffice.org/c/core/+/106286/3

For 7.0 is is as you say.
For 7.1 you will have (already implemented):
Named: color colorname ; Blue is color blue
Decimal: color rgb r g b ; Blue is color 0 0 255
Hexadecimal: color hex colornum  ; Blue is color hex FF or color hex 0000FF
Hexadecimal: color # colornum  ; Blue is color # FF or color # 0000FF
Can also be written color#0000FF like a single keyword.
Can load from mathml: colorname; #RRGGBB; #RGB;
Can write on mathml: colorname; #RRGGBB;
It's because of this changes I thought the color picker could be interesting.

-- 
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/20201120/aa34e312/attachment.htm>


More information about the Libreoffice-bugs mailing list