|
LibreOffice
LibreOffice 24.8 SDK API Reference
|
is used to query, register and unregister user interface controller. More...
import "XUIControllerRegistration.idl";
Public Member Functions | |
| boolean | hasController ([in] string aCommandURL, [in] string aModelName) |
| function to check if an user interface controller is registered for a command URL and optional module. | |
| void | registerController ([in] string aCommandURL, [in] string aModelName, [in] string aControllerImplementationName) |
| function to create an association between a user interface controller implementation and a command URL and optional module. | |
| void | deregisterController ([in] string aCommandURL, [in] string aModelName) |
| function to remove a previously defined association between a user interface controller implementation and a command URL and optional module. | |
| 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. | |
is used to query, register and unregister user interface controller.
A user interface controller can be registered for a command URL. A certain user interface controller will be created when a user interface element contains a registered command URL.
| void deregisterController | ( | [in] string | aCommandURL, |
| [in] string | aModelName ) |
function to remove a previously defined association between a user interface controller implementation and a command URL and optional module.
| aCommandURL | a command URL which specifies an action which should be associated with a user interface controller. |
| aModelName | an optional name of an OpenOffice model service. This value can remain empty if no model service name was specified. |
| boolean hasController | ( | [in] string | aCommandURL, |
| [in] string | aModelName ) |
function to check if an user interface controller is registered for a command URL and optional module.
| aCommandURL | a command URL which specifies an action. |
| aModelName | an optional name of an OpenOffice model service. This value can remain empty if no model service name was specified. |
| void registerController | ( | [in] string | aCommandURL, |
| [in] string | aModelName, | ||
| [in] string | aControllerImplementationName ) |
function to create an association between a user interface controller implementation and a command URL and optional module.
| aCommandURL | a command URL which specifies an action which should be associated with a user interface controller. |
| aModelName | an optional name of an OpenOffice model service. This value can remain empty if no model service name was specified. |
| aControllerImplementationName | a UNO implementation name that can be used to create a user interface controller with the OpenOffice service manager. |