LibreOffice
LibreOffice 6.2 SDK API Reference
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 
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 )
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 )
73 
76  void copyElementDirectlyTo(
77  [in] string sSourceName,
78  [in] ::com::sun::star::embed::XOptimizedStorage xTargetStorage,
79  [in] string sTargetName )
86 
92  void writeAndAttachToStream(
93  [in] ::com::sun::star::io::XStream xStream )
98 
105  void attachToURL( [in] string sURL,
106  [in] boolean bReadOnly )
111 
116  any getElementPropertyValue( [in] string sElementName,
117  [in] string sPropertyName )
125 
150  void copyStreamElementData( [in] string sStreamName,
151  [in] ::com::sun::star::io::XStream xTargetStream )
157 
158 };
159 
160 
161 }; }; }; };
162 
163 #endif
164 
165 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
is thrown when an input or output error has occurred.
Definition: IOException.idl:30
Definition: Ambiguous.idl:22
This exception is thrown to indicate that the property name is unknown to the implementation.
Definition: UnknownPropertyException.idl:34
offers read and write access to the same stream.
Definition: XStream.idl:32
This is a temporary interface that is introduced to temporarily optimize the document storing process...
Definition: XOptimizedStorage.idl:46
This exception can wrap an exception thrown during XStorage methods execution.
Definition: StorageWrappedTargetException.idl:32
This exception is thrown to indicate that a method has passed an illegal or inappropriate argument...
Definition: IllegalArgumentException.idl:29
This exception can be thrown in case a storage is invalid.
Definition: InvalidStorageException.idl:35
This exception is thrown when a proposed change to a property represents an unacceptable value...
Definition: PropertyVetoException.idl:34
This is the basic interface to read data from a stream.
Definition: XInputStream.idl:37
is thrown by child access methods of collections, if the addressed child does not exist...
Definition: NoSuchElementException.idl:34
This exception can be thrown in case wrong password was provided.
Definition: WrongPasswordException.idl:30
This exception can be thrown in case provided stream is not a raw stream representing encrypted packa...
Definition: NoRawFormatException.idl:31
is thrown by container methods, if an element is added which is already a child of the container...
Definition: ElementExistException.idl:38