Menu Introduction
Introduction
This Library support several types of menus. Each menu type supports loading and saving menu data to and from JSON. Some menus can persist data into LibreOffice and some are only temporary.
Depending on you needs working with the menus can be very simple or rather complex.
App Menu
App menus are generally used when there is a need to persist the menu into LibreOffice. Although there are times that using App Menu with Popup menu will make sense.
App Menus are used to add, remove, and modify menus in the LibreOffice on both a Global and Document level.
Quick Start
Popup Menu
Popup Menus are not persisted after a restart. Popup menus can be used to add additional menus to the menu bar or to create a new popup menu base upon some other action.
More Information.
Quick Start
Menu Bar Menu
Menu Bar menus are menus that are added to the main menu bar at the top of the application. Menus are added by creating a new Popup Menu and then adding it to the menu bar. For this reason working with Menu Bar is much like working with Popup Menus. More Information.
Quick Start
Context Action Menu
Context Action Menu are menus are are inserted into existing context menus by incepting the menu and modifying it. More Information.