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

LibreOffice LibreOffice 24.2 SDK API Reference

Loading...
Searching...
No Matches
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
20
21 module com { module sun { module star { module embed {
22
30published interface XEmbedObjectCreator: com::sun::star::uno::XInterface
31{
64 ::com::sun::star::uno::XInterface createInstanceInitNew(
65 [in] sequence< byte > aClassID,
66 [in] string sClassName,
67 [in] ::com::sun::star::embed::XStorage xStorage,
68 [in] string sEntryName,
69 [in] sequence< ::com::sun::star::beans::PropertyValue > aObjectArgs )
70 raises( ::com::sun::star::lang::IllegalArgumentException,
71 ::com::sun::star::io::IOException,
72 ::com::sun::star::uno::Exception );
73
74
111 ::com::sun::star::uno::XInterface createInstanceInitFromEntry(
112 [in] ::com::sun::star::embed::XStorage xStorage,
113 [in] string sEntryName,
114 [in] sequence< ::com::sun::star::beans::PropertyValue > aMediaDescriptor,
115 [in] sequence< ::com::sun::star::beans::PropertyValue > aObjectArgs )
116 raises( ::com::sun::star::lang::IllegalArgumentException,
117 ::com::sun::star::container::NoSuchElementException,
118 ::com::sun::star::io::IOException,
119 ::com::sun::star::uno::Exception );
120
152 ::com::sun::star::uno::XInterface createInstanceInitFromMediaDescriptor(
153 [in] ::com::sun::star::embed::XStorage xStorage,
154 [in] string sEntryName,
155 [in] sequence< ::com::sun::star::beans::PropertyValue > aMediaDescriptor,
156 [in] sequence< ::com::sun::star::beans::PropertyValue > aObjectArgs )
157 raises( ::com::sun::star::lang::IllegalArgumentException,
158 ::com::sun::star::io::IOException,
159 ::com::sun::star::uno::Exception );
160};
161
162
163}; }; }; };
164
165/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
com::sun::star::container::NoSuchElementException
is thrown by child access methods of collections, if the addressed child does not exist.
Definition NoSuchElementException.idl:31
com::sun::star::io::IOException
is thrown when an input or output error has occurred.
Definition IOException.idl:27
com::sun::star::lang::IllegalArgumentException
This exception is thrown to indicate that a method has passed an illegal or inappropriate argument.
Definition IllegalArgumentException.idl:27
com::sun::star::uno::Exception
the base of all UNO exceptions
Definition Exception.idl:29
com::sun::star::embed::XEmbedObjectCreator
allows to create and initialize a new embedded object.
Definition XEmbedObjectCreator.idl:31
com::sun::star::embed::XEmbedObjectCreator::createInstanceInitFromMediaDescriptor
::com::sun::star::uno::XInterface createInstanceInitFromMediaDescriptor([in] ::com::sun::star::embed::XStorage xStorage, [in] string sEntryName, [in] sequence< ::com::sun::star::beans::PropertyValue > aMediaDescriptor, [in] sequence< ::com::sun::star::beans::PropertyValue > aObjectArgs)
creates a new object and initializes it based on com::sun::star::document::MediaDescriptor.
com::sun::star::embed::XEmbedObjectCreator::createInstanceInitNew
::com::sun::star::uno::XInterface createInstanceInitNew([in] sequence< byte > aClassID, [in] string sClassName, [in] ::com::sun::star::embed::XStorage xStorage, [in] string sEntryName, [in] sequence< ::com::sun::star::beans::PropertyValue > aObjectArgs)
creates a new object and initializes it as a new one.
com::sun::star::embed::XEmbedObjectCreator::createInstanceInitFromEntry
::com::sun::star::uno::XInterface createInstanceInitFromEntry([in] ::com::sun::star::embed::XStorage xStorage, [in] string sEntryName, [in] sequence< ::com::sun::star::beans::PropertyValue > aMediaDescriptor, [in] sequence< ::com::sun::star::beans::PropertyValue > aObjectArgs)
creates a new object that should be based on specified storage entry.
com::sun::star::embed::XStorage
This interface represents main storage functionality.
Definition XStorage.idl:27
com::sun::star::uno::XInterface
base interface of all UNO interfaces
Definition XInterface.idl:46
com
Definition Ambiguous.idl:20