LibreOffice
LibreOffice 25.8 SDK API Reference
Loading...
Searching...
No Matches
XEmbedPersist.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
31{
87 [in] string sEntName,
88 [in] long nEntryConnectionMode,
89 [in] sequence< ::com::sun::star::beans::PropertyValue > aMediaArgs,
90 [in] sequence< ::com::sun::star::beans::PropertyValue > aObjectArgs )
95
127 [in] string sEntName,
128 [in] sequence< ::com::sun::star::beans::PropertyValue > aMediaArgs,
129 [in] sequence< ::com::sun::star::beans::PropertyValue > aObjectArgs )
134
176 [in] string sEntName,
177 [in] sequence< ::com::sun::star::beans::PropertyValue > aMediaArgs,
178 [in] sequence< ::com::sun::star::beans::PropertyValue > aObjectArgs )
183
184
198
199 void saveCompleted( [in] boolean bUseNew )
202
209 boolean hasEntry()
210 raises( ::com::sun::star::embed::WrongStateException );
211
221 raises( ::com::sun::star::embed::WrongStateException );
222};
223
224
225}; }; }; };
226
227/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
This exception can be thrown in case the object's state does not allow to call requested functionalit...
Definition WrongStateException.idl:29
is thrown when an input or output error has occurred.
Definition IOException.idl:27
This exception is thrown to indicate that a method has passed an illegal or inappropriate argument.
Definition IllegalArgumentException.idl:27
the base of all UNO exceptions
Definition Exception.idl:29
specifies common implementation for embedded objects and links persistence.
Definition XCommonEmbedPersist.idl:27
specifies an implementation for embedded object persistence.
Definition XEmbedPersist.idl:31
void saveCompleted([in] boolean bUseNew)
specifies whether the object should use an old storage or a new one after "save as" operation.
void setPersistentEntry([in] ::com::sun::star::embed::XStorage xStorage, [in] string sEntName, [in] long nEntryConnectionMode, [in] sequence< ::com::sun::star::beans::PropertyValue > aMediaArgs, [in] sequence< ::com::sun::star::beans::PropertyValue > aObjectArgs)
provides object with a parent storage and a name for object's entry.
void storeToEntry([in] ::com::sun::star::embed::XStorage xStorage, [in] string sEntName, [in] sequence< ::com::sun::star::beans::PropertyValue > aMediaArgs, [in] sequence< ::com::sun::star::beans::PropertyValue > aObjectArgs)
lets the object store itself to an entry in destination storage, the own persistence entry is not cha...
boolean hasEntry()
allows to detect if the object has entry.
string getEntryName()
allows to retrieve the current object entry name.
void storeAsEntry([in] ::com::sun::star::embed::XStorage xStorage, [in] string sEntName, [in] sequence< ::com::sun::star::beans::PropertyValue > aMediaArgs, [in] sequence< ::com::sun::star::beans::PropertyValue > aObjectArgs)
lets the object store itself to an entry in destination storage and prepare to use the new entry for ...
This interface represents main storage functionality.
Definition XStorage.idl:27
interfaces related to embedded objects, both native UNO and OLE.
Definition Actions.idl:21
the module com::sun::star is the root module of the UNO API.
Definition Ambiguous.idl:20
Definition Ambiguous.idl:20
Definition Ambiguous.idl:20