makes it possible to protect objects from modifications.
More...
import"XProtectable.idl";
|
| void | protect ([in] string aPassword) |
| | activates the protection. More...
|
| |
| void | unprotect ([in] string aPassword) raises ( com::sun::star::lang::IllegalArgumentException ) |
| | removes the protection. More...
|
| |
| boolean | isProtected () |
| |
| 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...
|
| |
makes it possible to protect objects from modifications.
- Developers Guide
- Spreadsheet Documents - Protecting Spreadsheets
◆ isProtected()
- Returns
- the current state of protection.
◆ protect()
| void protect |
( |
[in] string |
aPassword | ) |
|
activates the protection.
- Parameters
-
| aPassword | a string to specify new password. |
◆ unprotect()
removes the protection.
- Parameters
-
| aPassword | a string to match with the current password. |
- Exceptions
-
The documentation for this interface was generated from the following file: