LibreOffice
LibreOffice 24.2 SDK API Reference
|
specifies support for validating a component More...
import"XValidatable.idl";
Public Member Functions | |
void | setValidator ([in] XValidator Validator) raises ( com::sun::star::util::VetoException ) |
sets an external instance which is able to validate the component More... | |
XValidator | getValidator () |
retrieves the external instance which is currently used to validate the component 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... | |
XValidator getValidator | ( | ) |
retrieves the external instance which is currently used to validate the component
void setValidator | ( | [in] XValidator | Validator | ) | |
raises | ( | com::sun::star::util::VetoException | |||
) |
sets an external instance which is able to validate the component
Any previously active validator will be revoked - there can be only one!
Validator | the new validator which is to be used by the component. May be NULL , in this case only the current validator is revoked. |
com::sun::star::util::VetoException | if changing the validator is not allowed in the current component state |