Apache OpenOffice (AOO) Bugzilla – Issue 81355
API to get the system's colors
Last modified: 2013-02-24 21:08:55 UTC
It will be useful, when performing custom painting, to have an API just like java.awt.SystemColor <http://java.sun.com/javase/6/docs/api/java/awt/SystemColor.html> to get the colors the operative system (and OOo) is actually using. Maybe it won't be too much work to implement it, as OOo internally use some code that works just like java.awt.SystemColor fields, so a com.sun.star.awt.SystemColor will be easy to get from: GetSettings().GetStyleSettings().GetWindowColor() GetSettings().GetStyleSettings().GetHighlightColor() GetSettings().GetStyleSettings().GetHighlightTextColor() GetSettings().GetStyleSettings().GetFaceColor() GetSettings().GetStyleSettings().GetLightColor( GetSettings().GetStyleSettings().GetShadowColor()
first of all that is no P1 issue i agree that color management/handling in OO.org should be improved. But that is a general enhancement. If you want to use this via API, you can of course do it in your own code. Or you can create your own API to wrap this functionality. I will forward this issue to somebody from the user experience team. jsc -> cj: i know that you have some graphic background and maybe you have an opinion to this enhancement. Feel free to forward it to the right developer.
cd: Grab this feature request. It's also an internal requirement for an improved toolkit API.
cd: Accepted.
set target from 2.x to 3.x according to http://wiki.services.openoffice.org/wiki/Target_3x
*** This issue has been marked as a duplicate of issue 112684 ***