| LibreOffice
    LibreOffice 25.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 | |
| XValidator | getValidator () | 
| retrieves the external instance which is currently used to validate the component | |
| 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. | |
| 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 |