'; 'libreoffice@lists.freedesktop.org'
Subject: RE: [libreoffice-dev] -calling a service function from BASIC macro
Hi Michael,
The links clear up some doubts in my mind.
I am still having trouble with having 2 buttons to act on the same service
(this is a new problem report).
I
Hi Michael,
The links clear up some doubts in my mind.
I am still having trouble with having 2 buttons to act on the same service
(this is a new problem report).
I created 2 buttons which calls startThr() and stopThr() on my service.
The start works as expected. However, the stop call seems to cr
On 12/02/13 16:31, Rai, Neeraj wrote:
> Hi Stephan,
>
> Is there any example of using uno calls from the forms bundled with LO ?
> I am not very familiar with the Reference <> and googling uno::Reference is
> not helping me either.
> I also couldn't find usage in sdk dir and examples dir. Would i
Actually, never mind! I think I have a work around even without Reference.
I made my CalcAddinThr a pointer, so it is independent of lifetime of
CalcAddimThr_impl . Seems to work through button as well.
I think you might have been refereeing to the object created in Basic macro
that goes out of
Hi Stephan,
Is there any example of using uno calls from the forms bundled with LO ?
I am not very familiar with the Reference <> and googling uno::Reference is not
helping me either.
I also couldn't find usage in sdk dir and examples dir. Would it be possible to
point out a dir/file or a web li
On 02/11/2013 06:29 PM, Rai, Neeraj wrote:
The function is getting called now, however, I get a crash a bit later when
sheet_ is being accessed.
I also added a button and attached the macro to it for conveninece of calling.
There seems to be some difference between the direct call and call via
Hi Stephan,
The function is getting called now, however, I get a crash a bit later when
sheet_ is being accessed.
I also added a button and attached the macro to it for conveninece of calling.
There seems to be some difference between the direct call and call via
button/macro.
You need to issue
On 02/08/2013 04:08 PM, Rai, Neeraj wrote:
So the org.openoffice.sheet.addin.CalcAddinSock service you specified
implements a new UNO interface that you added (and which has a method
startThr), right?
Yes.
Did you bundle in your extension a types.rdb that
contains the information about that ne
Hi Stephan,
Appreciate you taking time to debug this.
> So the org.openoffice.sheet.addin.CalcAddinSock service you specified
> implements a new UNO interface that you added (and which has a method
> startThr), right?
Yes.
> Did you bundle in your extension a types.rdb that
> contains the inform
On 02/08/2013 12:47 AM, Rai, Neeraj wrote:
I am having trouble trying to wrap UNO function call in BASIC macro.
I got the macro from the following SimpleCalcAddin example.
_http://wiki.openoffice.org/wiki/SimpleCalcAddIn#Building_.26_Testing_
1. mgr = getProcessServiceManager()
2. o =
Hi,
I am having trouble trying to wrap UNO function call in BASIC macro.
I got the macro from the following SimpleCalcAddin example.
http://wiki.openoffice.org/wiki/SimpleCalcAddIn#Building_.26_Testing
1. mgr = getProcessServiceManager()
2. o = mgr.createInstance("org.openoffice.sheet.
11 matches
Mail list logo