LibreOffice
LibreOffice 24.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 
20 
21  module com { module sun { module star { module embed {
22 
28 published interface XOptimizedStorage
29 {
33  void insertRawNonEncrStreamElementDirect(
34  [in] string sStreamName,
35  [in] ::com::sun::star::io::XInputStream xInStream )
42 
46  void insertStreamElementDirect(
47  [in] string sStreamName,
48  [in] ::com::sun::star::io::XInputStream xInStream,
49  [in] sequence < ::com::sun::star::beans::PropertyValue > aProperties )
55 
58  void copyElementDirectlyTo(
59  [in] string sSourceName,
60  [in] ::com::sun::star::embed::XOptimizedStorage xTargetStorage,
61  [in] string sTargetName )
68 
74  void writeAndAttachToStream(
75  [in] ::com::sun::star::io::XStream xStream )
80 
87  void attachToURL( [in] string sURL,
88  [in] boolean bReadOnly )
93 
98  any getElementPropertyValue( [in] string sElementName,
99  [in] string sPropertyName )
107 
132  void copyStreamElementData( [in] string sStreamName,
133  [in] ::com::sun::star::io::XStream xTargetStream )
139 
140 };
141 
142 
143 }; }; }; };
144 
145 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
is thrown when an input or output error has occurred.
Definition: IOException.idl:26
Definition: Ambiguous.idl:20
This exception is thrown to indicate that the property name is unknown to the implementation.
Definition: UnknownPropertyException.idl:30
offers read and write access to the same stream.
Definition: XStream.idl:26
This is a temporary interface that is introduced to temporarily optimize the document storing process...
Definition: XOptimizedStorage.idl:28
This exception can wrap an exception thrown during XStorage methods execution.
Definition: StorageWrappedTargetException.idl:28
This exception is thrown to indicate that a method has passed an illegal or inappropriate argument...
Definition: IllegalArgumentException.idl:25
This exception can be thrown in case a storage is invalid.
Definition: InvalidStorageException.idl:31
This exception is thrown when a proposed change to a property represents an unacceptable value...
Definition: PropertyVetoException.idl:30
This is the basic interface to read data from a stream.
Definition: XInputStream.idl:29
is thrown by child access methods of collections, if the addressed child does not exist...
Definition: NoSuchElementException.idl:30
This exception can be thrown in case wrong password was provided.
Definition: WrongPasswordException.idl:26
This exception can be thrown in case provided stream is not a raw stream representing encrypted packa...
Definition: NoRawFormatException.idl:27
is thrown by container methods, if an element is added which is already a child of the container...
Definition: ElementExistException.idl:34