summaryrefslogtreecommitdiff
path: root/offapi
diff options
context:
space:
mode:
Diffstat (limited to 'offapi')
-rw-r--r--offapi/com/sun/star/util/XProtectable.idl8
1 files changed, 8 insertions, 0 deletions
diff --git a/offapi/com/sun/star/util/XProtectable.idl b/offapi/com/sun/star/util/XProtectable.idl
index 06eaa6251df7..62e8b123b6dc 100644
--- a/offapi/com/sun/star/util/XProtectable.idl
+++ b/offapi/com/sun/star/util/XProtectable.idl
@@ -33,10 +33,18 @@ module com { module sun { module star { module util {
published interface XProtectable: com::sun::star::uno::XInterface
{
/** activates the protection.
+
+ @param aPassword
+ a string to specify new password.
*/
void protect( [in] string aPassword );
/** removes the protection.
+
+ @param aPassword
+ a string to match with the current password.
+ @throws com::sun::star::lang::IllegalArgumentException
+ if invalid password is specified.
*/
void unprotect( [in] string aPassword )
raises( com::sun::star::lang::IllegalArgumentException );