LibreOffice
LibreOffice 24.2 SDK API Reference
XEmbeddedObject.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 
22 
23  module com { module sun { module star { module embed {
24 
27 published interface XEmbeddedObject
28 {
29  // INTERFACES
32  interface XVisualObject;
33 
36  interface XClassifiedObject;
37 
40  interface XComponentSupplier;
41 
45 
48  interface ::com::sun::star::document::XEventBroadcaster;
49 
52  interface ::com::sun::star::util::XCloseable;
53 
54  // METHODS
70  void changeState( [in] long nNewState )
74 
88  sequence< long > getReachableStates()
89  raises( ::com::sun::star::embed::NeedsRunningStateException,
90  ::com::sun::star::embed::WrongStateException );
91 
100  long getCurrentState()
101  raises( ::com::sun::star::embed::WrongStateException );
102 
121  void doVerb( [in] long nVerbID )
122  raises( ::com::sun::star::lang::IllegalArgumentException,
123  ::com::sun::star::embed::WrongStateException,
124  ::com::sun::star::embed::UnreachableStateException,
125  ::com::sun::star::uno::Exception );
126 
140  sequence< VerbDescriptor > getSupportedVerbs()
141  raises( ::com::sun::star::embed::NeedsRunningStateException,
142  ::com::sun::star::embed::WrongStateException );
143 
152  void setClientSite( [in] XEmbeddedClient xClient )
153  raises( ::com::sun::star::embed::WrongStateException );
154 
163  XEmbeddedClient getClientSite()
164  raises( ::com::sun::star::embed::WrongStateException );
165 
174  void update()
175  raises( ::com::sun::star::embed::WrongStateException,
176  ::com::sun::star::uno::Exception );
177 
187  void setUpdateMode( [in] long nMode )
188  raises( ::com::sun::star::embed::WrongStateException );
189 
202  hyper getStatus( [in] hyper nAspect )
203  raises( ::com::sun::star::embed::WrongStateException );
204 
210  void setContainerName( [in] string sName );
211 
212 };
213 
214 
215 }; }; }; };
216 
217 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
This exception can be thrown in case specified state can not be reached.
Definition: UnreachableStateException.idl:27
the base of all UNO exceptions
Definition: Exception.idl:28
Definition: Ambiguous.idl:20
provides access to a component.
Definition: XComponentSupplier.idl:25
This exception can be thrown in case a list of accepted verbs of states is requested and the object i...
Definition: NeedsRunningStateException.idl:34
represents common visualization functionality for embedded objects.
Definition: XVisualObject.idl:26
This exception can be thrown in case the object&#39;s state does not allow to call requested functionalit...
Definition: WrongStateException.idl:28
represents common functionality for embedded objects.
Definition: XEmbeddedObject.idl:27
represents common functionality for embedded objects
Definition: XClassifiedObject.idl:26
broadcasts message in case embedded object object changes it&#39;s state.
Definition: XStateChangeBroadcaster.idl:27
represents common functionality for embedded clients.
Definition: XEmbeddedClient.idl:27
describes a verb.
Definition: VerbDescriptor.idl:27