Re: [api-dev] Query on Converting slides to images.

2008-12-18 Thread Cor Nouws
Hi Venkat, vengu wrote (18-12-2008 20:03) [...] Also, I would like to know where to get started with the openoffice API. Pls see - http://api.openoffice.org/ - http://wiki.services.openoffice.org/wiki/API - http://wiki.services.openoffice.org/wiki/Extensions - http://wiki.services.openoffice.o

Re: [api-dev] How set a Default Value to a FormControl ListBox

2008-12-18 Thread Jason Stephenson
Ariel Constenla-Haile wrote: they do different things. The one I explained does just what Fernand asked (supposing he was really asking how to set the *default* value). A default value is a value you can default, in this case using ::com::sun::star::form::XReset::reset(). Yes, and perhaps I

Re: [api-dev] Query on Converting slides to images.

2008-12-18 Thread Alexandro Colorado
On Thu, 18 Dec 2008 13:03:00 -0600, vengu wrote: Folks, I am looking for a way to convert powerpoint slides into jpeg's or so. I have searched the forums and found this. http://www.oooforum.org/forum/viewtopic.phtml?t=8715 But, the suggestion is to use a macro .I just wanted to know if its

[api-dev] Query on Converting slides to images.

2008-12-18 Thread vengu
Folks, I am looking for a way to convert powerpoint slides into jpeg's or so. I have searched the forums and found this. http://www.oooforum.org/forum/viewtopic.phtml?t=8715 But, the suggestion is to use a macro .I just wanted to know if its possible to do it without macros? Please point me to

Re: [api-dev] XCell methods getValue and getError

2008-12-18 Thread Daniel Rentz
Oliver Brinzing schrieb: Hi Daniel, Forgive me for believing the API documentation and not checking the implementation. :-) You are right, and Calc is wrong. Sigh. just found: http://www.oooforum.org/forum/viewtopic.phtml?t=6838 will you open an issue ? We should consider changing the docu

Re: [api-dev] XCell methods getValue and getError

2008-12-18 Thread Oliver Brinzing
Hi Daniel, > Forgive me for believing the API documentation and not checking the > implementation. :-) You are right, and Calc is wrong. Sigh. just found: http://www.oooforum.org/forum/viewtopic.phtml?t=6838 will you open an issue ? regards Oliver -- GnuPG key 0xCFD04A45: 8822 057F 4956 46D3

Re: [api-dev] XCell methods getValue and getError

2008-12-18 Thread Daniel Rentz
Oliver Brinzing schrieb: Hi Daniel, please forgive me for asking but i changed the code to: Forgive me for believing the API documentation and not checking the implementation. :-) You are right, and Calc is wrong. Sigh. Daniel --

Re: [api-dev] XCell methods getValue and getError

2008-12-18 Thread Oliver Brinzing
Hi Daniel, please forgive me for asking but i changed the code to: final CellContentType type = xCell.getType(); if (type == CellContentType.FORMULA) { final Object obj = getPropertyValue(xCell, "FormulaResultType"); [...] } my debugger tells me "obj" is a CellContentType: objcom.su

Re: [api-dev] How set a Default Value to a FormControl ListBox

2008-12-18 Thread Fernand Vanrie
Thanks, for the exelent explainations, but even manual entered list entries the famous "" button gives an ugly beep as respons, is this a bug or are am i doging something wrong ? Frank Schönheit - Sun Microsystems Germany wrote: Hi Fernand, again the secrets are in the control :-)

Re: [api-dev] How set a Default Value to a FormControl ListBox

2008-12-18 Thread Ariel Constenla-Haile
Frank Schönheit - Sun Microsystems Germany escribió: Hi Ariel, Side comment to Frank: this interface name doesn't sound correct, IMHO it'd make more sense a ::com::sun::star::form::XResetable just like: store() ---> XStorable close() ---> XCloseable so reset() ---> XResetable Yes. However,

Re: [api-dev] How set a Default Value to a FormControl ListBox

2008-12-18 Thread Frank Schönheit - Sun Microsystems Germany
Hi Ariel, > Side comment to Frank: > this interface name doesn't sound correct, IMHO it'd make more sense a > ::com::sun::star::form::XResetable just like: > > store() ---> XStorable > close() ---> XCloseable > so > reset() ---> XResetable Yes. However, since it is published, as well as the ser

Re: [api-dev] How set a Default Value to a FormControl ListBox

2008-12-18 Thread Ariel Constenla-Haile
Hi *, Jason Stephenson escribió: You could also try something like this: Sub DoThing Dim Form As Object Dim ListBox As Object Dim Controller As Object Dim ListBoxControlModel As Object ' Get controller for the current document Controller = ThisComponent.getCurrentContro

Re: [api-dev] How set a Default Value to a FormControl ListBox

2008-12-18 Thread Jason Stephenson
You could also try something like this: Sub DoThing Dim Form As Object Dim ListBox As Object Dim Controller As Object Dim ListBoxControlModel As Object ' Get controller for the current document Controller = ThisComponent.getCurrentController() ' Assuming first or onl