HI

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.

it is not the same case
i create a class in a py file
but can't import it oin an other
the python loader complained on registering the extension

i'll try to find some time to make an exemple
(but not before this week end)

Laurent

--
Laurent Godard <[EMAIL PROTECTED]> - Ingénierie OpenOffice.org - http://www.indesko.com Nuxeo Enterprise Content Management >> http://www.nuxeo.com - http://www.nuxeo.org
Livre "Programmation OpenOffice.org", Eyrolles 2004-2006

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

Reply via email to