Ariel Constenla-Haile wrote:
Hello Paolo,
Paolo Mantovani escribió:
In practice, if I well understand Frank's answer, using
createWithArguments/AndContext/AndWhatever things it's not better than
simply doing:
obj = CreateUNOService(service.name)
obj.initialize(Array(arg1, arg2, arg3))
Hi Ariel,
Il lunedì 16 giugno 2008 07:24:36 Ariel Constenla-Haile ha scritto:
Hello Paolo,
Paolo Mantovani escribió:
In practice, if I well understand Frank's answer, using
createWithArguments/AndContext/AndWhatever things it's not better than
simply doing:
obj =
Hi Paolo,
Paolo Mantovani escribió:
Il sabato 14 giugno 2008 22:13:45 Ariel Constenla-Haile ha scritto:
[]
http://api.openoffice.org/docs/common/ref/com/sun/star/script/provider/Scri
ptURIHelper.html for the service description (This service is used to help
transform Scripting Framework
Hello Ariel,
Il domenica 15 giugno 2008 23:41:06 Ariel Constenla-Haile ha scritto:
[]
I must admit that I don't know the exact meaning of new-style service
but
[]
A new style service has constructor(s) to instantiate it, and directly
returns a reference to its interface.
For
Hi Ariel,
And even this is not completely safe in OOo Basic, as it is
implementation specific; quoting Frank's in
http://api.openoffice.org/servlets/ReadMsg?list=devmsgNo=18530
So, the bottom line is: createInstanceWithArguments[AndContext] *might*
work, but if it doesn't (or stops working
Hi Frank,
Frank Schönheit - Sun Microsystems Germany escribió:
Hi Ariel,
And even this is not completely safe in OOo Basic, as it is
implementation specific; quoting Frank's in
http://api.openoffice.org/servlets/ReadMsg?list=devmsgNo=18530
So, the bottom line is:
Hello Paolo,
Paolo Mantovani escribió:
In practice, if I well understand Frank's answer, using
createWithArguments/AndContext/AndWhatever things it's not better than simply
doing:
obj = CreateUNOService(service.name)
obj.initialize(Array(arg1, arg2, arg3))
because this is what (more or
Hi Ariel,
With a new-style service constructor, you can NOT call
createUnoService() and then initialize() passing to this last call the
constructor's parameters. In the example [1] initialize() fails == the
object returned by createUnoService() has no such method, i.e. has
already been
Hi Ariel,
well the constructor methods can't be used in Basic today. But we have
it on our todo list for the future.
createInstanceWithArgumentsAndContext is the way you have to go to
instantiate such a service in Basic. But keep in mind that if it is the
default constructor with only the
Hello myself,
createInstanceWithArgumentsAndContext is the way you have to go to
instantiate such a service in Basic.
Not really.
Argh. Jürgen, you're right.
Actually I was confused by the service constructors use
XInitialization which I have in my head, and assumed they do this
Hi Frank/Jürgen
Frank Schönheit - Sun Microsystems Germany escribió:
Which brings me to: Ariel, what do you mean with initialize fails? How
does this manifest?
In old-style services (like FilePicker), you instantiate the service in
Basic by calling
Ariel Constenla-Haile wrote:
Hi Frank/Jürgen
Frank Schönheit - Sun Microsystems Germany escribió:
Which brings me to: Ariel, what do you mean with initialize fails? How
does this manifest?
In old-style services (like FilePicker), you instantiate the service in
Basic by calling
Hello people,
Juergen Schmidt escribió:
Ariel Constenla-Haile wrote:
Hi Frank/Jürgen
Frank Schönheit - Sun Microsystems Germany escribió:
Which brings me to: Ariel, what do you mean with initialize fails? How
does this manifest?
In old-style services (like FilePicker), you instantiate the
Hello people,
While trying to translate some Java code to Basic, I had some problems
with new-style UNO service constructors
(http://api.openoffice.org/docs/DevelopersGuide/ProfUNO/ProfUNO.xhtml#1_2_1_4_2_Service_Constructors)
For example, executing the Extension Manager dialog in Java can
14 matches
Mail list logo