"Trigger Event", xMenuBarSettings, xMSF, log);
_XUIConfigurationManager.createMenuBarItem("Click for Macro",
(XIndexContainer)UnoRuntime.queryInterface(
XIndexContainer.class, prop[3].Value), log);
XIndexContainer x = (XIndexContainer)UnoRuntime.queryInterface(XIndexContainer.class, xMenuBarSettings);
x.insertByIndex(x.getCount(), prop);
xUIManager.replaceSettings("private:resource/menubar/menubar", xMenuBarSettings);
xUIManager.reset();
}
}
catch(com.sun.star.container.NoSuchElementException e) {