Matthias Benkmann wrote:
I'm trying to change the DisableCommandsTest.java example to disable the Tools/Macros submenu, but I can't find the command name for it. The Macro Recorder is no help as it can't record the opening of a submenu. Is it at all possible to disable a submenu entry with the code from DisableCommandsTest.java or does this only work for entries that "perform some action", i.e. leaves of the menu tree?

Hi Matthias,

this is currently not possible for OOo 2.0. You can disable all commands inside the sub menu, but the user could open it although he is not able to select a command. There will be an extension for OOo 2.0.1 (see 54030) which makes it possible to disable/remove a sub menu.

Regards,
Carsten

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to