Hi,

Laurent Godard a écrit :
----->8------


one annoying point is that we vant not put multiple python files in an extension. Putting all in one file is quite disturbing and may not work for more elaborated extensions than simple scripts

I am not sure to well understand what you want to do, but for my addon CADOO.o i created multiple standalone files. Each file contains a component that i can instanciate using createInstanceWithContext at the service manager. The class implement com.sun.star.task.XJobExecutor, so you can call the execute() method passing a sequence of NamedValue. The method returns too a sequence of NamedValue .
It works ether with OO.o 1.1 or 2.1.
You can download the addon at <http://gerard.deneux.free.fr> and see how i did.

gerard

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to