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