[Libreoffice] [GSOC] how to call python code from the menu

Xisco Faulí anistenis at gmail.com
Mon Aug 15 10:02:48 PDT 2011


Hello everybody,

before I merge the gsoc branch into master I'd like to integrate the python
code into libo and get rid of the java code.
I know i have to edit this file
http://opengrok.libreoffice.org/xref/core/officecfg/registry/data/org/openoffice/Office/Common.xcu
but
i can't figure out how to call the python code.  I've tried to call this
file
http://opengrok.libreoffice.org/xref/core/pyuno/demo/hello_world_comp.py using
this value: <value>service:org.openoffice.comp.pyuno.demo.HelloWorld?insert</value>
but it doesn't work. Any idea ?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20110815/371de758/attachment.htm>


More information about the LibreOffice mailing list