Hi Andreas i tried the method you suggested , again. It worked. Thank you.
public void trigger(String sEvent)
{
String buttonName;
buttonName=sEvent;
if(buttonName.equals(button1))
yahoocom();
else if(buttonName.equals(button2))
googlecom();
}
and in Addons.xcu
node
bharathy b wrote:
Hi Andreas thank you, i tried the solution you specified.
In the Addons.xcu i made the following changes.
node oor:name=m1 oor:op=replace
prop oor:name=URL oor:type=xs:string
valueservice:name.vojta.openoffice.wavelet.Wavelet?button1/value
/prop
node
Hi Andreas thank you, i agree i must have gone wrong somewhere. i will redo
it and check the service implementation and registration.
I tried the ProtocolHandlerAddon_java in SDK after reading the Dev Guide.
but i didnt succeed.The buttons are grayed out. i have been trying to add a
Hi Mathias i am reading the Dev guide and i have refferred the SDK examples. I
am getting confused as i read and i am getting a clear picture.I will go
through them again.
Thank you,
With Regards,
Bharathy B
Mathias Bauer [EMAIL PROTECTED] wrote:
bharathy b wrote:
Hi Mathias
bharathy b wrote:
Hi i wanted to know if the following is possible using the XJobExecutor.
Is it possible to have more than one trigger method for an XJobExecutor?
At present i have added a toolbar button to the writer document using an Addon. (Using an UNO Component in Java).
bharathy b wrote:
Hi i wanted to know if the following is possible using the
XJobExecutor.
Is it possible to have more than one trigger method for an
XJobExecutor?
At present i have added a toolbar button to the writer document using
an Addon. (Using an UNO Component in Java). Onclick
bharathy b wrote:
Hi Mathias Thankyou...
Regarding the ProtocolHandlerAddon method..
I want to know where should i define sayHello( ).
You need to implement a ProtcolHandler, mainly its interface
com.sun.star.frame.XDispatchProvider, as described in the DevGuide.
Take the demo
Hi i wanted to know if the following is possible using the XJobExecutor.
Is it possible to have more than one trigger method for an XJobExecutor?
At present i have added a toolbar button to the writer document using an
Addon. (Using an UNO Component in Java).
Onclick of the button