LibreOffice: com/sun/star/embed/XStorageRawAccess.idl Source File

LibreOffice LibreOffice 5.3 SDK API Reference

XStorageRawAccess.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 #ifndef __com_sun_star_embed_XStorageRawAccess_idl__
20 #define __com_sun_star_embed_XStorageRawAccess_idl__
21
22 #include <com/sun/star/uno/XInterface.idl>
23 #include <com/sun/star/io/XStream.idl>
24 #include <com/sun/star/io/XInputStream.idl>
25 #include <com/sun/star/io/IOException.idl>
26 #include <com/sun/star/lang/IllegalArgumentException.idl>
27 #include <com/sun/star/embed/StorageWrappedTargetException.idl>
28 #include <com/sun/star/embed/InvalidStorageException.idl>
29 #include <com/sun/star/container/NoSuchElementException.idl>
30 #include <com/sun/star/container/ElementExistException.idl>
31 #include <com/sun/star/packages/NoEncryptionException.idl>
32 #include <com/sun/star/packages/NoRawFormatException.idl>
33
34
35
36 module com { module sun { module star { module embed {
37
40 published interface XStorageRawAccess
41 {
72 ::com::sun::star::io::XInputStream getPlainRawStreamElement(
73 [in] string sStreamName )
74 raises( ::com::sun::star::embed::InvalidStorageException,
75 ::com::sun::star::lang::IllegalArgumentException,
76 ::com::sun::star::container::NoSuchElementException,
77 ::com::sun::star::io::IOException,
78 ::com::sun::star::embed::StorageWrappedTargetException );
79
121 ::com::sun::star::io::XInputStream getRawEncrStreamElement(
122 [in] string sStreamName )
123 raises( ::com::sun::star::embed::InvalidStorageException,
124 ::com::sun::star::lang::IllegalArgumentException,
125 ::com::sun::star::packages::NoEncryptionException,
126 ::com::sun::star::container::NoSuchElementException,
127 ::com::sun::star::io::IOException,
128 ::com::sun::star::embed::StorageWrappedTargetException );
129
171 void insertRawEncrStreamElement(
172 [in] string sStreamName,
173 [in] ::com::sun::star::io::XInputStream xInStream )
174 raises( ::com::sun::star::embed::InvalidStorageException,
175 ::com::sun::star::lang::IllegalArgumentException,
176 ::com::sun::star::packages::NoRawFormatException,
177 ::com::sun::star::container::ElementExistException,
178 ::com::sun::star::io::IOException,
179 ::com::sun::star::embed::StorageWrappedTargetException );
180 };
181
182
183 }; }; }; };
184
185 #endif
186
187 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
com::sun::star::io::IOException
is thrown when an input or output error has occurred.
Definition: IOException.idl:30
NoSuchElementException.idl
ElementExistException.idl
IllegalArgumentException.idl
com
Definition: Ambiguous.idl:22
com::sun::star::packages::NoEncryptionException
This exception can be thrown in case object is not encrypted one as expected.
Definition: NoEncryptionException.idl:30
IOException.idl
com::sun::star::embed::StorageWrappedTargetException
This exception can wrap an exception thrown during XStorage methods execution.
Definition: StorageWrappedTargetException.idl:32
com::sun::star::lang::IllegalArgumentException
This exception is thrown to indicate that a method has passed an illegal or inappropriate argument...
Definition: IllegalArgumentException.idl:29
com::sun::star::embed::InvalidStorageException
This exception can be thrown in case a storage is invalid.
Definition: InvalidStorageException.idl:35
XInterface.idl
StorageWrappedTargetException.idl
InvalidStorageException.idl
NoEncryptionException.idl
com::sun::star::io::XInputStream
This is the basic interface to read data from a stream.
Definition: XInputStream.idl:37
com::sun::star::container::NoSuchElementException
is thrown by child access methods of collections, if the addressed child does not exist...
Definition: NoSuchElementException.idl:34
XInputStream.idl
XStream.idl
com::sun::star::packages::NoRawFormatException
This exception can be thrown in case provided stream is not a raw stream representing encrypted packa...
Definition: NoRawFormatException.idl:31
com::sun::star::container::ElementExistException
is thrown by container methods, if an element is added which is already a child of the container...
Definition: ElementExistException.idl:38
NoRawFormatException.idl
com::sun::star::embed::XStorageRawAccess
This interface represents main storage functionality.
Definition: XStorageRawAccess.idl:40