Hi Kay,

Kay Schenk schrieb:
[..]
Hi Regina --

I saw that you had already made some changes yesterday  re i118191

  https://issues.apache.org/ooo/show_bug.cgi?id=118191

Yes, that is finished technically.


I have not investigated color renderings in AOO at all in terms of values,
but my first thought is we should be consistent across modules on how this
is done. RGB vs HTML?

HTML uses RGB in form of the unique #rrggbb syntax. The problem is not RGB but the color names, which are allowed in addition.

Calc uses color names in the number format codes. These names are localized. In the file format, only the unique #rrggbb values are written. The number format codes are not standardized in ODF.

In Draw and in all other places where color palettes are used, the color names are user defined and stored in the palettes in the user profile. In file format the unique numerical #rrggbb values are used.

But .odf documents are standardized in ODF to use MathML and for MathML color names are allowed as defined in http://www.w3.org/TR/REC-html40/types.html#h-6.5. But StarMath uses values as defined in http://opengrok.adfinis-sygroup.org/source/xref/aoo-trunk/main/tools/inc/tools/color.hxx and names, which might be based on cga. This results in the current mismatch. StarMath is not part of ODF.

Therefore only a solution for module Math is needed.

Kind regards
Regina








---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org

Reply via email to