Ariel Constenla-Haile wrote:
Hello Jan,

On Tuesday 17 March 2009, 21:15, Jan Holst Jensen wrote:
Well, I have compiled my first IDL now so I am more or less on my merry
way to implementing the extension functions in Python instead.

there is an example for you to follow:

http://udk.openoffice.org/python/python-bridge.html#calc-addin
http://udk.openoffice.org/python/samples/python-tokencounter-calc-addin.oxt

can't say if/how it works, because never tried it.
Hi Ariel.

The tokencounter example works nicely for me and I have been able to change it so I can define my own IDL and implement my own functions. Testing is not particularly easy (e.g. missing imports in the .py file cause an OOo Calc crash with a totally generic error message :-/) but the functions I implement will mainly be thin wrappers for COM stuff so they should present very few problems now that I have the main skeleton up and running.

The solutions we discussed earlier in this thread for supporting OOo Basic Calc functions has for me dropped in priority to "nice-to-have", since I am now implementing it as a Python UNO component instead.

Cheers
-- Jan

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to