Hi Carsten,

Thanks for the information. I know that our Office handles several languages and ways of doing this, but I'd like to stick to Java only as far as possible. What is the correct way of registering commands, basically what do you need to achieve what I am trying to do?

I have read several shorter articles on the registry, and have added the menu item to the Office UI. Does OOo provide this functionality already which can be reused? Is there anything that has to be implemented?

Best

Per

Carsten Driesner skrev 2010-01-05 10:02:
Per Eriksson wrote:
Hi,

As I am currently looking at the menu and toolbar parts of uno I have some questions about the association of menu items to dialogs.

What is the correct way of setting up commands for Java-based dialogs using the com.sun.star.awt package? Does there exist any good tutorials for defining commands and associating them with dialogs?
Hi Per,

I am not sure if I understood your problem correctly. You want to know how a command which opens a UNO AWT based dialog should look like?

Something like: ".uno:OpenDialog?name:string=MyDialogName"

There is no special command which automatically opens a UNO-AWT (com.sun.star.awt) based dialog. You can use any command you want which needs an implementation to load/create and display the dialog. If your code uses Basic or other scripting languages you have to use a vnd.sun.star.script URL.

Regards,
Carsten



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@framework.openoffice.org
For additional commands, e-mail: dev-h...@framework.openoffice.org

Reply via email to