LibreOffice
LibreOffice 7.4 SDK API Reference
XDockableWindow.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_awt_XDockableWindow_idl__
20 #define __com_sun_star_awt_XDockableWindow_idl__
21 
25 
26 
27 module com { module sun { module star { module awt {
28 
29 
38 {
39 
44 
45 
49 
50 
58  void enableDocking( [in] boolean bEnable );
59 
60 
66  boolean isFloating();
67 
68 
74  void setFloatingMode( [in] boolean bFloating );
75 
76 
80  void lock();
81 
82 
86  void unlock();
87 
88 
94  boolean isLocked();
95 
96 
107 
108 
116  boolean isInPopupMode();
117 };
118 
119 
120 }; }; }; };
121 
122 #endif
123 
124 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
makes it possible to receive docking events.
Definition: XDockableWindowListener.idl:36
specifies the docking interface for a window component.
Definition: XDockableWindow.idl:38
void setFloatingMode([in] boolean bFloating)
toggle between floating and docked state
void addDockableWindowListener([in] com::sun::star::awt::XDockableWindowListener xListener)
adds a docking listener to the object.
void enableDocking([in] boolean bEnable)
enable or disable docking, docking is disabled by default
void removeDockableWindowListener([in] com::sun::star::awt::XDockableWindowListener xListener)
removes the specified docking listener from the object.
void startPopupMode([in] com::sun::star::awt::Rectangle WindowRect)
shows the window in a menu like style, i.e.
void unlock()
enables undocking this has no effect if the window is floating
void lock()
prevents the window from being undocked this has no effect if the window is floating
boolean isLocked()
queries the current locking state
boolean isFloating()
queries the current window state
boolean isInPopupMode()
queries the current pop-up mode
base interface of all UNO interfaces
Definition: XInterface.idl:48
Definition: Ambiguous.idl:22
specifies a rectangular area by position and size.
Definition: Rectangle.idl:30