LibreOffice
LibreOffice 24.2 SDK API Reference
|
Generic control access interface. More...
import"XControlAccess.idl";
Public Member Functions | |
void | setControlProperty ([in] string aControlName, [in] string aControlProperty, [in] any aValue) raises ( com::sun::star::lang::IllegalArgumentException ) |
Change a control property. More... | |
any | getControlProperty ([in] string aControlName, [in] string aControlProperty) raises ( com::sun::star::lang::IllegalArgumentException ) |
Query for a control property. More... | |
Public Member Functions inherited from XInterface | |
any | queryInterface ([in] type aType) |
queries for a new interface to an existing UNO object. More... | |
void | acquire () |
increases the reference counter by one. More... | |
void | release () |
decreases the reference counter by one. More... | |
Generic control access interface.
Use this interface to access user interface controls supported by the implementing service. The supported controls, control properties and the appropriate values are documented in the description of the implementing service.
any getControlProperty | ( | [in] string | aControlName, |
[in] string | aControlProperty | ||
) | |||
raises | ( | com::sun::star::lang::IllegalArgumentException | |
) |
Query for a control property.
aControlName | The name of the control. Common control names are for instance "OkButton" or "CancelButton". |
aControlProperty | The requested control property. Common control properties are for instance "Label" or "State". |
com::sun::star::lang::IllegalArgumentException | when the control is not supported or the control property is invalid. |
void setControlProperty | ( | [in] string | aControlName, |
[in] string | aControlProperty, | ||
[in] any | aValue | ||
) | |||
raises | ( | com::sun::star::lang::IllegalArgumentException | |
) |
Change a control property.
aControlName | The name of the control. Common control names are for instance "OkButton" or "CancelButton". |
aControlProperty | The control property to manipulate. Common control properties are for instance "Label" or "State". |
aValue | A value appropriated for the property. |
com::sun::star::lang::IllegalArgumentException | when the control is not supported, the control property is invalid or the value fits not the control action. |