How to change an entry of a self-created menus via macro

2015-09-10 Thread Jörg Schmidt
Hello, I have a menu, _created by a addons.xcu-file_ in a extension. Is it possible to change an entry of a self-created menus via macro? With this, i 'catch' only the 'normal' menus, _not my self-created menu_: sMenuBar = "private:resource/menubar/menubar" oModuleCfgMgrSupplier =

Re: How to change an entry of a self-created menus via macro

2015-09-10 Thread Keith Alcock
Jorg, Below is code to do such a thing with C++. Basically you need to work with a FeatureStateEvent and set the State to the text you want. The documentation does not say that this is what State is used for, but looking up that class and XStatusListener should help. Keith void SAL_CALL