LibreOffice Module vcl (master)  1
svdata.hxx
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_SVDATA_HXX
21 #define INCLUDED_VCL_INC_SVDATA_HXX
22 
23 #include <config_version.h>
24 
25 #include <o3tl/lru_map.hxx>
26 #include <tools/fldunit.hxx>
27 #include <unotools/options.hxx>
28 #include <vcl/bitmapex.hxx>
29 #include <vcl/svapp.hxx>
30 #include <vcl/window.hxx>
31 #include <vcl/task.hxx>
32 #include <LibreOfficeKit/LibreOfficeKitTypes.h>
33 
34 #include <com/sun/star/lang/XComponent.hpp>
35 #include <com/sun/star/i18n/XCharacterClassification.hpp>
36 
37 #include "vcleventlisteners.hxx"
38 #include "salwtype.hxx"
40 
41 #include <vector>
42 #include <unordered_map>
43 #include <boost/functional/hash.hpp>
44 #include "ControlCacheKey.hxx"
45 #include "schedulerimpl.hxx"
46 #include <basegfx/DrawCommands.hxx>
47 
48 struct ImplPostEventData;
49 struct ImplTimerData;
50 struct ImplIdleData;
51 struct ImplConfigData;
53 struct ImplHotKey;
54 struct ImplEventHook;
55 class Point;
56 class ImplAccelManager;
58 class ImplFontCache;
59 class HelpTextWindow;
60 class ImplTBDragMgr;
61 class ImplIdleMgr;
62 class FloatingWindow;
63 class AllSettings;
64 class NotifyEvent;
65 class Timer;
66 class AutoTimer;
67 class Idle;
68 class Help;
69 class Image;
70 class PopupMenu;
71 class Application;
72 class OutputDevice;
73 class SvFileStream;
74 class SystemWindow;
75 class WorkWindow;
76 class Dialog;
77 class VirtualDevice;
78 class Printer;
79 class SalFrame;
80 class SalInstance;
81 class SalSystem;
82 class ImplPrnQueueList;
83 class UnoWrapperBase;
84 class GraphicConverter;
85 class ImplWheelWindow;
86 class SalTimer;
87 class DockingManager;
88 class VclEventListeners2;
89 class SalData;
90 class OpenGLContext;
91 class UITestLogger;
92 
93 #define SV_ICON_ID_OFFICE 1
94 #define SV_ICON_ID_TEXT 2
95 #define SV_ICON_ID_TEXT_TEMPLATE 3
96 #define SV_ICON_ID_SPREADSHEET 4
97 #define SV_ICON_ID_SPREADSHEET_TEMPLATE 5
98 #define SV_ICON_ID_DRAWING 6
99 #define SV_ICON_ID_PRESENTATION 8
100 #define SV_ICON_ID_MASTER_DOCUMENT 10
101 #define SV_ICON_ID_TEMPLATE 11
102 #define SV_ICON_ID_DATABASE 12
103 #define SV_ICON_ID_FORMULA 13
104 
105 namespace vcl
106 {
107  class DisplayConnectionDispatch;
108  class SettingsConfigItem;
109  class DeleteOnDeinitBase;
110  class Window;
111 }
112 
113 namespace basegfx
114 {
115  class SystemDependentDataManager;
116 }
117 
119 {
120 public:
122 };
123 
124 typedef std::vector<Link<VclWindowEvent&,bool> > SVAppKeyListeners;
125 
126 typedef std::pair<VclPtr<vcl::Window>, ImplPostEventData *> ImplPostEventPair;
127 
129 {
130  ~ImplSVAppData();
131 
132  std::unique_ptr<AllSettings> mpSettings; // Application settings
134  VclEventListeners maEventListeners; // listeners for vcl events (eg, extended toolkit)
135  SVAppKeyListeners maKeyListeners; // listeners for key events only (eg, extended toolkit)
136  std::vector<ImplPostEventPair> maPostedEventList;
137  ImplAccelManager* mpAccelMgr; // Accelerator Manager
139  boost::optional<OUString> mxAppFileName; // Abs. Application FileName
140  boost::optional<OUString> mxDisplayName; // Application Display Name
142  Help* mpHelp = nullptr; // Application help
143  VclPtr<PopupMenu> mpActivePopupMenu; // Actives Popup-Menu (in Execute)
145  sal_uInt64 mnLastInputTime = 0; // GetLastInputTime()
146  sal_uInt16 mnDispatchLevel = 0; // DispatchLevel
147  sal_uInt16 mnModalMode = 0; // ModalMode Count
148  SystemWindowFlags mnSysWinMode = SystemWindowFlags(0); // Mode, when SystemWindows should be created
149  bool mbInAppMain = false; // is Application::Main() on stack
150  bool mbInAppExecute = false; // is Application::Execute() on stack
151  bool mbAppQuit = false; // is Application::Quit() called
152  bool mbSettingsInit = false; // true: Settings are initialized
153  DialogCancelMode meDialogCancel = DialogCancelMode::Off; // true: All Dialog::Execute() calls will be terminated immediately with return false
154  bool mbRenderToBitmaps = false; // set via svp / headless plugin
155 
159 
160  DECL_STATIC_LINK(ImplSVAppData, ImplQuitMsg, void*, void);
161  DECL_STATIC_LINK(ImplSVAppData, ImplPrepareExitMsg, void*, void);
162  DECL_STATIC_LINK(ImplSVAppData, ImplEndAllDialogsMsg, void*, void);
163  DECL_STATIC_LINK(ImplSVAppData, ImplEndAllPopupsMsg, void*, void);
164  DECL_STATIC_LINK(ImplSVAppData, ImplVclEventTestingHdl, void*, void);
165  DECL_LINK(VclEventTestingHdl, Timer*, void);
166 };
167 
169 {
170  ~ImplSVGDIData();
171 
172  VclPtr<OutputDevice> mpFirstWinGraphics; // First OutputDevice with a Frame Graphics
173  VclPtr<OutputDevice> mpLastWinGraphics; // Last OutputDevice with a Frame Graphics
174  VclPtr<OutputDevice> mpFirstVirGraphics; // First OutputDevice with a VirtualDevice Graphics
175  VclPtr<OutputDevice> mpLastVirGraphics; // Last OutputDevice with a VirtualDevice Graphics
176  VclPtr<OutputDevice> mpFirstPrnGraphics; // First OutputDevice with an InfoPrinter Graphics
177  VclPtr<OutputDevice> mpLastPrnGraphics; // Last OutputDevice with an InfoPrinter Graphics
178  VclPtr<VirtualDevice> mpFirstVirDev; // First VirtualDevice
179  OpenGLContext* mpLastContext = nullptr; // Last OpenGLContext
180  VclPtr<Printer> mpFirstPrinter; // First Printer
181  std::unique_ptr<ImplPrnQueueList> mpPrinterQueueList; // List of all printer queue
182  std::shared_ptr<PhysicalFontCollection> mxScreenFontList; // Screen-Font-List
183  std::shared_ptr<ImplFontCache> mxScreenFontCache; // Screen-Font-Cache
185  ImplDirectFontSubstitution* mpDirectFontSubst = nullptr; // Font-Substitutions defined in Tools->Options->Fonts
186  GraphicConverter* mpGrfConverter = nullptr; // Converter for graphics
187  long mnAppFontX = 0; // AppFont X-Numenator for 40/tel Width
188  long mnAppFontY = 0; // AppFont Y-Numenator for 80/tel Height
189  bool mbFontSubChanged = false; // true: FontSubstitution was changed between Begin/End
190 
193 };
194 
196 {
197  ~ImplSVWinData();
198  VclPtr<vcl::Window> mpFirstFrame; // First FrameWindow
199  VclPtr<WorkWindow> mpAppWin; // Application-Window
200  VclPtr<vcl::Window> mpFocusWin; // window, that has the focus
201  VclPtr<vcl::Window> mpActiveApplicationFrame; // the last active application frame, can be used as DefModalDialogParent if no focuswin set
202  VclPtr<vcl::Window> mpCaptureWin; // window, that has the mouse capture
203  VclPtr<vcl::Window> mpLastDeacWin; // Window, that need a deactivate (FloatingWindow-Handling)
204  VclPtr<FloatingWindow> mpFirstFloat; // First FloatingWindow in PopupMode
205  std::vector<VclPtr<Dialog>> mpExecuteDialogs;
206  VclPtr<vcl::Window> mpExtTextInputWin; // Window, which is in ExtTextInput
207  VclPtr<vcl::Window> mpTrackWin; // window, that is in tracking mode
208  AutoTimer* mpTrackTimer = nullptr; // tracking timer
209  std::vector<Image> maMsgBoxImgList; // ImageList for MessageBox
210  VclPtr<vcl::Window> mpAutoScrollWin; // window, that is in AutoScrollMode mode
211  VclPtr<vcl::Window> mpLastWheelWindow; // window, that last received a mouse wheel event
212  SalWheelMouseEvent maLastWheelEvent; // the last received mouse wheel event
213 
216  bool mbNoDeactivate = false; // true: do not execute Deactivate
217  bool mbNoSaveFocus = false; // true: menus must not save/restore focus
218 
219  std::unique_ptr<UITestLogger> m_pUITestLogger;
220 };
221 
222 typedef std::vector< std::pair< OUString, FieldUnit > > FieldUnitStringList;
223 
225 {
226  std::vector<Image> maCheckImgList; // ImageList for CheckBoxes
227  std::vector<Image> maRadioImgList; // ImageList for RadioButtons
228  std::unique_ptr<Image> mpDisclosurePlus;
229  std::unique_ptr<Image> mpDisclosureMinus;
230  ImplTBDragMgr* mpTBDragMgr = nullptr; // DragMgr for ToolBox
231  sal_uInt16 mnCheckStyle = 0; // CheckBox-Style for ImageList-Update
232  sal_uInt16 mnRadioStyle = 0; // Radio-Style for ImageList-Update
233  Color mnLastCheckFColor; // Last FaceColor for CheckImage
234  Color mnLastCheckWColor; // Last WindowColor for CheckImage
235  Color mnLastCheckLColor; // Last LightColor for CheckImage
236  Color mnLastRadioFColor; // Last FaceColor for RadioImage
237  Color mnLastRadioWColor; // Last WindowColor for RadioImage
238  Color mnLastRadioLColor; // Last LightColor for RadioImage
239  FieldUnitStringList maFieldUnitStrings; // list with field units
240  FieldUnitStringList maCleanUnitStrings; // same list but with some "fluff" like spaces removed
241 };
242 
244 {
245  ~ImplSVHelpData();
246  bool mbContextHelp = false; // is ContextHelp enabled
247  bool mbExtHelp = false; // is ExtendedHelp enabled
248  bool mbExtHelpMode = false; // is in ExtendedHelp Mode
249  bool mbOldBalloonMode = false; // BalloonMode, before ExtHelpMode started
250  bool mbBalloonHelp = false; // is BalloonHelp enabled
251  bool mbQuickHelp = false; // is QuickHelp enabled
252  bool mbSetKeyboardHelp = false; // tiphelp was activated by keyboard
253  bool mbKeyboardHelp = false; // tiphelp was activated by keyboard
254  bool mbRequestingHelp = false; // In Window::RequestHelp
256  sal_uInt64 mnLastHelpHideTime = 0; // ticks of last show
257 };
258 
259 // "NWF" means "Native Widget Framework" and was the term used for the
260 // idea that StarView/OOo "widgets" should *look* (and feel) like the
261 // "native widgets" on each platform, even if not at all implemented
262 // using them. See http://people.redhat.com/dcbw/ooo-nwf.html .
263 
265 {
266  int mnStatusBarLowerRightOffset = 0; // amount in pixel to avoid in the lower righthand corner
267  int mnMenuFormatBorderX = 0; // horizontal inner popup menu border
268  int mnMenuFormatBorderY = 0; // vertical inner popup menu border
269  ::Color maMenuBarHighlightTextColor = COL_TRANSPARENT; // override highlight text color
270  // in menubar if not transparent
271  bool mbMenuBarDockingAreaCommonBG = false; // e.g. WinXP default theme
272  bool mbDockingAreaSeparateTB = false; // individual toolbar backgrounds
273  // instead of one for docking area
275  bool mbFlatMenu = false; // no popup 3D border
276  bool mbNoFocusRects = false; // on Aqua/Gtk3 use native focus rendering, except for flat buttons
277  bool mbNoFocusRectsForFlatButtons = false; // on Gtk3 native focusing is also preferred for flat buttons
278  bool mbCenteredTabs = false; // on Aqua, tabs are centered
279  bool mbNoActiveTabTextRaise = false; // on Aqua the text for the selected tab
280  // should not "jump up" a pixel
281  bool mbProgressNeedsErase = false; // set true for platforms that should draw the
282  // window background before drawing the native
283  // progress bar
284  bool mbCanDrawWidgetAnySize = false; // set to true currently on gtk
285 
287  bool mbDDListBoxNoTextArea = false;
288  bool mbAutoAccel = false; // whether accelerators are only shown when Alt is held down
289  bool mbRolloverMenubar = false; // theming engine supports rollover in menubar
290  // gnome#768128 I cannot see a route under wayland at present to support
291  // floating toolbars that can be redocked because there's no way to track
292  // that the toolbar is over a dockable area.
294 
296 };
297 
299 {
307 
309  : m_aLastSize(0, 0)
310  , m_nLastAlpha(0)
311  , m_aLastColorTopLeft(COL_BLACK)
312  , m_aLastColorTopRight(COL_BLACK)
313  , m_aLastColorBottomRight(COL_BLACK)
314  , m_aLastColorBottomLeft(COL_BLACK)
315  {
316  }
317 };
318 
320 {
325  SalTimer* mpSalTimer = nullptr;
326  sal_uInt64 mnTimerStart = 0;
329  bool mbActive = true;
330 };
331 
333 {
334  ~ImplSVData();
335  SalData* mpSalData = nullptr;
336  SalInstance* mpDefInst = nullptr; // Default SalInstance
337  Application* mpApp = nullptr; // pApp
338  VclPtr<WorkWindow> mpDefaultWin; // Default-Window
339  bool mbDeInit = false; // Is VCL deinitializing
340  std::unique_ptr<SalSystem> mpSalSystem; // SalSystem interface
341  int mnFontUpdatesLockCount = 0; // avoid repeated font updates
342  bool mbFontUpdatesPending = false; // need to update font data after unlock
343  bool mbFontUpdatesNewLists = false; // generate new font lists
344  bool mbResLocaleSet = false; // SV-Resource-Manager
345  std::locale maResLocale; // Resource locale
346  ImplSchedulerContext maSchedCtx; // indepen data for class Scheduler
347  ImplSVAppData maAppData; // indepen data for class Application
348  ImplSVGDIData maGDIData; // indepen data for Output classes
349  ImplSVWinData maWinData; // indepen data for Windows classes
350  ImplSVCtrlData maCtrlData; // indepen data for Control classes
351  ImplSVHelpData maHelpData; // indepen data for Help classes
354  VclPtr<vcl::Window> mpIntroWindow; // the splash screen
355  std::unique_ptr<DockingManager> mpDockingManager;
356  std::unique_ptr<BlendFrameCache> mpBlendFrameCache;
357 
358  oslThreadIdentifier mnMainThreadId = 0;
360 
361  css::uno::Reference< css::lang::XComponent > mxAccessBridge;
362  std::unique_ptr<vcl::SettingsConfigItem> mpSettingsConfigItem;
363  std::vector< vcl::DeleteOnDeinitBase* > maDeinitDeleteList;
364  std::unordered_map< int, OUString > maPaperNames;
365 
366  css::uno::Reference<css::i18n::XCharacterClassification> m_xCharClass;
367 
369 
370  // LOK & headless backend specific hooks
371  LibreOfficeKitPollCallback mpPollCallback = nullptr;
372  LibreOfficeKitWakeCallback mpWakeCallback = nullptr;
373  void *mpPollClosure = nullptr;
374 };
375 
376 css::uno::Reference<css::i18n::XCharacterClassification> const& ImplGetCharClass();
377 
378 void ImplDeInitSVData();
382 const std::locale& ImplGetResLocale();
383 VCL_PLUGIN_PUBLIC OUString VclResId(const char* pId);
386 
388 
391 
392 #ifdef _WIN32
393 bool ImplInitAccessBridge();
394 #endif
395 
398 
400 {
401  void* mpData;
405  bool mbCall;
406 };
407 
408 extern int nImplSysDialog;
409 
410 #endif // INCLUDED_VCL_INC_SVDATA_HXX
411 
412 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
do not automatically cancel dialogs
Color m_aLastColorBottomLeft
Definition: svdata.hxx:305
ConfigurationHints
Color mnLastRadioLColor
Definition: svdata.hxx:238
VclPtr< HelpTextWindow > mpHelpWin
Definition: svdata.hxx:255
boost::optional< OUString > mxDisplayName
Definition: svdata.hxx:140
std::unique_ptr< SalSystem > mpSalSystem
Definition: svdata.hxx:340
boost::optional< OUString > mxToolkitName
Definition: svdata.hxx:141
oslThreadIdentifier mnMainThreadId
Definition: svdata.hxx:358
bool mbCanDrawWidgetAnySize
Definition: svdata.hxx:284
constexpr::Color COL_BLACK(0x00, 0x00, 0x00)
SchedulerMutex maMutex
lock counting mutex for scheduler locking
Definition: svdata.hxx:328
VclPtr< vcl::Window > mpFocusWin
Definition: svdata.hxx:200
SalData * mpSalData
Definition: svdata.hxx:335
Color mnLastCheckWColor
Definition: svdata.hxx:234
bool mbNoSaveFocus
Definition: svdata.hxx:217
bool mbFontSubChanged
Definition: svdata.hxx:189
sal_uInt16 mnCheckStyle
Definition: svdata.hxx:231
int mnMenuFormatBorderX
Definition: svdata.hxx:267
Link< LinkParamNone *, void > maDeInitHook
Definition: svdata.hxx:368
VclPtr< vcl::Window > mpActiveApplicationFrame
Definition: svdata.hxx:201
StartAutoScrollFlags
Definition: window.hxx:299
StartTrackingFlags
Definition: window.hxx:285
Help * mpHelp
Definition: svdata.hxx:142
bool mbNoActiveTabTextRaise
Definition: svdata.hxx:279
Definition: help.hxx:60
BitmapEx m_aLastResult
Definition: svdata.hxx:306
VCL_PLUGIN_PUBLIC vcl::Window * ImplGetDefaultWindow()
Returns either the application window, or the default GL context window.
Definition: svdata.cxx:202
bool mbNoDeactivate
Definition: svdata.hxx:216
#define VCL_DLLPUBLIC
Definition: dllapi.h:29
ImplSVAppData maAppData
Definition: svdata.hxx:347
int mnStatusBarLowerRightOffset
Definition: svdata.hxx:266
VclPtr< OutputDevice > mpLastVirGraphics
Definition: svdata.hxx:175
void * mpPollClosure
Definition: svdata.hxx:373
std::unique_ptr< vcl::SettingsConfigItem > mpSettingsConfigItem
Definition: svdata.hxx:362
VclPtr< PopupMenu > mpActivePopupMenu
Definition: svdata.hxx:143
#define PRIO_COUNT
Definition: task.hxx:39
ImplSVNWFData maNWFData
Definition: svdata.hxx:352
css::uno::Reference< css::lang::XComponent > mxAccessBridge
Definition: svdata.hxx:361
std::unique_ptr< AllSettings > mpSettings
Definition: svdata.hxx:132
bool mbMenuBarDockingAreaCommonBG
Definition: svdata.hxx:271
std::pair< VclPtr< vcl::Window >, ImplPostEventData * > ImplPostEventPair
Definition: svdata.hxx:126
~ImplSVData()
Definition: svdata.cxx:356
bool mbNoFocusRectsForFlatButtons
Definition: svdata.hxx:277
bool mbRequestingHelp
Definition: svdata.hxx:254
Idle * mpEventTestingIdle
Definition: svdata.hxx:157
SalTimer * mpSalTimer
interface to sal event loop / system timer
Definition: svdata.hxx:325
vcl::Window * ImplGetDefaultContextWindow()
returns the default window created to hold the persistent VCL GL context.
Definition: svdata.cxx:212
Size m_aLastSize
Definition: svdata.hxx:300
ImplSchedulerData * mpFirstSchedulerData[PRIO_COUNT]
list of all active tasks per priority
Definition: svdata.hxx:321
bool mbFontUpdatesPending
Definition: svdata.hxx:342
ImplSVGDIData maGDIData
Definition: svdata.hxx:348
int mnListBoxEntryMargin
Definition: svdata.hxx:295
bool mbInAppExecute
Definition: svdata.hxx:150
ImplSVCtrlData maCtrlData
Definition: svdata.hxx:350
DECL_LINK(VclEventTestingHdl, Timer *, void)
bool mbExtHelpMode
Definition: svdata.hxx:248
bool mbAppQuit
Definition: svdata.hxx:151
bool mbResLocaleSet
Definition: svdata.hxx:344
std::vector< Link< VclWindowEvent &, bool > > SVAppKeyListeners
Definition: svdata.hxx:124
std::unique_ptr< ImplPrnQueueList > mpPrinterQueueList
Definition: svdata.hxx:181
constexpr::Color COL_TRANSPARENT(0xFF, 0xFF, 0xFF, 0xFF)
bool mbSettingsInit
Definition: svdata.hxx:152
std::vector< ImplPostEventPair > maPostedEventList
Definition: svdata.hxx:136
LibreOfficeKitPollCallback mpPollCallback
Definition: svdata.hxx:371
std::unique_ptr< BlendFrameCache > mpBlendFrameCache
Definition: svdata.hxx:356
sal_uInt64 mnLastHelpHideTime
Definition: svdata.hxx:256
bool mbFontUpdatesNewLists
Definition: svdata.hxx:343
VclPtr< OutputDevice > mpFirstWinGraphics
Definition: svdata.hxx:172
bool mbSetKeyboardHelp
Definition: svdata.hxx:252
o3tl::lru_map< SalBitmap *, BitmapEx > maScaleCache
Definition: svdata.hxx:184
VclPtr< WorkWindow > mpAppWin
Definition: svdata.hxx:199
const std::locale & ImplGetResLocale()
Definition: svdata.cxx:247
std::unique_ptr< UITestLogger > m_pUITestLogger
Definition: svdata.hxx:219
bool mbDockingAreaAvoidTBFrames
don't draw frames around the individual toolbars if mbDockingAreaSeparateTB is false ...
Definition: svdata.hxx:274
VclPtr< VirtualDevice > mpFirstVirDev
Definition: svdata.hxx:178
DockingManager * ImplGetDockingManager()
Definition: svdata.cxx:299
AutoTimer * mpTrackTimer
Definition: svdata.hxx:208
VCL_PLUGIN_PUBLIC ImplSVData * ImplGetSVData()
Definition: svdata.cxx:67
sal_uInt8 m_nLastAlpha
Definition: svdata.hxx:301
DECL_STATIC_LINK(ImplSVAppData, ImplQuitMsg, void *, void)
bool mbAutoAccel
Definition: svdata.hxx:288
o3tl::lru_map< OUString, BitmapEx > maThemeImageCache
Definition: svdata.hxx:191
VclPtr< ImplWheelWindow > mpWheelWindow
Definition: svdata.hxx:144
Color m_aLastColorTopRight
Definition: svdata.hxx:303
LibreOfficeKitWakeCallback mpWakeCallback
Definition: svdata.hxx:372
GraphicConverter * mpGrfConverter
Definition: svdata.hxx:186
VclPtr< Printer > mpFirstPrinter
Definition: svdata.hxx:180
int mnFontUpdatesLockCount
Definition: svdata.hxx:341
An auto-timer is a multi-shot timer re-emitting itself at interval until destroyed or stopped...
Definition: timer.hxx:72
std::vector< VclPtr< Dialog > > mpExecuteDialogs
Stack of dialogs that are Execute()'d - the last one is the top most one.
Definition: svdata.hxx:205
StartAutoScrollFlags mnAutoScrollFlags
Definition: svdata.hxx:215
BlendFrameCache * ImplGetBlendFrameCache()
Definition: svdata.cxx:308
VclPtr< vcl::Window > mpCaptureWin
Definition: svdata.hxx:202
bool mbCall
Definition: svdata.hxx:405
SvFileStream * mpEventTestInput
Definition: svdata.hxx:156
Color m_aLastColorTopLeft
Definition: svdata.hxx:302
sal_uInt16 mnModalMode
Definition: svdata.hxx:147
#define SAL_MAX_UINT64
sal_uInt64 mnLastInputTime
Definition: svdata.hxx:145
VCL_DLLPUBLIC bool ImplCallPreNotify(NotifyEvent &rEvt)
Definition: winproc.cxx:58
VclPtr< vcl::Window > mpIntroWindow
Definition: svdata.hxx:354
int mnMenuFormatBorderY
Definition: svdata.hxx:268
VclPtr< vcl::Window > mpInstanceRef
Definition: svdata.hxx:403
FieldUnitStringList maCleanUnitStrings
Definition: svdata.hxx:240
bool mbQuickHelp
Definition: svdata.hxx:251
bool mbExtHelp
Definition: svdata.hxx:247
std::vector< Image > maMsgBoxImgList
Definition: svdata.hxx:209
Color m_aLastColorBottomRight
Definition: svdata.hxx:304
Link< void *, void > maLink
Definition: svdata.hxx:402
SystemWindowFlags
Definition: svapp.hxx:93
std::unique_ptr< Image > mpDisclosureMinus
Definition: svdata.hxx:229
VclPtr< vcl::Window > mpLastWheelWindow
Definition: svdata.hxx:211
sal_uInt16 mnRadioStyle
Definition: svdata.hxx:232
VCL_PLUGIN_PUBLIC void ImplHideSplash()
Definition: dialog.cxx:122
void ImplDeInitSVData()
Definition: svdata.cxx:79
std::vector< vcl::DeleteOnDeinitBase * > maDeinitDeleteList
Definition: svdata.hxx:363
VCL_PLUGIN_PUBLIC basegfx::SystemDependentDataManager & ImplGetSystemDependentDataManager()
Definition: svdata.cxx:194
css::uno::Reference< css::i18n::XCharacterClassification > const & ImplGetCharClass()
Definition: field2.cxx:56
ImplSchedulerData * mpSchedulerStack
stack of invoked tasks
Definition: svdata.hxx:323
SystemWindowFlags mnSysWinMode
Definition: svdata.hxx:148
Some things multiple-inherit from VclAbstractDialog and OutputDevice, so we need to use virtual inher...
Definition: outdev.hxx:304
bool mbCanDetermineWindowPosition
Definition: svdata.hxx:293
LocaleConfigurationListener * mpCfgListener
Definition: svdata.hxx:133
ImplSVHelpData maHelpData
Definition: svdata.hxx:351
ImplSchedulerData * mpLastSchedulerData[PRIO_COUNT]
last item of each mpFirstSchedulerData list
Definition: svdata.hxx:322
Base class used mainly for the LibreOffice Desktop class.
Definition: svapp.hxx:238
boost::optional< OUString > mxAppFileName
Definition: svdata.hxx:139
VclPtr< vcl::Window > mpLastDeacWin
Definition: svdata.hxx:203
o3tl::lru_map< OUString, gfx::DrawRoot > maThemeDrawCommandsCache
Definition: svdata.hxx:192
bool mbDockingAreaSeparateTB
Definition: svdata.hxx:272
bool mbContextHelp
Definition: svdata.hxx:246
VclPtr< vcl::Window > mpTrackWin
Definition: svdata.hxx:207
long mnAppFontX
Definition: svdata.hxx:187
ImplSchedulerContext maSchedCtx
Definition: svdata.hxx:346
sal_uInt64 mnTimerStart
start time of the timer
Definition: svdata.hxx:326
const FieldUnitStringList & ImplGetFieldUnits()
Definition: svdata.cxx:263
ImplSVWinData maWinData
Definition: svdata.hxx:349
#define VCL_PLUGIN_PUBLIC
Definition: dllapi.h:40
SalWheelMouseEvent maLastWheelEvent
Definition: svdata.hxx:212
A SalFrame is a system window (e.g. an X11 window).
Definition: salframe.hxx:112
css::uno::Reference< css::i18n::XCharacterClassification > m_xCharClass
Definition: svdata.hxx:366
virtual void ConfigurationChanged(utl::ConfigurationBroadcaster *, ConfigurationHints) override
Definition: svdata.cxx:350
VclPtr< vcl::Window > mpExtTextInputWin
Definition: svdata.hxx:206
void * mpData
Definition: svdata.hxx:401
ImplTBDragMgr * mpTBDragMgr
Definition: svdata.hxx:230
int nImplSysDialog
Definition: print.cxx:50
bool mbRolloverMenubar
Definition: svdata.hxx:289
bool mbBalloonHelp
Definition: svdata.hxx:250
std::vector< Image > maCheckImgList
Definition: svdata.hxx:226
bool mbOldBalloonMode
Definition: svdata.hxx:249
const FieldUnitStringList & ImplGetCleanedFieldUnits()
Definition: svdata.cxx:279
bool mbNoFocusRects
Definition: svdata.hxx:276
unsigned char sal_uInt8
bool mbProgressNeedsErase
Definition: svdata.hxx:281
std::vector< Image > maRadioImgList
Definition: svdata.hxx:227
bool mbFlatMenu
Definition: svdata.hxx:275
VclPtr< OutputDevice > mpLastWinGraphics
Definition: svdata.hxx:173
VclPtr< vcl::Window > mpAutoScrollWin
Definition: svdata.hxx:210
bool mbActive
is the scheduler active?
Definition: svdata.hxx:329
sal_uInt16 mnDispatchLevel
Definition: svdata.hxx:146
VclPtr< OutputDevice > mpFirstVirGraphics
Definition: svdata.hxx:174
Definition: image.hxx:40
bool mbDeInit
Definition: svdata.hxx:339
std::shared_ptr< ImplFontCache > mxScreenFontCache
Definition: svdata.hxx:183
Color mnLastRadioFColor
Definition: svdata.hxx:236
VclEventListeners maEventListeners
Definition: svdata.hxx:134
ImplDirectFontSubstitution * mpDirectFontSubst
Definition: svdata.hxx:185
SVAppKeyListeners maKeyListeners
Definition: svdata.hxx:135
std::vector< std::pair< OUString, FieldUnit > > FieldUnitStringList
Definition: svdata.hxx:222
Color mnLastCheckLColor
Definition: svdata.hxx:235
ImplSchedulerData * mpSchedulerStackTop
top most stack entry to detect needed rescheduling during pop
Definition: svdata.hxx:324
VclPtr< FloatingWindow > mpFirstFloat
Definition: svdata.hxx:204
VclPtr< vcl::Window > mpWindow
Definition: svdata.hxx:404
VclPtr< vcl::Window > mpFirstFrame
Definition: svdata.hxx:198
std::unique_ptr< Image > mpDisclosurePlus
Definition: svdata.hxx:228
VclPtr< OutputDevice > mpFirstPrnGraphics
Definition: svdata.hxx:176
DialogCancelMode meDialogCancel
Definition: svdata.hxx:153
bool mbRenderToBitmaps
Definition: svdata.hxx:154
FieldUnitStringList maFieldUnitStrings
Definition: svdata.hxx:239
Application * mpApp
Definition: svdata.hxx:337
ImplAccelManager * mpAccelMgr
Definition: svdata.hxx:137
Definition: timer.hxx:26
std::unique_ptr< DockingManager > mpDockingManager
Definition: svdata.hxx:355
Color mnLastRadioWColor
Definition: svdata.hxx:237
bool mbDDListBoxNoTextArea
entire drop down listbox resembles a button, no textarea/button parts (as currently on Windows) ...
Definition: svdata.hxx:287
VclPtr< OutputDevice > mpLastPrnGraphics
Definition: svdata.hxx:177
sal_uInt64 mnTimerPeriod
current timer period
Definition: svdata.hxx:327
boost::optional< OUString > mxAppName
Definition: svdata.hxx:138
DialogCancelMode
Definition: svapp.hxx:218
OpenGLContext * mpLastContext
Definition: svdata.hxx:179
rtl::Reference< vcl::DisplayConnectionDispatch > mxDisplayConnection
Definition: svdata.hxx:359
StartTrackingFlags mnTrackFlags
Definition: svdata.hxx:214
long mnAppFontY
Definition: svdata.hxx:188
UnoWrapperBase * mpUnoWrapper
Definition: svdata.hxx:353
bool mbInAppMain
Definition: svdata.hxx:149
std::shared_ptr< PhysicalFontCollection > mxScreenFontList
Definition: svdata.hxx:182
::Color maMenuBarHighlightTextColor
Definition: svdata.hxx:269
std::locale maResLocale
Definition: svdata.hxx:345
int mnEventTestLimit
Definition: svdata.hxx:158
bool mbKeyboardHelp
Definition: svdata.hxx:253
SalInstance * mpDefInst
Definition: svdata.hxx:336
Color mnLastCheckFColor
Definition: svdata.hxx:233
An idle is a timer to be scheduled immediately.
Definition: idle.hxx:30
std::unordered_map< int, OUString > maPaperNames
Definition: svdata.hxx:364
VCL_PLUGIN_PUBLIC OUString VclResId(const char *pId)
Definition: svdata.cxx:258
VclPtr< WorkWindow > mpDefaultWin
Definition: svdata.hxx:338
bool mbCenteredTabs
Definition: svdata.hxx:278