|
LibreOffice
LibreOffice 24.8 SDK API Reference
|
Allows to execute dispatch for a menu item and handles listeners for changes in menu items. More...
import "XMenuProxy.idl";
Public Member Functions | |
| void | executeMenuItem ([in] short ID) |
| Executes dispatch for the given menu id. | |
| void | addMenuProxyListener ([in] XMenuProxyListener xListener) |
| Registers an event listener, which will be called when the menu changes. | |
| void | removeMenuProxyListener ([in] XMenuProxyListener xListener) |
| Unregisters an event listener which was registered with XMenuProxy::addMenuProxyListener(). | |
| Public Member Functions inherited from XComponent | |
| void | dispose () |
| The owner of an object calls this method to explicitly free all resources kept by this object and thus break cyclic references. | |
| void | addEventListener ([in] XEventListener xListener) |
| adds an event listener to the object. | |
| void | removeEventListener ([in] XEventListener aListener) |
| removes an event listener from the listener list. | |
| Public Member Functions inherited from XInterface | |
| any | queryInterface ([in] type aType) |
| queries for a new interface to an existing UNO object. | |
| void | acquire () |
| increases the reference counter by one. | |
| void | release () |
| decreases the reference counter by one. | |
Allows to execute dispatch for a menu item and handles listeners for changes in menu items.
| void addMenuProxyListener | ( | [in] XMenuProxyListener | xListener | ) |
Registers an event listener, which will be called when the menu changes.
| xListener | [in]: the listener to be set |
| void executeMenuItem | ( | [in] short | ID | ) |
Executes dispatch for the given menu id.
| ID | [in]: the menu item |
| void removeMenuProxyListener | ( | [in] XMenuProxyListener | xListener | ) |
Unregisters an event listener which was registered with XMenuProxy::addMenuProxyListener().
| xListener | [in]: the listener to be removed |