LibreOffice
LibreOffice 6.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 
105 
106 
112  boolean isInPopupMode();
113 };
114 
115 
116 }; }; }; };
117 
118 #endif
119 
120 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
XInterface.idl
com::sun::star::awt::XDockableWindow::isFloating
boolean isFloating()
queries the current window state
com::sun::star::awt::XDockableWindow::removeDockableWindowListener
void removeDockableWindowListener([in] com::sun::star::awt::XDockableWindowListener xListener)
removes the specified docking listener from the object.
XDockableWindowListener.idl
com::sun::star::awt::XDockableWindow::addDockableWindowListener
void addDockableWindowListener([in] com::sun::star::awt::XDockableWindowListener xListener)
adds a docking listener to the object.
com::sun::star::awt::XDockableWindow::lock
void lock()
prevents the window from being undocked this has no effect if the window is floating
Rectangle.idl
com::sun::star::awt::XDockableWindow::enableDocking
void enableDocking([in] boolean bEnable)
enable or disable docking, docking is disabled by default
com::sun::star::awt::XDockableWindow::startPopupMode
void startPopupMode([in] com::sun::star::awt::Rectangle WindowRect)
shows the window in a menu like style, i.e.
com::sun::star::awt::XDockableWindow::unlock
void unlock()
enables undocking this has no effect if the window is floating
com::sun::star::awt::XDockableWindow
specifies the docking interface for a window component.
Definition: XDockableWindow.idl:38
com::sun::star::awt::XDockableWindow::isInPopupMode
boolean isInPopupMode()
queries the current pop-up mode
com
Definition: Ambiguous.idl:22
com::sun::star::awt::XDockableWindow::setFloatingMode
void setFloatingMode([in] boolean bFloating)
toggle between floating and docked state
com::sun::star::awt::XDockableWindow::isLocked
boolean isLocked()
queries the current locking state
com::sun::star::uno::XInterface
base interface of all UNO interfaces
Definition: XInterface.idl:48
com::sun::star::awt::XDockableWindowListener
makes it possible to receive docking events.
Definition: XDockableWindowListener.idl:36
com::sun::star::awt::Rectangle
specifies a rectangular area by position and size.
Definition: Rectangle.idl:30