LibreOffice
LibreOffice 7.3 SDK API Reference
XInplaceClient.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_XInplaceClient_idl__
20 #define __com_sun_star_embed_XInplaceClient_idl__
21 
31 
32 
33 
34  module com { module sun { module star { module embed {
35 
39 {
46  boolean canInplaceActivate();
47 
55  raises( ::com::sun::star::embed::WrongStateException );
56 
63  void activatingUI()
64  raises( ::com::sun::star::embed::WrongStateException );
65 
71  void deactivatedInplace()
72  raises( ::com::sun::star::embed::WrongStateException );
73 
84  void deactivatedUI()
85  raises( ::com::sun::star::embed::WrongStateException );
86 
99  ::com::sun::star::frame::XLayoutManager getLayoutManager()
100  raises( ::com::sun::star::embed::WrongStateException );
101 
111  ::com::sun::star::frame::XDispatchProvider getInplaceDispatchProvider()
112  raises( ::com::sun::star::embed::WrongStateException );
113 
130  ::com::sun::star::awt::Rectangle getPlacement()
131  raises( ::com::sun::star::embed::WrongStateException );
132 
147  ::com::sun::star::awt::Rectangle getClipRectangle()
148  raises( ::com::sun::star::embed::WrongStateException );
149 
159  void translateAccelerators( [in] sequence< ::com::sun::star::awt::KeyEvent > aKeys )
160  raises( ::com::sun::star::embed::WrongStateException );
161 
170  void scrollObject( [in] ::com::sun::star::awt::Size aOffset )
171  raises( ::com::sun::star::embed::WrongStateException );
172 
184  void changedPlacement( [in] ::com::sun::star::awt::Rectangle aPosRect )
185  raises( ::com::sun::star::embed::WrongStateException,
186  ::com::sun::star::uno::Exception );
187 };
188 
189 
190 }; }; }; };
191 
192 #endif
193 
194 /* 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:33
represents common functionality for inplace clients.
Definition: XInplaceClient.idl:39
void activatingInplace()
notifies container through the client that the object is to be inplace activated.
boolean canInplaceActivate()
checks if the container can activate the object inplace.
base interface of all UNO interfaces
Definition: XInterface.idl:48
Definition: Ambiguous.idl:22