Hi Xaver,

X Roemer schrieb:
Hi,

I already asked this question in the forum but didn't receive any answer:
https://forum.openoffice.org/en/forum/viewtopic.php?f=20&t=77257

Is is possible to change the color of the menubar and the docking area
from an extension?


This is what I tried:

I can get the menubar via the layoutManager:
menubar = layoutmgr.getElement("private:resource/menubar/menubar")
but the menubar doesn't have a realInterface, which I guess I would need
to change its style.

I searched the configuration for a value holding the color but couldn't
discover one.
C:\Users\Homer\AppData\Roaming\OpenOffice\4\user\registrymodifications.xcu
Is there maybe another file holding the configuration?

The color values are in "StyleSettings". But as far as I know, they are readonly and only reflect the settings of the operating system. You might want to look whether the "Personalization" feature of LibreOffice (Firefox Themes; "Persona") gives you more options.

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