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

LibreOffice LibreOffice 5.1 SDK API Reference

XEmbedObjectCreator.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_XEmbedObjectCreator_idl__
20 #define __com_sun_star_embed_XEmbedObjectCreator_idl__
21
22 #include <com/sun/star/uno/XInterface.idl>
23 #include <com/sun/star/embed/XStorage.idl>
24 #include <com/sun/star/io/IOException.idl>
25 #include <com/sun/star/embed/WrongStateException.idl>
26 #include <com/sun/star/lang/IllegalArgumentException.idl>
27 #include <com/sun/star/beans/PropertyValue.idl>
28
29
30 module com { module sun { module star { module embed {
31
39 published interface XEmbedObjectCreator: com::sun::star::uno::XInterface
40 {
73 ::com::sun::star::uno::XInterface createInstanceInitNew(
74 [in] sequence< byte > aClassID,
75 [in] string sClassName,
76 [in] ::com::sun::star::embed::XStorage xStorage,
77 [in] string sEntryName,
78 [in] sequence< ::com::sun::star::beans::PropertyValue > aObjectArgs )
79 raises( ::com::sun::star::lang::IllegalArgumentException,
80 ::com::sun::star::io::IOException,
81 ::com::sun::star::uno::Exception );
82
83
120 ::com::sun::star::uno::XInterface createInstanceInitFromEntry(
121 [in] ::com::sun::star::embed::XStorage xStorage,
122 [in] string sEntryName,
123 [in] sequence< ::com::sun::star::beans::PropertyValue > aMediaDescriptor,
124 [in] sequence< ::com::sun::star::beans::PropertyValue > aObjectArgs )
125 raises( ::com::sun::star::lang::IllegalArgumentException,
126 ::com::sun::star::container::NoSuchElementException,
127 ::com::sun::star::io::IOException,
128 ::com::sun::star::uno::Exception );
129
161 ::com::sun::star::uno::XInterface createInstanceInitFromMediaDescriptor(
162 [in] ::com::sun::star::embed::XStorage xStorage,
163 [in] string sEntryName,
164 [in] sequence< ::com::sun::star::beans::PropertyValue > aMediaDescriptor,
165 [in] sequence< ::com::sun::star::beans::PropertyValue > aObjectArgs )
166 raises( ::com::sun::star::lang::IllegalArgumentException,
167 ::com::sun::star::io::IOException,
168 ::com::sun::star::uno::Exception );
169 };
170
171
172 }; }; }; };
173
174 #endif
175
176 /* 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
com::sun::star::embed::XStorage
This interface represents main storage functionality.
Definition: XStorage.idl:43
com::sun::star::uno::Exception
the base of all UNO exceptions
Definition: Exception.idl:32
XStorage.idl
IllegalArgumentException.idl
com
Definition: Ambiguous.idl:22
IOException.idl
com::sun::star::embed::XEmbedObjectCreator
allows to create and initialize a new embedded object.
Definition: XEmbedObjectCreator.idl:39
PropertyValue.idl
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
XInterface.idl
com::sun::star::container::NoSuchElementException
is thrown by child access methods of collections, if the addressed child does not exist...
Definition: NoSuchElementException.idl:34
WrongStateException.idl
com::sun::star::uno::XInterface
base interface of all UNO interfaces
Definition: XInterface.idl:47