:: com :: sun :: star :: embed ::
|
unpublished |
interface XHierarchicalStorageAccess2 |
|
|
- Base Interfaces
XHierarchicalStorageAccess2
┗ XHierarchicalStorageAccess
-
|
- Usage Restrictions
- not published
- Description
- This interface extends XHierarchicalStorageAccess interface.
|
Methods' Details |
openEncryptedStreamByHierarchicalName
- Description
- allows to get access to a child encrypted stream with encryption data
using hierarchical path.
If storage does not allow any encryption this method will always throw
::com::sun::star::packages::NoEncryptionException.
In case the stream is open in readonly mode the
XStream::getOutputStream
method will return an empty reference.
- Parameter sStreamPath
- the path to the substream that should be open
- Parameter nOpenMode
- a mode the stream should be open in,
can be a combination of ElementModes values
- Parameter aEncryptionData
- this parameter allowes to specify an encryption data for the
stream, the data must be correct, otherwise an
exception will be thrown
- Throws
- ::com::sun::star::embed::InvalidStorageException
this storage is in invalid state for any reason
- Throws
- ::com::sun::star::lang::IllegalArgumentException
one of provided arguments is illegal
- Throws
- ::com::sun::star::packages::NoEncryptionException
the stream is not encrypted
- Throws
- ::com::sun::star::packages::WrongPasswordException
the provided password is wrong
- Throws
- ::com::sun::star::io::IOException
in case of io errors during stream opening
- Throws
- ::com::sun::star::embed::StorageWrappedTargetException
wraps other exceptions
|
|
Top of Page
Copyright © 2000, 2014 LibreOffice contributors and/or their affiliates. All rights reserved.
LibreOffice was created by The Document Foundation, based on OpenOffice.org, which is Copyright 2000, 2010 Oracle and/or its affiliates.
The Document Foundation acknowledges all community members, please find more info at our website.
Privacy Policy | Impressum (Legal Info) | Copyright information: The source code of LibreOffice is licensed under the GNU Lesser General Public License (LGPLv3). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.