You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openoffice.apache.org by Jörg Schmidt <jo...@j-m-schmidt.de> on 2013/10/04 10:50:08 UTC

Integrate special main menu by using Addon.xcu

Hello,

I know the Web site http://wiki.openoffice.org/wiki/Documentation/DevGuide/WritingUNO/AddOns/Menus, but according to this guide, I can make a new main menu entry only in as follows:

Datei-...-<My menu>-Fenster-Hilfe

(Example for a german Main-Menu)

However, I am looking for a way to insert my menu (using Addons.xcu in an extension) anywhere on the menu, such as as follows:

<My menu>-Datei-...-Fenster-Hilfe

Is that possible? If so, how?


Greetings,
Jörg


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
For additional commands, e-mail: dev-help@openoffice.apache.org


Re: Integrate special main menu by using Addon.xcu

Posted by Ariel Constenla-Haile <ar...@apache.org>.
Hi,

On Fri, Oct 04, 2013 at 10:50:08AM +0200, Jörg Schmidt wrote:
> Hello,
> 
> I know the Web site
> http://wiki.openoffice.org/wiki/Documentation/DevGuide/WritingUNO/AddOns/Menus,
> but according to this guide, I can make a new main menu entry only in
> as follows:
> 
> Datei-...-<My menu>-Fenster-Hilfe
> 
> (Example for a german Main-Menu)
> 
> However, I am looking for a way to insert my menu (using Addons.xcu in
> an extension) anywhere on the menu, such as as follows:
> 
> <My menu>-Datei-...-Fenster-Hilfe
> 
> Is that possible? If so, how?

You have to use "menu merging", as described here
http://wiki.openoffice.org/wiki/Framework/Article/Addon_Menu_Toolbar_Merging

Note that there is a dedicated list for questions like this:
api@openoffice.apache.org


Regards
-- 
Ariel Constenla-Haile
La Plata, Argentina