LibreOffice
LibreOffice 26.2 SDK API Reference
Toggle main menu visibility
Loading...
Searching...
No Matches
XStorage2.idl
Go to the documentation of this file.
1
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2
/*
3
* This file is part of the LibreOffice project.
4
*
5
* This Source Code Form is subject to the terms of the Mozilla Public
6
* License, v. 2.0. If a copy of the MPL was not distributed with this
7
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
8
*
9
* This file incorporates work covered by the following license notice:
10
*
11
* Licensed to the Apache Software Foundation (ASF) under one or more
12
* contributor license agreements. See the NOTICE file distributed
13
* with this work for additional information regarding copyright
14
* ownership. The ASF licenses this file to you under the Apache
15
* License, Version 2.0 (the "License"); you may not use this file
16
* except in compliance with the License. You may obtain a copy of
17
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
18
*/
19
20
21
22
module
com
{ module sun { module star { module embed {
23
26
interface
XStorage2
:
XStorage
27
{
71
::com::sun::star::io::XStream
openEncryptedStream
(
72
[in]
string
sStreamName,
73
[in]
long
nOpenMode,
74
[in] sequence< ::com::sun::star::beans::NamedValue > aEncryptionData )
75
raises(
::com::sun::star::embed::InvalidStorageException
,
76
::com::sun::star::lang::IllegalArgumentException
,
77
::com::sun::star::packages::NoEncryptionException
,
78
::com::sun::star::packages::WrongPasswordException
,
79
::com::sun::star::io::IOException
,
80
::com::sun::star::embed::StorageWrappedTargetException
);
81
127
::com::sun::star::io::XStream
cloneEncryptedStream
(
128
[in]
string
sStreamName,
129
[in] sequence< ::com::sun::star::beans::NamedValue > aEncryptionData )
130
raises(
::com::sun::star::embed::InvalidStorageException
,
131
::com::sun::star::lang::IllegalArgumentException
,
132
::com::sun::star::packages::NoEncryptionException
,
133
::com::sun::star::packages::WrongPasswordException
,
134
::com::sun::star::io::IOException
,
135
::com::sun::star::embed::StorageWrappedTargetException
);
136
};
137
138
139
}; }; }; };
140
141
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
com::sun::star::embed::InvalidStorageException
This exception can be thrown in case a storage is invalid.
Definition
InvalidStorageException.idl:32
com::sun::star::embed::StorageWrappedTargetException
This exception can wrap an exception thrown during XStorage methods execution.
Definition
StorageWrappedTargetException.idl:29
com::sun::star::io::IOException
is thrown when an input or output error has occurred.
Definition
IOException.idl:27
com::sun::star::lang::IllegalArgumentException
This exception is thrown to indicate that a method has passed an illegal or inappropriate argument.
Definition
IllegalArgumentException.idl:27
com::sun::star::packages::NoEncryptionException
This exception can be thrown in case object is not encrypted one as expected.
Definition
NoEncryptionException.idl:27
com::sun::star::packages::WrongPasswordException
This exception can be thrown in case wrong password was provided.
Definition
WrongPasswordException.idl:27
com::sun::star::embed::XStorage2
This interface extends the base XStorage interface.
Definition
XStorage2.idl:27
com::sun::star::embed::XStorage2::openEncryptedStream
::com::sun::star::io::XStream openEncryptedStream([in] string sStreamName, [in] long nOpenMode, [in] sequence< ::com::sun::star::beans::NamedValue > aEncryptionData)
allows to get access to a child encrypted stream with EncryptionData.
com::sun::star::embed::XStorage2::cloneEncryptedStream
::com::sun::star::io::XStream cloneEncryptedStream([in] string sStreamName, [in] sequence< ::com::sun::star::beans::NamedValue > aEncryptionData)
allows to get readonly copy of a child encrypted stream with encryption data.
com::sun::star::embed::XStorage
This interface represents main storage functionality.
Definition
XStorage.idl:27
com::sun::star::io::XStream
offers read and write access to the same stream.
Definition
XStream.idl:27
com
Definition
Ambiguous.idl:20
com
sun
star
embed
XStorage2.idl
Generated by
1.17.0