Base Macros to Modify Menubars

Creating Extension - Shared Libraries
Forum rules
For sharing working examples of macros / scripts. These can be in any script language supported by [Basic, Python, Netbean] or as source code files in Java or C# even - but requires the actual source code listing. This forum is not for asking questions about writing your own macros.

Base Macros to Modify Menubars

Postby Ratslinger » Mon Feb 15, 2016 5:36 am

This is a set of macros all written in Basic, mostly gathered from documents and postings, allowing you to modify existing menubars. Although developed for usage in Base, some can be applied to other applications. I have successfully tried Writer.

Digging deeper into the menus, it was realized there were more levels of menus than anticipated. Therefore, the document is about 10 pages along with another few for reference to the sample Base file but it does not delve deep into specific settings such as deactivating items (easy boolean setting) etc. There is just too much to cover in that respect.

The Base sample includes all the code for each of the methods discussed in the document and demonstrates the results. The code was developed for LibreOffice 4.4.7 but was also tested using OpenOffice 4.1.2 and worked the same.
Embedded Base sample for changing menus.
(115.98 KiB) Downloaded 159 times
LibreOffice Menus.odt
Discussion of proceedings and explanation of sample contents.
(39.04 KiB) Downloaded 220 times
LibreOffice 6.1.3
OpenOffice 4.0.1
Ubuntu Mate 18.04
Mint 18.3
Posts: 19
Joined: Sun Mar 01, 2015 3:34 am

Return to Code Snippets

Who is online

Users browsing this forum: No registered users and 1 guest