When retrieving the menu items with getUIConfigurationManager, the menu label property is given as an empty string for all items though.
I'm guessing the short description for the given menu commands (eg "Cut" for ".uno:cut") can be retrieved using the OfficeResourceLoader from the files in my OpenOffice's Resources folder.
Anyone know how to do this? I can't find any previous threads or information beyond:
https://www.openoffice.org/api/docs/com ... oader.html
I've got as far as
- Code: Select all Expand viewCollapse view
res =createUnoService("com.sun.star.resource.OfficeResourceLoader")
'com.sun.star.resource.OfficeResourceLoader
'com.sun.star.resource.StringResource
'com.sun.star.resource.StringResourceWithLocation
'com.sun.star.resource.StringResourceWithStorage
'com.sun.star.resource.VclStringResourceLoader
bundle= res.loadBundle_Default("swen") 'swen-GB.res is one of the files.
msgbox bundle.haselements
.loadBundle_Default("swen") doesn't give an error. Nor does "s" or "sw". But other combinations of letters do.
And haselements gives 0.