LibreOffice
LibreOffice 5.0 SDK API Reference
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
com
sun
star
embed
XOptimizedStorage.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_XOptimizedStorage_idl__
20
#define __com_sun_star_embed_XOptimizedStorage_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/EncryptionNotAllowedException.idl
>
32
#include <
com/sun/star/packages/NoRawFormatException.idl
>
33
#include <
com/sun/star/packages/WrongPasswordException.idl
>
34
#include <
com/sun/star/beans/PropertyValue.idl
>
35
#include <
com/sun/star/beans/UnknownPropertyException.idl
>
36
#include <
com/sun/star/beans/PropertyVetoException.idl
>
37
38
39
module com { module sun { module star { module embed {
40
46
published
interface
XOptimizedStorage
47
{
51
void
insertRawNonEncrStreamElementDirect(
52
[in]
string
sStreamName,
53
[in] ::
com::sun::star::io::XInputStream
xInStream )
54
raises( ::
com::sun::star::embed::InvalidStorageException
,
55
::
com::sun::star::lang::IllegalArgumentException
,
56
::
com::sun::star::packages::NoRawFormatException
,
57
::
com::sun::star::container::ElementExistException
,
58
::
com::sun::star::io::IOException
,
59
::
com::sun::star::embed::StorageWrappedTargetException
);
60
64
void
insertStreamElementDirect(
65
[in]
string
sStreamName,
66
[in] ::
com::sun::star::io::XInputStream
xInStream,
67
[in] sequence < ::com::sun::star::beans::PropertyValue > aProperties )
68
raises( ::
com::sun::star::embed::InvalidStorageException
,
69
::
com::sun::star::lang::IllegalArgumentException
,
70
::
com::sun::star::container::ElementExistException
,
71
::
com::sun::star::io::IOException
,
72
::
com::sun::star::embed::StorageWrappedTargetException
);
73
76
void
copyElementDirectlyTo(
77
[in]
string
sSourceName,
78
[in] ::
com::sun::star::embed::XOptimizedStorage
xTargetStorage,
79
[in]
string
sTargetName )
80
raises( ::
com::sun::star::embed::InvalidStorageException
,
81
::
com::sun::star::lang::IllegalArgumentException
,
82
::
com::sun::star::container::NoSuchElementException
,
83
::
com::sun::star::container::ElementExistException
,
84
::
com::sun::star::io::IOException
,
85
::
com::sun::star::embed::StorageWrappedTargetException
);
86
92
void
writeAndAttachToStream(
93
[in] ::
com::sun::star::io::XStream
xStream )
94
raises( ::
com::sun::star::embed::InvalidStorageException
,
95
::
com::sun::star::lang::IllegalArgumentException
,
96
::
com::sun::star::io::IOException
,
97
::
com::sun::star::embed::StorageWrappedTargetException
);
98
105
void
attachToURL( [in]
string
sURL,
106
[in]
boolean
bReadOnly )
107
raises( ::
com::sun::star::embed::InvalidStorageException
,
108
::
com::sun::star::lang::IllegalArgumentException
,
109
::
com::sun::star::io::IOException
,
110
::
com::sun::star::embed::StorageWrappedTargetException
);
111
116
any getElementPropertyValue( [in]
string
sElementName,
117
[in]
string
sPropertyName )
118
raises( ::
com::sun::star::embed::InvalidStorageException
,
119
::
com::sun::star::lang::IllegalArgumentException
,
120
::
com::sun::star::container::NoSuchElementException
,
121
::
com::sun::star::io::IOException
,
122
::
com::sun::star::beans::UnknownPropertyException
,
123
::
com::sun::star::beans::PropertyVetoException
,
124
::
com::sun::star::embed::StorageWrappedTargetException
);
125
150
void
copyStreamElementData( [in]
string
sStreamName,
151
[in] ::
com::sun::star::io::XStream
xTargetStream )
152
raises( ::
com::sun::star::embed::InvalidStorageException
,
153
::
com::sun::star::lang::IllegalArgumentException
,
154
::
com::sun::star::packages::WrongPasswordException
,
155
::
com::sun::star::io::IOException
,
156
::
com::sun::star::embed::StorageWrappedTargetException
);
157
158
};
159
160
161
}; }; }; };
162
163
#endif
164
165
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
Generated by
1.8.4