Madhan Ponnusamy wrote:

Hi Madhan,
Hi Carsten,
As u told i am now trying to develop the menus using addons and protocol
handlers.
That's sounds good. Normally this is the best way to add your own menu items which should call your code.
can u tell me this flow is corret or not
Addons(creating the menu and specifing the URL for the menuitem)
Corecct.
(links) -->protocol handler(create the url and specify the java file for the
URL)
The ProtocolHandler.xcu files creates the association between protocol and your protocol handler implementation. The protocol handler implementation has to check the URLs in the queryDispatch/queryDispatches functions. It has to return a valid dispatch object if a supported URL has been provided.
(links)--> protocolhandler.class file(created from a java file and this
executes the event needed)
Correct.
Is this correct?
Is it so please tell me how to pack these file and add it with the help of
UNOPKG

You should download the latest Office SDK and look for the "examples" folder. There are many examples with a working Makefile, which creates the necessary package. You should change of these Makefiles to your needs.

You can find the Office SDK and more information about it here:
http://api.openoffice.org/SDK/index.html

Regards,
Carsten

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to