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