|
LibreOffice
LibreOffice 26.2 SDK API Reference
|
makes it possible to protect objects from modifications. More...
import "XProtectable.idl";
Public Member Functions | |
| void | protect ([in] string aPassword) |
| activates the protection. | |
| void | unprotect ([in] string aPassword) raises ( com::sun::star::lang::IllegalArgumentException ) |
| removes the protection. | |
| boolean | isProtected () |
| 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. | |
makes it possible to protect objects from modifications.
| boolean isProtected | ( | ) |
| void protect | ( | [in] string | aPassword | ) |
activates the protection.
| aPassword | a string to specify new password. |
| void unprotect | ( | [in] string | aPassword | ) | ||
| raises | ( | com::sun::star::lang::IllegalArgumentException ) | ||||
removes the protection.
| aPassword | a string to match with the current password. |
| com::sun::star::lang::IllegalArgumentException | if invalid password is specified. |