LibreOffice Module vcl (master)  1
window.h
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 #ifndef INCLUDED_VCL_INC_WINDOW_H
21 #define INCLUDED_VCL_INC_WINDOW_H
22 
23 #include <sal/config.h>
24 
25 #include <tools/fract.hxx>
26 #include <vcl/commandevent.hxx>
27 #include <vcl/idle.hxx>
28 #include <vcl/inputctx.hxx>
29 #include <vcl/window.hxx>
30 #include <vcl/settings.hxx>
31 #include <o3tl/deleter.hxx>
32 #include <o3tl/typed_flags_set.hxx>
33 #include <cppuhelper/weakref.hxx>
34 #include "windowdev.hxx"
35 
36 #include <optional>
37 #include <list>
38 #include <memory>
39 #include <vector>
40 #include <set>
41 
42 class FixedText;
43 class VclSizeGroup;
44 class VirtualDevice;
46 class ImplFontCache;
47 class VCLXWindow;
48 class WindowStateData;
49 class SalFrame;
50 class SalObject;
51 enum class MouseEventModifiers;
52 enum class MouseNotifyEvent;
53 enum class ActivateModeFlags;
54 enum class DialogControlFlags;
55 enum class GetFocusFlags;
56 enum class ParentClipMode;
57 enum class SalEvent;
58 
59 namespace com::sun::star {
60  namespace accessibility {
61  class XAccessible;
62  class XAccessibleContext;
63  class XAccessibleEditableText;
64  }
65 
66  namespace awt {
67  class XWindowPeer;
68  class XWindow;
69  }
70  namespace uno {
71  class Any;
72  class XInterface;
73  }
74  namespace datatransfer {
75  namespace clipboard {
76  class XClipboard;
77  }
78  namespace dnd {
79  class XDropTargetListener;
80  class XDragGestureRecognizer;
81  class XDragSource;
82  class XDropTarget;
83  }
84  }
85 }
86 
88 
89 //return true if this window and its stack of containers are all shown
90 bool isVisibleInLayout(const vcl::Window *pWindow);
91 
92 //return true if this window and its stack of containers are all enabled
93 bool isEnabledInLayout(const vcl::Window *pWindow);
94 
95 bool ImplWindowFrameProc( vcl::Window* pInst, SalEvent nEvent, const void* pEvent );
96 
98 {
99  std::optional<OUString>
101  std::unique_ptr<ExtTextInputAttr[]>
103  std::optional<tools::Rectangle>
107  std::unique_ptr<tools::Rectangle[]>
110  std::optional<tools::Rectangle>
112  std::optional<tools::Rectangle>
115  sal_uInt16 mnIsTopWindow;
116  bool mbMouseOver; //< tracks mouse over for native widget paint effect
117  bool mbEnableNativeWidget; //< toggle native widget rendering
118  ::std::list< VclPtr<vcl::Window> >
120 
121  ImplWinData();
122  ~ImplWinData();
123 };
124 
126 {
127  Idle maPaintIdle; //< paint idle handler
128  Idle maResizeIdle; //< resize timer
129  InputContext maOldInputContext; //< last set Input Context
130  VclPtr<vcl::Window> mpNextFrame; //< next frame window
131  VclPtr<vcl::Window> mpFirstOverlap; //< first overlap vcl::Window
132  VclPtr<vcl::Window> mpFocusWin; //< focus window (is also set, when frame doesn't have the focus)
133  VclPtr<vcl::Window> mpMouseMoveWin; //< last window, where MouseMove() called
134  VclPtr<vcl::Window> mpMouseDownWin; //< last window, where MouseButtonDown() called
135  std::vector<VclPtr<vcl::Window> > maOwnerDrawList; //< List of system windows with owner draw decoration
136  std::shared_ptr<PhysicalFontCollection> mxFontCollection; //< Font-List for this frame
137  std::shared_ptr<ImplFontCache> mxFontCache; //< Font-Cache for this frame
138  sal_Int32 mnDPIX; //< Original Screen Resolution
139  sal_Int32 mnDPIY; //< Original Screen Resolution
140  ImplSVEvent * mnFocusId; //< FocusId for PostUserLink
141  ImplSVEvent * mnMouseMoveId; //< MoveId for PostUserLink
142  tools::Long mnLastMouseX; //< last x mouse position
143  tools::Long mnLastMouseY; //< last y mouse position
144  tools::Long mnBeforeLastMouseX; //< last but one x mouse position
145  tools::Long mnBeforeLastMouseY; //< last but one y mouse position
146  tools::Long mnFirstMouseX; //< first x mouse position by mousebuttondown
147  tools::Long mnFirstMouseY; //< first y mouse position by mousebuttondown
148  tools::Long mnLastMouseWinX; //< last x mouse position, rel. to pMouseMoveWin
149  tools::Long mnLastMouseWinY; //< last y mouse position, rel. to pMouseMoveWin
150  sal_uInt16 mnModalMode; //< frame based modal count (app based makes no sense anymore)
151  sal_uInt64 mnMouseDownTime; //< mouse button down time for double click
152  sal_uInt16 mnClickCount; //< mouse click count
153  sal_uInt16 mnFirstMouseCode; //< mouse code by mousebuttondown
154  sal_uInt16 mnMouseCode; //< mouse code
156  bool mbHasFocus; //< focus
157  bool mbInMouseMove; //< is MouseMove on stack
158  bool mbMouseIn; //> is Mouse inside the frame
159  bool mbStartDragCalled; //< is command startdrag called
160  bool mbNeedSysWindow; //< set, when FrameSize <= IMPL_MIN_NEEDSYSWIN
161  bool mbMinimized; //< set, when FrameSize <= 0
162  bool mbStartFocusState; //< FocusState, when sending the event
163  bool mbInSysObjFocusHdl; //< within a SysChildren's GetFocus handler
164  bool mbInSysObjToTopHdl; //< within a SysChildren's ToTop handler
165  bool mbSysObjFocus; //< does a SysChild have focus
167 
168  css::uno::Reference< css::datatransfer::dnd::XDragSource > mxDragSource;
169  css::uno::Reference< css::datatransfer::dnd::XDropTarget > mxDropTarget;
170  css::uno::Reference< css::datatransfer::dnd::XDropTargetListener > mxDropTargetListener;
171  css::uno::Reference< css::datatransfer::clipboard::XClipboard > mxClipboard;
172 
177 
178  ImplFrameData( vcl::Window *pWindow );
179 };
180 
182 {
183  sal_uInt16 nAccessibleRole;
184  std::optional<OUString>
186  std::optional<OUString>
191 
194 };
195 
197 
198 enum class ImplPaintFlags {
199  NONE = 0x0000,
200  Paint = 0x0001,
201  PaintAll = 0x0002,
202  PaintAllChildren = 0x0004,
203  PaintChildren = 0x0008,
204  Erase = 0x0010,
205  CheckRtl = 0x0020,
206 };
207 namespace o3tl {
208  template<> struct typed_flags<ImplPaintFlags> : is_typed_flags<ImplPaintFlags, 0x003f> {};
209 }
210 
211 
213 {
214 private:
215  WindowImpl(const WindowImpl&) = delete;
216  WindowImpl& operator=(const WindowImpl&) = delete;
217 public:
218  WindowImpl( vcl::Window& rWindow, WindowType );
219  ~WindowImpl();
220 
222  std::unique_ptr<ImplWinData> mpWinData;
241  std::vector<Link<VclWindowEvent&,void>> maEventListeners;
243  std::set<Link<VclWindowEvent&,void>> maEventListenersDeleted;
244  std::vector<Link<VclWindowEvent&,void>> maChildEventListeners;
246  std::set<Link<VclWindowEvent&,void>> maChildEventListenersDeleted;
250 
254  OUString maText;
255  std::optional<vcl::Font>
259  sal_Int32 mnLeftBorder;
260  sal_Int32 mnTopBorder;
261  sal_Int32 mnRightBorder;
262  sal_Int32 mnBottomBorder;
263  sal_Int32 mnWidthRequest;
264  sal_Int32 mnHeightRequest;
271  OString maHelpId;
272  OUString maHelpText;
273  OUString maQuickHelpText;
274  OUString maID;
276  css::uno::Reference< css::awt::XWindowPeer > mxWindowPeer;
277  css::uno::Reference< css::accessibility::XAccessible > mxAccessible;
278  std::shared_ptr< VclSizeGroup > m_xSizeGroup;
279  std::vector<VclPtr<FixedText>> m_aMnemonicLabels;
280  std::unique_ptr<ImplAccessibleInfos> mpAccessibleInfos;
282  vcl::Region maWinRegion; //< region to 'shape' the VCL window (frame coordinates)
283  vcl::Region maWinClipRegion; //< the (clipping) region that finally corresponds to the VCL window (frame coordinates)
284  vcl::Region maInvalidateRegion; //< region that has to be redrawn (frame coordinates)
285  std::unique_ptr<vcl::Region> mpChildClipRegion; //< child clip region if CLIPCHILDREN is set (frame coordinates)
286  vcl::Region* mpPaintRegion; //< only set during Paint() method call (window coordinates)
292  sal_uInt16 mnWaitCount;
302  sal_Int32 mnPadding;
303  sal_Int32 mnGridHeight;
304  sal_Int32 mnGridLeftAttach;
305  sal_Int32 mnGridTopAttach;
306  sal_Int32 mnGridWidth;
307  sal_Int32 mnBorderWidth;
308  sal_Int32 mnMarginLeft;
309  sal_Int32 mnMarginRight;
310  sal_Int32 mnMarginTop;
311  sal_Int32 mnMarginBottom;
312  bool mbFrame:1,
313  mbBorderWin:1,
314  mbOverlapWin:1,
315  mbSysWin:1,
316  mbDialog:1,
317  mbDockWin:1,
318  mbFloatWin:1,
319  mbPushButton:1,
320  mbVisible:1,
321  mbDisabled:1,
322  mbInputDisabled:1,
323  mbNoUpdate:1,
325  mbActive:1,
326  mbReallyVisible:1,
327  mbReallyShown:1,
328  mbInInitShow:1,
330  mbNoPtrVisible:1,
331  mbPaintFrame:1,
332  mbInPaint:1,
334  mbMouseButtonUp:1,
335  mbKeyInput:1,
336  mbKeyUp:1,
337  mbCommand:1,
338  mbDefPos:1,
339  mbDefSize:1,
340  mbCallMove:1,
341  mbCallResize:1,
345  mbWinRegion:1,
346  mbClipChildren:1,
347  mbClipSiblings:1,
351  mbDlgCtrlStart:1,
352  mbFocusVisible:1,
353  mbTrackVisible:1,
356  mbInShowFocus:1,
357  mbInHideFocus:1,
360  mbAlwaysOnTop:1,
363  mbPaintDisabled:1,
364  mbAllResize:1,
365  mbInDispose:1,
366  mbExtTextInput:1,
367  mbInFocusHdl:1,
370  mbToolBox:1,
371  mbSplitter:1,
378  mbFakeFocusSet:1,
379  mbHexpand:1,
380  mbVexpand:1,
381  mbExpand:1,
382  mbFill:1,
383  mbSecondary:1,
386 
387  css::uno::Reference< css::uno::XInterface > mxDNDListenerContainer;
388 
389  const vcl::ILibreOfficeKitNotifier* mpLOKNotifier;
392 };
393 
394 namespace vcl
395 {
398 {
407 public:
408  PaintBufferGuard(ImplFrameData* pFrameData, vcl::Window* pWindow);
409  ~PaintBufferGuard() COVERITY_NOEXCEPT_FALSE;
411  void SetPaintRect(const tools::Rectangle& rRectangle);
413  vcl::RenderContext* GetRenderContext();
414 };
415 typedef std::unique_ptr<PaintBufferGuard, o3tl::default_delete<PaintBufferGuard>> PaintBufferGuardPtr;
416 }
417 
418 // helper methods
419 
420 bool ImplHandleMouseEvent( const VclPtr<vcl::Window>& xWindow, MouseNotifyEvent nSVEvent, bool bMouseLeave,
421  tools::Long nX, tools::Long nY, sal_uInt64 nMsgTime,
422  sal_uInt16 nCode, MouseEventModifiers nMode );
423 void ImplHandleResize( vcl::Window* pWindow, tools::Long nNewWidth, tools::Long nNewHeight );
424 
425 VCL_DLLPUBLIC void ImplWindowStateFromStr(WindowStateData& rData, const OString& rStr);
426 
427 VCL_DLLPUBLIC css::uno::Reference<css::accessibility::XAccessibleEditableText>
428 FindFocusedEditableText(css::uno::Reference<css::accessibility::XAccessibleContext> const&);
429 
430 #endif // INCLUDED_VCL_INC_WINDOW_H
431 
432 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
bool mbDlgCtrlStart
Definition: window.h:312
bool mbNeedSysWindow
Definition: window.h:160
std::vector< VclPtr< FixedText > > m_aMnemonicLabels
Definition: window.h:279
bool mbAlwaysOnTop
Definition: window.h:312
tools::Long mnX
Definition: window.h:267
MouseEventModifiers mnMouseMode
Definition: window.h:155
sal_Int32 mnPadding
Definition: window.h:302
exports com.sun.star.datatransfer. clipboard
bool mbSplitter
Definition: window.h:312
std::optional< OUString > mpExtOldText
Definition: window.h:100
tools::Long mnFirstMouseX
Definition: window.h:146
bool mbHexpand
Definition: window.h:312
sal_Int32 mnGridWidth
Definition: window.h:306
bool mbVexpand
Definition: window.h:312
bool mbInHideFocus
Definition: window.h:312
bool mbMouseButtonUp
Definition: window.h:312
DialogControlFlags mnDlgCtrlFlags
Definition: window.h:297
VclPackType mePackType
Definition: window.h:301
bool mbDefPos
Definition: window.h:312
vcl::Cursor * mpCursor
Definition: window.h:251
std::optional< vcl::Font > mpControlFont
Definition: window.h:256
WindowExtendedStyle
Definition: window.hxx:412
sal_Int32 mnOptimalHeightCache
Definition: window.h:266
sal_uInt16 mnWaitCount
Definition: window.h:292
#define VCL_DLLPUBLIC
Definition: dllapi.h:29
int mnEventListenersIteratingCount
Definition: window.h:242
bool mbInitChildRegion
Definition: window.h:312
long Long
bool mbInBufferedPaint
PaintHelper is in the process of painting into this buffer.
Definition: window.h:175
bool mbVisible
Definition: window.h:312
bool mbNonHomogeneous
Definition: window.h:312
Link< tools::JsonWriter &, void > maDumpAsPropertyTreeHdl
Definition: window.h:249
VclPtr< vcl::Window > pLabeledByWindow
Definition: window.h:188
bool mbStartFocusState
Definition: window.h:162
bool mbClipSiblings
Definition: window.h:312
ActivateModeFlags mnActivateMode
Definition: window.h:296
sal_Int32 mnHeightRequest
Definition: window.h:264
std::set< Link< VclWindowEvent &, void > > maEventListenersDeleted
Definition: window.h:243
std::unique_ptr< ImplAccessibleInfos > mpAccessibleInfos
Definition: window.h:280
vcl::Region maInvalidateRegion
Definition: window.h:284
sal_Int32 mnTopBorder
Definition: window.h:260
exports com.sun.star. awt
std::vector< Link< VclWindowEvent &, void > > maChildEventListeners
Definition: window.h:244
css::uno::Reference< css::datatransfer::dnd::XDragSource > mxDragSource
Definition: window.h:168
bool mbSuppressAccessibilityEvents
Definition: window.h:312
VclPtr< vcl::Window > mpNextFrame
Definition: window.h:130
bool mbReallyVisible
Definition: window.h:312
VclPtr< vcl::WindowOutputDevice > mxOutDev
Definition: window.h:221
WindowType mnType
Definition: window.h:290
sal_Int32 mnDPIY
Definition: window.h:139
bool mbHasFocus
Definition: window.h:156
InputContext maOldInputContext
Definition: window.h:129
std::optional< OUString > pAccessibleName
Definition: window.h:185
~ImplWinData()
Definition: window.cxx:755
VclPtr< VirtualDevice > mpBuffer
Buffer for the double-buffering.
Definition: window.h:174
std::unique_ptr< ImplWinData > mpWinData
Definition: window.h:222
MouseEventModifiers
Definition: event.hxx:79
ImplFrameData * mpFrameData
Definition: window.h:399
bool mbMouseIn
Definition: window.h:158
tools::Long mnOutOffY
Definition: window.h:405
std::shared_ptr< PhysicalFontCollection > mxFontCollection
Definition: window.h:136
bool mbMinimized
Definition: window.h:161
std::shared_ptr< VclSizeGroup > m_xSizeGroup
Definition: window.h:278
bool mbCommand
Definition: window.h:312
bool mbSecondary
Definition: window.h:312
css::uno::Reference< css::awt::XWindowPeer > mxWindowPeer
Definition: window.h:276
bool mbInSysObjFocusHdl
Definition: window.h:163
sal_Int64 WinBits
css::uno::Reference< css::datatransfer::clipboard::XClipboard > mxClipboard
Definition: window.h:171
sal_uInt16 nAccessibleRole
Definition: window.h:183
vcl::Region maWinClipRegion
Definition: window.h:283
bool mbPaintTransparent
Definition: window.h:312
bool mbCompoundControl
Definition: window.h:312
bool mbInternalDragGestureRecognizer
Definition: window.h:173
VclPtr< vcl::Window > mpPrev
Definition: window.h:236
~WindowImpl()
Definition: window.cxx:738
bool mbFocusVisible
Definition: window.h:312
sal_Int32 mnMarginRight
Definition: window.h:309
VclPtr< vcl::Window > mpMouseMoveWin
Definition: window.h:133
tools::Long mnOutOffX
Definition: window.h:404
Point maPos
Definition: window.h:270
sal_uInt16 mnMouseCode
Definition: window.h:154
std::set< Link< VclWindowEvent &, void > > maChildEventListenersDeleted
Definition: window.h:246
VclPtr< vcl::Window > mpLastChild
Definition: window.h:233
sal_Int32 mnWidthRequest
Definition: window.h:263
bool mbKeyInput
Definition: window.h:312
::std::list< VclPtr< vcl::Window > > maTopWindowChildren
Definition: window.h:119
OUString maText
Definition: window.h:254
Link< vcl::Window &, bool > maMnemonicActivateHdl
Definition: window.h:248
void ImplHandleResize(vcl::Window *pWindow, tools::Long nNewWidth, tools::Long nNewHeight)
Definition: winproc.cxx:1639
bool mbFloatWin
Definition: window.h:312
bool mbInitWinClipRegion
Definition: window.h:312
std::vector< VclPtr< vcl::Window > > maOwnerDrawList
Definition: window.h:135
bool mbIsInTaskPaneList
Definition: window.h:312
bool mbFill
Definition: window.h:312
bool mbClipChildren
Definition: window.h:312
OString maHelpId
Definition: window.h:271
bool mbSysWin
Definition: window.h:312
tools::Rectangle maBufferedRect
Rectangle in the buffer that has to be painted to the screen.
Definition: window.h:176
GetFocusFlags
Definition: window.hxx:311
ImplPaintFlags
Definition: window.h:198
bool mbReallyShown
Definition: window.h:312
bool mbDrawSelectionBackground
Definition: window.h:312
DialogControlFlags
Definition: window.hxx:331
bool mbDisabled
Definition: window.h:312
std::optional< tools::Rectangle > mpTrackRect
Definition: window.h:113
ParentClipMode mnParentClipMode
Definition: window.h:295
exports com.sun.star. datatransfer
bool mbFrame
Definition: window.h:312
bool mbInDispose
Definition: window.h:312
bool mbDefSize
Definition: window.h:312
VCLXWindow * mpVCLXWindow
Definition: window.h:281
bool mbInSysObjToTopHdl
Definition: window.h:164
bool isVisibleInLayout(const vcl::Window *pWindow)
Definition: layout.cxx:2873
AlwaysInputMode meAlwaysInputMode
Definition: window.h:298
bool mbPaintDisabled
Definition: window.h:312
vcl::LOKWindowId mnLOKWindowId
ID of this specific window.
Definition: window.h:390
WindowExtendedStyle mnExtendedStyle
Definition: window.h:289
WinBits mnStyle
Definition: window.h:287
VclPackType
Definition: vclenum.hxx:220
bool isEnabledInLayout(const vcl::Window *pWindow)
Definition: layout.cxx:2886
bool mbNativeFocusVisible
Definition: window.h:312
const vcl::ILibreOfficeKitNotifier * mpLOKNotifier
To emit the LOK callbacks eg. for dialog tunneling.
Definition: window.h:389
VclPtr< vcl::Window > mpLastFocusWindow
Definition: window.h:239
bool mbChildPtrOverwrite
Definition: window.h:312
tools::Long mnLastMouseY
Definition: window.h:143
sal_Int32 mnOptimalWidthCache
Definition: window.h:265
tools::Long mnLastMouseWinY
Definition: window.h:149
Color maControlForeground
Definition: window.h:257
tools::Long mnCursorExtWidth
Definition: window.h:105
std::unique_ptr< tools::Rectangle[]> mpCompositionCharRects
Definition: window.h:108
VclAlign meValign
Definition: window.h:300
tools::Long mnY
Definition: window.h:268
OUString maQuickHelpText
Definition: window.h:273
bool mbInShowFocus
Definition: window.h:312
tools::Long mnAbsScreenX
Definition: window.h:269
bool mbInInitShow
Definition: window.h:312
sal_Int32 mnMarginTop
Definition: window.h:310
sal_Int32 mnTouchPanPosition
Definition: window.h:166
ShowTrackFlags
Definition: window.hxx:247
bool mbNoParentUpdate
Definition: window.h:312
OUString maID
Definition: window.h:274
bool mbInMouseMove
Definition: window.h:157
Some things multiple-inherit from VclAbstractDialog and OutputDevice, so we need to use virtual inher...
Definition: outdev.hxx:168
ActivateModeFlags
Definition: window.hxx:158
vcl::Region maWinRegion
Definition: window.h:282
VclPtr< vcl::Window > mpFirstOverlap
Definition: window.h:131
tools::Long mnBeforeLastMouseY
Definition: window.h:145
VclPtr< vcl::Window > mpLastOverlap
Definition: window.h:235
bool mbOverlapVisible
Definition: window.h:312
bool ImplWindowFrameProc(vcl::Window *pInst, SalEvent nEvent, const void *pEvent)
Definition: winproc.cxx:2380
bool mbHelpTextDynamic
Definition: window.h:312
tools::Long mnCompositionCharRects
Definition: window.h:109
bool mbWinRegion
Definition: window.h:312
SalObject * mpSysObj
Definition: window.h:225
PointerStyle maPointer
Definition: window.h:252
bool mbDockWin
Definition: window.h:312
bool mbMouseOver
Definition: window.h:116
bool mbSysObjFocus
Definition: window.h:165
sal_uInt16 mnIsTopWindow
Definition: window.h:115
tools::Long mnLastMouseWinX
Definition: window.h:148
VclPtr< vcl::Window > mpDlgCtrlDownWindow
Definition: window.h:240
VclPtr< vcl::Window > mpOverlapWindow
Definition: window.h:227
Sets up the buffer to have settings matching the window, and restores the original state in the dtor...
Definition: window.h:397
VclAlign meHalign
Definition: window.h:299
VclPtr< vcl::Window > mpClientWindow
Definition: window.h:229
bool ImplHandleMouseEvent(const VclPtr< vcl::Window > &xWindow, MouseNotifyEvent nSVEvent, bool bMouseLeave, tools::Long nX, tools::Long nY, sal_uInt64 nMsgTime, sal_uInt16 nCode, MouseEventModifiers nMode)
Definition: winproc.cxx:264
sal_uInt16 mnModalMode
Definition: window.h:150
sal_uInt16 mnClickCount
Definition: window.h:152
bool mbInPaint
Definition: window.h:312
ControlPart mnNativeBackground
Definition: window.h:291
VCL_DLLPUBLIC css::uno::Reference< css::accessibility::XAccessibleEditableText > FindFocusedEditableText(css::uno::Reference< css::accessibility::XAccessibleContext > const &)
css::uno::Reference< css::datatransfer::dnd::XDropTargetListener > mxDropTargetListener
Definition: window.h:170
VclPtr< vcl::Window > mpBorderWindow
Definition: window.h:228
VclPtr< vcl::Window > mpFirstOverlap
Definition: window.h:234
bool mbInFocusHdl
Definition: window.h:312
std::optional< tools::Rectangle > mpCursorRect
Definition: window.h:104
bool mbVertical
Definition: window.h:106
css::uno::Reference< css::datatransfer::dnd::XDropTarget > mxDropTarget
Definition: window.h:169
ImplFrameData(vcl::Window *pWindow)
Definition: window.cxx:760
sal_Int32 mnDPIX
Definition: window.h:138
WindowImpl(const WindowImpl &)=delete
SalFrame * mpFrame
Definition: window.h:224
sal_Int32 mnLeftBorder
Definition: window.h:259
std::unique_ptr< ExtTextInputAttr[]> mpExtOldAttrAry
Definition: window.h:102
SalEvent
Definition: salwtype.hxx:41
exports com.sun.star.datatransfer. dnd
sal_uInt32 LOKWindowId
bool mbExpand
Definition: window.h:312
AllSettings maSettings
Definition: window.h:403
bool mbControlBackground
Definition: window.h:312
VclPtr< vcl::Window > mpNext
Definition: window.h:237
VclPtr< vcl::Window > pLabelForWindow
Definition: window.h:189
bool mbToolBox
Definition: window.h:312
bool mbUseNativeFocus
Definition: window.h:312
tools::Long mnBeforeLastMouseX
Definition: window.h:144
bool mbDoubleBufferingRequested
Definition: window.h:312
bool mbMouseButtonDown
Definition: window.h:312
Idle maResizeIdle
Definition: window.h:128
ParentClipMode
Definition: window.hxx:235
bool mbWaitSystemResize
Definition: window.h:312
bool mbNoUpdate
Definition: window.h:312
bool mbExtTextInput
Definition: window.h:312
A SalFrame is a system window (e.g. an X11 window).
Definition: salframe.hxx:112
sal_Int32 mnGridLeftAttach
Definition: window.h:304
css::uno::Reference< css::accessibility::XAccessible > mxAccessible
Definition: window.h:277
InputContext maInputContext
Definition: window.h:275
bool mbCallMove
Definition: window.h:312
bool mbBorderWin
Definition: window.h:312
tools::Long mnLastMouseX
Definition: window.h:142
std::unique_ptr< PaintBufferGuard, o3tl::default_delete< PaintBufferGuard > > PaintBufferGuardPtr
Definition: window.h:415
AlwaysInputMode
Definition: window.h:196
std::shared_ptr< ImplFontCache > mxFontCache
Definition: window.h:137
int mnChildEventListenersIteratingCount
Definition: window.h:245
WindowType
VclPtr< vcl::Window > mpMouseDownWin
Definition: window.h:134
bool mbActive
Definition: window.h:312
bool mbEnableNativeWidget
Definition: window.h:117
bool mbMouseTransparent
Definition: window.h:312
bool mbLOKParentNotifier
Definition: window.h:391
bool mbAllResize
Definition: window.h:312
tools::Rectangle m_aPaintRect
Definition: window.h:406
ImplSVEvent * mnFocusId
Definition: window.h:140
sal_uInt64 mnMouseDownTime
Definition: window.h:151
bool mbDialog
Definition: window.h:312
bool mbInputDisabled
Definition: window.h:312
bool mbStartDragCalled
Definition: window.h:159
std::unique_ptr< vcl::Region > mpChildClipRegion
Definition: window.h:285
sal_Int32 mnMarginBottom
Definition: window.h:311
sal_Int32 mnBorderWidth
Definition: window.h:307
sal_Int32 mnBottomBorder
Definition: window.h:262
bool mbKeyUp
Definition: window.h:312
VclPtr< vcl::Window > mpParent
Definition: window.h:230
bool mbNoPtrVisible
Definition: window.h:312
bool mbCompoundControlHasFocus
Definition: window.h:312
Fraction maZoom
Definition: window.h:253
bool mbCreatedWithToolkit
Definition: window.h:312
Idle maPaintIdle
Definition: window.h:127
std::optional< tools::Rectangle > mpFocusRect
Definition: window.h:111
VclPtr< vcl::Window > mpFirstChild
Definition: window.h:232
ShowTrackFlags mnTrackFlags
Definition: window.h:114
VclPtr< vcl::Window > mpNextOverlap
Definition: window.h:238
PointerStyle
Definition: ptrstyle.hxx:25
bool mbChildTransparent
Definition: window.h:312
bool mbControlForeground
Definition: window.h:312
WinBits mnPrevStyle
Definition: window.h:288
VCL_DLLPUBLIC void ImplWindowStateFromStr(WindowStateData &rData, const OString &rStr)
Definition: syswin.cxx:400
sal_Int32 mnGridTopAttach
Definition: window.h:305
ImplSVEvent * mnMouseMoveId
Definition: window.h:141
VclAlign
Definition: vclenum.hxx:212
VCL_DLLPUBLIC Size bestmaxFrameSizeForScreenSize(const Size &rScreenSize)
Definition: dialog.cxx:705
std::optional< OUString > pAccessibleDescription
Definition: window.h:187
bool mbPushButton
Definition: window.h:312
VclPtr< vcl::Window > mpRealParent
Definition: window.h:231
bool mbMenuFloatingWindow
Definition: window.h:312
Link< vcl::Window &, bool > maHelpRequestHdl
Definition: window.h:247
OUString maHelpText
Definition: window.h:272
bool mbOverlapWin
Definition: window.h:312
bool mbCallResize
Definition: window.h:312
Color maControlBackground
Definition: window.h:258
ImplPaintFlags mnPaintFlags
Definition: window.h:293
VclPtr< vcl::Window > mpFocusWin
Definition: window.h:132
css::uno::Reference< css::uno::XInterface > mxDNDListenerContainer
Definition: window.h:387
vcl::Region * mpPaintRegion
Definition: window.h:286
VclPtr< vcl::Window > pMemberOfWindow
Definition: window.h:190
ImplFrameData * mpFrameData
Definition: window.h:223
MouseNotifyEvent
Definition: event.hxx:275
bool mbToolbarFloatingWindow
Definition: window.h:312
bool mbPaintFrame
Definition: window.h:312
VclPtr< vcl::Window > mpFrameWindow
Definition: window.h:226
std::vector< Link< VclWindowEvent &, void > > maEventListeners
Definition: window.h:241
sal_Int32 mnMarginLeft
Definition: window.h:308
VclPtr< vcl::Window > m_pWindow
Definition: window.h:400
bool mbTrackVisible
Definition: window.h:312
WindowImpl & operator=(const WindowImpl &)=delete
sal_uInt16 mnFirstMouseCode
Definition: window.h:153
An idle is a timer to be scheduled immediately.
Definition: idle.hxx:34
sal_Int32 mnRightBorder
Definition: window.h:261
sal_Int32 mnGridHeight
Definition: window.h:303
GetFocusFlags mnGetFocusFlags
Definition: window.h:294
tools::Long mnFirstMouseY
Definition: window.h:147
Wallpaper maBackground
Definition: window.h:402
bool mbFakeFocusSet
Definition: window.h:312