Re: Change color of menubar and docking area
Hi Regina, I'm able to change allmost all colors via Style Settings, except the ones from the menubar and the docking area below. When I compare my system colors to the colors of OO, they are slightly different, so I guess, they have to be set somewhere. (But I couldn't find the source, neither in the installation folder on my disk, nor in AOO's source code.) I also wrote some code to change Personas and wrote a mail to the LO Mailing List already. But it would be nice to find some code, which works on LO and on OO. Regards, Xaver Am 26.05.2015 um 11:11 schrieb Regina Henschel: 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=20t=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 - To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org For additional commands, e-mail: dev-h...@openoffice.apache.org
Change color of menubar and docking area
Hi, I already asked this question in the forum but didn't receive any answer: https://forum.openoffice.org/en/forum/viewtopic.php?f=20t=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? Thanks for any help in advance, Xaver - To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org For additional commands, e-mail: dev-h...@openoffice.apache.org
RuntimeException on installing Extension
Hi, someone tried to install my extension, got a RuntimeException and gave me a feedback. But I'm not sure how to interpret this message right and where to search for the error. Why can't the pythonloader find the path to the extension. How's that possible? This is his message: (com.sun.star.uno.RuntimeException) { { Message = : [Errno 2] No such file or directory: 'C:\\Users\\user\\AppData\\Roaming\\LibreOfficeDev\\4\\user\\uno_packages\\cache\\uno_packages\\luc5wkp.tmp_\\Organon-0.9.1b.oxt\\py\\factory.py', traceback follows\X000a C:\Program Files (x86)\LibreOfficeDev 4\program\pythonloader.py:94 in function getModuleFromUrl() [fileHandle = open( filename, encoding='utf_8' )]\X000a C:\Program Files (x86)\LibreOfficeDev 4\program\pythonloader.py:149 in function writeRegistryInfo() [mod = self.getModuleFromUrl( locationUrl )]\X000a\X000a, Context = (com.sun.star.uno.XInterface) @0 https://github.com/0 } } You'll find my extension here: http://extensions.openoffice.org/en/project/organon And his message and my code on github: https://github.com/XRoemer/Organon/issues/23 Best, Xaver
Re: RuntimeException on installing Extension
Sorry, I posted to the wrong list. Am 03.11.2014 um 16:21 schrieb X Roemer: Hi, someone tried to install my extension, got a RuntimeException and gave me a feedback. But I'm not sure how to interpret this message right and where to search for the error. Why can't the pythonloader find the path to the extension. How's that possible? This is his message: (com.sun.star.uno.RuntimeException) { { Message = : [Errno 2] No such file or directory: 'C:\\Users\\user\\AppData\\Roaming\\LibreOfficeDev\\4\\user\\uno_packages\\cache\\uno_packages\\luc5wkp.tmp_\\Organon-0.9.1b.oxt\\py\\factory.py', traceback follows\X000a C:\Program Files (x86)\LibreOfficeDev 4\program\pythonloader.py:94 in function getModuleFromUrl() [fileHandle = open( filename, encoding='utf_8' )]\X000a C:\Program Files (x86)\LibreOfficeDev 4\program\pythonloader.py:149 in function writeRegistryInfo() [mod = self.getModuleFromUrl( locationUrl )]\X000a\X000a, Context = (com.sun.star.uno.XInterface) @0 https://github.com/0 } } You'll find my extension here: http://extensions.openoffice.org/en/project/organon And his message and my code on github: https://github.com/XRoemer/Organon/issues/23 Best, Xaver - To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org For additional commands, e-mail: dev-h...@openoffice.apache.org
Re: RuntimeException on installing Extension
Yes, but it's the pythonloader, which gives the error message, not my extension. the problem is solved now, but I still don't understand this message. Am 03.11.2014 um 18:55 schrieb Howard Morrir (aka Col Boogie): I am not sure. but do not need an escape character for a forward slash. escape character is a backward slash anyway. Hope this helps, Howard Hi, someone tried to install my extension, got a RuntimeException and gave me a feedback. But I'm not sure how to interpret this message right and where to search for the error. Why can't the pythonloader find the path to the extension. How's that possible? This is his message: (com.sun.star.uno.RuntimeException) { { Message = : [Errno 2] No such file or directory: 'C:\\Users\\user\\AppData\\Roaming\\LibreOfficeDev\\4\\user\\uno_packages\\cache\\uno_packages\\luc5wkp.tmp_\\Organon-0.9.1b.oxt\\py\\factory.py', traceback follows\X000a C:\Program Files (x86)\LibreOfficeDev 4\program\pythonloader.py:94 in function getModuleFromUrl() [fileHandle = open( filename, encoding='utf_8' )]\X000a C:\Program Files (x86)\LibreOfficeDev 4\program\pythonloader.py:149 in function writeRegistryInfo() [mod = self.getModuleFromUrl( locationUrl )]\X000a\X000a, Context = (com.sun.star.uno.XInterface) @0 https://github.com/0 } } You'll find my extension here: http://extensions.openoffice.org/en/project/organon And his message and my code on github: https://github.com/XRoemer/Organon/issues/23 Best, Xaver - To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org For additional commands, e-mail: dev-h...@openoffice.apache.org