LibreOffice
LibreOffice 7.4 SDK API Reference
Public Member Functions | List of all members
XEncryptionProtectedSource Interface Referencepublished

This interface allows to set a password for an object. More...

import"XEncryptionProtectedSource.idl";

Inheritance diagram for XEncryptionProtectedSource:
XInterface Storage StorageStream XExtendedStorageStream XEncryptionProtectedSource2 XEncryptionProtectedStorage

Public Member Functions

void setEncryptionPassword ([in] string sPassword) raises ( ::com::sun::star::io::IOException )
 sets a password for the object. More...
 
void removeEncryption () raises ( ::com::sun::star::io::IOException )
 removes encryption from the object. 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...
 

Detailed Description

This interface allows to set a password for an object.

Member Function Documentation

◆ removeEncryption()

void removeEncryption ( )
raises (::com::sun::star::io::IOException
)

removes encryption from the object.

Exceptions
com::sun::star::io::IOExceptionin case encryption could not be removed

◆ setEncryptionPassword()

void setEncryptionPassword ( [in] string  sPassword)
raises (::com::sun::star::io::IOException
)

sets a password for the object.

Parameters
sPasswordthe new password
Exceptions
com::sun::star::io::IOExceptionin case password could not be set

The documentation for this interface was generated from the following file: