LibreOffice
LibreOffice 25.8 SDK API Reference
Loading...
Searching...
No Matches
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
20
21module com { module sun { module star { module awt {
22
23
32{
33
38
39
43
44
52 void enableDocking( [in] boolean bEnable );
53
54
60 boolean isFloating();
61
62
68 void setFloatingMode( [in] boolean bFloating );
69
70
74 void lock();
75
76
80 void unlock();
81
82
88 boolean isLocked();
89
90
101
102
110 boolean isInPopupMode();
111};
112
113
114}; }; }; };
115
116/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
makes it possible to receive docking events.
Definition XDockableWindowListener.idl:27
specifies the docking interface for a window component.
Definition XDockableWindow.idl:32
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:46
Definition Ambiguous.idl:20
specifies a rectangular area by position and size.
Definition Rectangle.idl:28