Hi Oliver,

I suggest you have a look at the NetBeans API Plugin for OpenOffice.org.
See
http://wiki.services.openoffice.org/wiki/OpenOffice_NetBeans_Integration

Look at the AddOn project wizard for OpenOffice.org inside of the plugin. There you can create menu structures with commands, sub-menus and icons with a wizard. Among others, you will get a working .xcu file afterwards that you can use - even if you do not wish to implement your extension in Java.

If you want to implement your extension in Java, I strongly suggest you have a look at the plugin ;-).

HTH, Steffen

Oliver Brinzing wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

i know i asked this question a year ago, but OO 2.3 has a new feature:
http://wiki.services.openoffice.org/wiki/Framework/WorkInProgress/Addon_Menu_Toolbar_Merging

Is it now possible to create a menu structure like this ?

[File] [MyTopLevelMenu] [Edit]
         - Entry 1
         - Entry 2
         - Submenu 3
           - Entry 3.1
           - Entry 3.2
         - Entry 4

How can I add the "Submenu 3" with "Entry 3.1" and "Entry 3.2" ?

Can one please give me an example ?

Oliver




- --


GnuPG key 0xCFD04A45: 8822 057F 4956 46D3 352C 1A06 4E2C AB40 CFD0 4A45
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGxsITTiyrQM/QSkURArf3AJ4yfmVYWTCYn5VhaH99HAMPO/KH3wCePfj3
xxn1Iu8dHwF3zt7Fs0AmmmM=
=i48f
-----END PGP SIGNATURE-----

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


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

Reply via email to