19 #ifndef __com_sun_star_embed_XStorage_idl__
20 #define __com_sun_star_embed_XStorage_idl__
39 module
com { module sun { module star { module embed {
57 interface ::com::sun::star::container::XNameAccess;
66 interface ::com::sun::star::lang::XComponent;
130 [in]
string sStreamName,
131 [in]
long nOpenMode )
182 [in]
string sStreamName,
184 [in]
string sPassword )
221 [in]
long nOpenMode )
305 [in]
string sStreamName,
306 [in]
string sPassword )
370 [in]
string sStorName,
532 [in]
string sElementName,
534 [in]
string sNewName )
575 [in]
string sElementName,
577 [in]
string sNewName )
is thrown by container methods, if an element is added which is already a child of the container.
Definition: ElementExistException.idl:39
is thrown by child access methods of collections, if the addressed child does not exist.
Definition: NoSuchElementException.idl:35
This exception can be thrown in case a storage is invalid.
Definition: InvalidStorageException.idl:36
This exception can wrap an exception thrown during XStorage methods execution.
Definition: StorageWrappedTargetException.idl:33
is thrown when an input or output error has occurred.
Definition: IOException.idl:31
This exception is thrown to indicate that a method has passed an illegal or inappropriate argument.
Definition: IllegalArgumentException.idl:31
This exception can be thrown in case object is not encrypted one as expected.
Definition: NoEncryptionException.idl:31
This exception can be thrown in case wrong password was provided.
Definition: WrongPasswordException.idl:31
This interface represents main storage functionality.
Definition: XStorage.idl:44
XStorage openStorageElement([in] string sStorName, [in] long nOpenMode)
allows to get access to a child storage.
::com::sun::star::io::XStream openEncryptedStreamElement([in] string sStreamName, [in] long nOpenMode, [in] string sPassword)
allows to get access to a child encrypted stream with password.
void copyElementTo([in] string sElementName, [in] XStorage xDest, [in] string sNewName)
allows to copy an entry from one storage to another.
::com::sun::star::io::XStream cloneStreamElement([in] string sStreamName)
allows to get readonly copy of a child stream of the storage.
boolean isStorageElement([in] string sElementName)
allows to check if an element is a child storage with specified name.
::com::sun::star::io::XStream openStreamElement([in] string sStreamName, [in] long nOpenMode)
allows to get access to a child stream of the storage.
void copyLastCommitTo([in] XStorage xTargetStorage)
allows to get copy of this storage at the state of its last commit.
void removeElement([in] string sElementName)
removes an element from a storage.
boolean isStreamElement([in] string sElementName)
allows to check if an element is a child stream with specified name.
void copyStorageElementLastCommitTo([in] string sStorName, [in] XStorage xTargetStorage)
allows to get copy of a child storage at the state of its last commit.
void moveElementTo([in] string sElementName, [in] XStorage xDest, [in] string sNewName)
allows to move an entry from one storage to another.
::com::sun::star::io::XStream cloneEncryptedStreamElement([in] string sStreamName, [in] string sPassword)
allows to get readonly copy of a child encrypted stream with password.
void renameElement([in] string sElementName, [in] string sNewName)
renames an element in a storage.
void copyToStorage([in] XStorage xDest)
allows to copy current storage to another one
offers read and write access to the same stream.
Definition: XStream.idl:33
Definition: Ambiguous.idl:22