Re: [udk-dev] Re: returning multiple values (and range cells) from a Python calc add-in

2007-05-31 Thread Juergen Schmidt
Hi, ah yes, i forgot it. From my perspective it is a useless feature to call the function again and again to prepare this little preview of the result in the function wizard dialog. Anyway you can submit an request for enhancement (for the calc appl) if you like. I would like to have it

Re: [udk-dev] Re: returning multiple values (and range cells) from a Python calc add-in

2007-05-29 Thread Juergen Schmidt
Alexandro Colorado wrote: The XCU most point to your script so it can be properly packaged, there is a site that is pretty good: http://udk.openoffice.org/python/scriptingframework/index.html i mean a new xcu file for Calc add-ins. It is probably not documented yet, you can take a look on

Re: [udk-dev] Re: returning multiple values (and range cells) from a Python calc add-in

2007-05-29 Thread Juergen Schmidt
Hi Joachim, that of course sounds strange and we should analyze it in detail. I am not really familiar with the Python binding but anyway we should try to check it. Maybe you can prepare a small demo add-in and can provide it for further investigation. Juergen Joachim Dahl wrote: I have a

Re: [udk-dev] Re: returning multiple values (and range cells) from a Python calc add-in

2007-05-29 Thread Joachim Dahl
The problem seems to be that the add-in is executed every time I click on a parameter in the function-wizard, and thus the optimization routines I am wrapping are executed over and over again as I cycle through the different parameters. So it's not a bug, but something you want to keep in mind

Re: [udk-dev] Re: returning multiple values (and range cells) from a Python calc add-in

2007-05-28 Thread Joachim Dahl
I have a final question that I'd like to ask you... I developed and tested the add-in on Ubuntu Feisty that comes with OOo 2.2.0. The add-in seems to work perfectly, but the function wizard is incredibly sluggish for my add-in (and not for the regular OOo add-in)... For example, when I

Re: [udk-dev] Re: returning multiple values (and range cells) from a Python calc add-in

2007-05-27 Thread Alexandro Colorado
The XCU most point to your script so it can be properly packaged, there is a site that is pretty good: http://udk.openoffice.org/python/scriptingframework/index.html it list on 3 stages, the application level, the document level and the add-in level. On Sat, 26 May 2007 04:24:49 -0500,

Re: [udk-dev] Re: returning multiple values (and range cells) from a Python calc add-in

2007-05-26 Thread Joachim Dahl
Hi Juergen, I haven't seen anything about xcu files. I just zip up the META-INF files, the python script, and the binary version of my IDL file. Do you have a pointer handy to the newest format? thanks joachim On 5/25/07, Juergen Schmidt [EMAIL PROTECTED] wrote: Hi Joachim, glad to

Re: [udk-dev] Re: returning multiple values (and range cells) from a Python calc add-in

2007-05-25 Thread Juergen Schmidt
Hi Joachim, glad to hear that your add-in works now. Well not everything was possible but you are able to workaround the multiple returns. I would suggest that you take a look on new add-in with a configuration file to define the new add-in function 8with localization if you want). This new