LibreOffice Module vcl (master)  1
settings.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_SETTINGS_HXX
21 #define INCLUDED_VCL_SETTINGS_HXX
22 
23 #include <tools/solar.h>
24 #include <vcl/dllapi.h>
25 #include <tools/color.hxx>
26 #include <tools/gen.hxx>
27 #include <o3tl/typed_flags_set.hxx>
28 
29 #include <memory>
30 #include <vector>
31 
32 #include <optional>
33 
34 class BitmapEx;
35 class LanguageTag;
36 class SvtSysLocale;
37 
38 class LocaleDataWrapper;
39 struct ImplMouseData;
40 struct ImplMiscData;
41 struct ImplHelpData;
42 struct ImplStyleData;
43 struct ImplAllSettingsData;
44 enum class ConfigurationHints;
45 
46 namespace vcl {
47  class Font;
48  class I18nHelper;
49  class IconThemeInfo;
50 }
51 
52 
54 {
55  NONE = 0x00,
56  AutoFocus = 0x01,
57  AutoCenterPos = 0x02,
58  AutoDefBtnPos = 0x04,
59 };
60 namespace o3tl
61 {
62  template<> struct typed_flags<MouseSettingsOptions> : is_typed_flags<MouseSettingsOptions, 0x07> {};
63 }
64 
65 enum class MouseFollowFlags
66 {
67  Menu = 0x0001,
68  DDList = 0x0002,
69 };
70 namespace o3tl
71 {
72  template<> struct typed_flags<MouseFollowFlags> : is_typed_flags<MouseFollowFlags, 0x03> {};
73 }
74 
76 {
78 };
79 
81 {
83 };
84 
86 {
87 private:
88  void CopyData();
89  std::shared_ptr<ImplMouseData> mxData;
90 
91 public:
92  MouseSettings();
93 
94  void SetOptions( MouseSettingsOptions nOptions );
95  MouseSettingsOptions GetOptions() const;
96 
97  void SetDoubleClickTime( sal_uInt64 nDoubleClkTime );
98  sal_uInt64 GetDoubleClickTime() const;
99 
100  void SetDoubleClickWidth( long nDoubleClkWidth );
101  long GetDoubleClickWidth() const;
102 
103  void SetDoubleClickHeight( long nDoubleClkHeight );
104  long GetDoubleClickHeight() const;
105 
106  void SetStartDragWidth( long nDragWidth );
107  long GetStartDragWidth() const;
108 
109  void SetStartDragHeight( long nDragHeight );
110  long GetStartDragHeight() const;
111 
112  static sal_uInt16 GetStartDragCode();
113 
114  static sal_uInt16 GetContextMenuCode();
115 
116  static sal_uInt16 GetContextMenuClicks();
117 
118  static sal_uLong GetScrollRepeat();
119 
120  static sal_uLong GetButtonStartRepeat();
121 
122  void SetButtonRepeat( sal_uLong nRepeat );
123  sal_uLong GetButtonRepeat() const;
124 
125  static sal_uLong GetActionDelay();
126 
127  void SetMenuDelay( sal_uLong nDelay );
128  sal_uLong GetMenuDelay() const;
129 
130  void SetFollow( MouseFollowFlags nFollow );
131  MouseFollowFlags GetFollow() const;
132 
133  void SetMiddleButtonAction( MouseMiddleButtonAction nAction );
134  MouseMiddleButtonAction GetMiddleButtonAction() const;
135 
136  void SetWheelBehavior( MouseWheelBehaviour nBehavior );
137  MouseWheelBehaviour GetWheelBehavior() const;
138 
139  bool operator ==( const MouseSettings& rSet ) const;
140  bool operator !=( const MouseSettings& rSet ) const;
141 };
142 
144 {
149  : content_area_border(2)
150  , button_spacing(6)
151  , action_area_border(5)
152  {}
153 };
154 
156 {
157  NONE = 0x0000,
158  Mono = 0x0001,
159  NoMnemonics = 0x0002,
160 };
161 namespace o3tl
162 {
163  template<> struct typed_flags<StyleSettingsOptions> : is_typed_flags<StyleSettingsOptions, 0x0003> {};
164 }
165 
166 enum class DragFullOptions
167 {
168  NONE = 0x0000,
169  WindowMove = 0x0001,
170  WindowSize = 0x0002,
171  Docking = 0x0010,
172  Split = 0x0020,
173  Scroll = 0x0040,
175 };
176 namespace o3tl
177 {
178  template<> struct typed_flags<DragFullOptions> : is_typed_flags<DragFullOptions, 0x0073> {};
179 }
180 
182 {
183  NONE = 0x0000,
184  Focus = 0x0001,
185  Invert = 0x0002,
186  ShowFirst = 0x0004,
187 };
188 namespace o3tl
189 {
190  template<> struct typed_flags<SelectionOptions> : is_typed_flags<SelectionOptions, 0x0007> {};
191 }
192 
193 enum class DisplayOptions
194 {
195  NONE = 0x0000,
196  AADisable = 0x0001,
197 };
198 namespace o3tl
199 {
200  template<> struct typed_flags<DisplayOptions> : is_typed_flags<DisplayOptions, 0x0001> {};
201 }
202 
203 enum class ToolbarIconSize
204 {
205  Unknown = 0,
206  Small = 1, // unused
207  Large = 2,
208  Size32 = 3,
209 };
210 
211 #define STYLE_CURSOR_NOBLINKTIME SAL_MAX_UINT64
212 
214 {
215  void CopyData();
216 
217 private:
218  std::shared_ptr<ImplStyleData> mxData;
219 
220 public:
221  StyleSettings();
222 
223  void Set3DColors( const Color& rColor );
224 
225  void SetFaceColor( const Color& rColor );
226  const Color& GetFaceColor() const;
227 
228  Color GetFaceGradientColor() const;
229 
230  Color GetSeparatorColor() const;
231 
232  void SetCheckedColor( const Color& rColor );
233  void SetCheckedColorSpecialCase( );
234  const Color& GetCheckedColor() const;
235 
236  void SetLightColor( const Color& rColor );
237  const Color& GetLightColor() const;
238 
239  void SetLightBorderColor( const Color& rColor );
240  const Color& GetLightBorderColor() const;
241 
242  void SetShadowColor( const Color& rColor );
243  const Color& GetShadowColor() const;
244 
245  void SetDarkShadowColor( const Color& rColor );
246  const Color& GetDarkShadowColor() const;
247 
248  void SetDefaultButtonTextColor( const Color& rColor );
249  const Color& GetDefaultButtonTextColor() const;
250 
251  void SetButtonTextColor( const Color& rColor );
252  const Color& GetButtonTextColor() const;
253 
254  void SetDefaultActionButtonTextColor( const Color& rColor );
255  const Color& GetDefaultActionButtonTextColor() const;
256 
257  void SetActionButtonTextColor( const Color& rColor );
258  const Color& GetActionButtonTextColor() const;
259 
260  void SetFlatButtonTextColor( const Color& rColor );
261  const Color& GetFlatButtonTextColor() const;
262 
263  void SetDefaultButtonRolloverTextColor( const Color& rColor );
264  const Color& GetDefaultButtonRolloverTextColor() const;
265 
266  void SetButtonRolloverTextColor( const Color& rColor );
267  const Color& GetButtonRolloverTextColor() const;
268 
269  void SetDefaultActionButtonRolloverTextColor( const Color& rColor );
270  const Color& GetDefaultActionButtonRolloverTextColor() const;
271 
272  void SetActionButtonRolloverTextColor( const Color& rColor );
273  const Color& GetActionButtonRolloverTextColor() const;
274 
275  void SetFlatButtonRolloverTextColor( const Color& rColor );
276  const Color& GetFlatButtonRolloverTextColor() const;
277 
278  void SetDefaultButtonPressedRolloverTextColor( const Color& rColor );
279  const Color& GetDefaultButtonPressedRolloverTextColor() const;
280 
281  void SetButtonPressedRolloverTextColor( const Color& rColor );
282  const Color& GetButtonPressedRolloverTextColor() const;
283 
284  void SetDefaultActionButtonPressedRolloverTextColor( const Color& rColor );
285  const Color& GetDefaultActionButtonPressedRolloverTextColor() const;
286 
287  void SetActionButtonPressedRolloverTextColor( const Color& rColor );
288  const Color& GetActionButtonPressedRolloverTextColor() const;
289 
290  void SetFlatButtonPressedRolloverTextColor( const Color& rColor );
291  const Color& GetFlatButtonPressedRolloverTextColor() const;
292 
293  void SetRadioCheckTextColor( const Color& rColor );
294  const Color& GetRadioCheckTextColor() const;
295 
296  void SetGroupTextColor( const Color& rColor );
297  const Color& GetGroupTextColor() const;
298 
299  void SetLabelTextColor( const Color& rColor );
300  const Color& GetLabelTextColor() const;
301 
302  void SetWindowColor( const Color& rColor );
303  const Color& GetWindowColor() const;
304 
305  void SetWindowTextColor( const Color& rColor );
306  const Color& GetWindowTextColor() const;
307 
308  void SetDialogColor( const Color& rColor );
309  const Color& GetDialogColor() const;
310 
311  void SetDialogTextColor( const Color& rColor );
312  const Color& GetDialogTextColor() const;
313 
314  void SetWorkspaceColor( const Color& rColor );
315  const Color& GetWorkspaceColor() const;
316 
317  void SetFieldColor( const Color& rColor );
318  const Color& GetFieldColor() const;
319 
320  void SetFieldTextColor( const Color& rColor );
321  const Color& GetFieldTextColor() const;
322 
323  void SetFieldRolloverTextColor( const Color& rColor );
324  const Color& GetFieldRolloverTextColor() const;
325 
326  void SetActiveColor( const Color& rColor );
327  const Color& GetActiveColor() const;
328 
329  void SetActiveTextColor( const Color& rColor );
330  const Color& GetActiveTextColor() const;
331 
332  void SetActiveBorderColor( const Color& rColor );
333  const Color& GetActiveBorderColor() const;
334 
335  void SetDeactiveColor( const Color& rColor );
336  const Color& GetDeactiveColor() const;
337 
338  void SetDeactiveTextColor( const Color& rColor );
339  const Color& GetDeactiveTextColor() const;
340 
341  void SetDeactiveBorderColor( const Color& rColor );
342  const Color& GetDeactiveBorderColor() const;
343 
344  void SetHighlightColor( const Color& rColor );
345  const Color& GetHighlightColor() const;
346 
347  void SetHighlightTextColor( const Color& rColor );
348  const Color& GetHighlightTextColor() const;
349 
350  void SetDisableColor( const Color& rColor );
351  const Color& GetDisableColor() const;
352 
353  void SetHelpColor( const Color& rColor );
354  const Color& GetHelpColor() const;
355 
356  void SetHelpTextColor( const Color& rColor );
357  const Color& GetHelpTextColor() const;
358 
359  void SetMenuColor( const Color& rColor );
360  const Color& GetMenuColor() const;
361 
362  void SetMenuBarColor( const Color& rColor );
363  const Color& GetMenuBarColor() const;
364 
365  void SetMenuBarRolloverColor( const Color& rColor );
366  const Color& GetMenuBarRolloverColor() const;
367 
368  void SetMenuBorderColor( const Color& rColor );
369  const Color& GetMenuBorderColor() const;
370 
371  void SetMenuTextColor( const Color& rColor );
372  const Color& GetMenuTextColor() const;
373 
374  void SetMenuBarTextColor( const Color& rColor );
375  const Color& GetMenuBarTextColor() const;
376 
377  void SetMenuBarRolloverTextColor( const Color& rColor );
378  const Color& GetMenuBarRolloverTextColor() const;
379 
380  void SetMenuBarHighlightTextColor( const Color& rColor );
381  const Color& GetMenuBarHighlightTextColor() const;
382 
383  void SetMenuHighlightColor( const Color& rColor );
384  const Color& GetMenuHighlightColor() const;
385 
386  void SetMenuHighlightTextColor( const Color& rColor );
387  const Color& GetMenuHighlightTextColor() const;
388 
389  void SetTabTextColor( const Color& rColor );
390  const Color& GetTabTextColor() const;
391 
392  void SetTabRolloverTextColor( const Color& rColor );
393  const Color& GetTabRolloverTextColor() const;
394 
395  void SetTabHighlightTextColor( const Color& rColor );
396  const Color& GetTabHighlightTextColor() const;
397 
398  void SetToolTextColor( const Color& rColor );
399  const Color& GetToolTextColor() const;
400 
401  void SetLinkColor( const Color& rColor );
402  const Color& GetLinkColor() const;
403 
404  void SetVisitedLinkColor( const Color& rColor );
405  const Color& GetVisitedLinkColor() const;
406 
407  const Color& GetHighlightLinkColor() const;
408 
409  void SetMonoColor( const Color& rColor );
410  const Color& GetMonoColor() const;
411 
412  void SetActiveTabColor( const Color& rColor );
413  const Color& GetActiveTabColor() const;
414 
415  void SetInactiveTabColor( const Color& rColor );
416  const Color& GetInactiveTabColor() const;
417 
418  const Color& GetAlternatingRowColor() const;
419 
420  void SetHighContrastMode(bool bHighContrast );
421  bool GetHighContrastMode() const;
422 
423  void SetUseSystemUIFonts( bool bUseSystemUIFonts );
424  bool GetUseSystemUIFonts() const;
425 
426  void SetUseFontAAFromSystem(bool bUseFontAAFromSystem);
427  bool GetUseFontAAFromSystem() const;
428 
429  void SetUseFlatBorders( bool bUseFlatBorders );
430  bool GetUseFlatBorders() const;
431 
432  void SetUseFlatMenus( bool bUseFlatMenus );
433  bool GetUseFlatMenus() const;
434 
435  void SetUseImagesInMenus( TriState eUseImagesInMenus );
436  bool GetUseImagesInMenus() const;
437 
438  void SetPreferredUseImagesInMenus( bool bPreferredUseImagesInMenus );
439  bool GetPreferredUseImagesInMenus() const;
440 
441  void SetSkipDisabledInMenus( bool bSkipDisabledInMenus );
442  bool GetSkipDisabledInMenus() const;
443 
444  void SetHideDisabledMenuItems( bool bHideDisabledMenuItems );
445  bool GetHideDisabledMenuItems() const;
446 
447  void SetContextMenuShortcuts( TriState eContextMenuShortcuts );
448  bool GetContextMenuShortcuts() const;
449 
450  void SetPreferredContextMenuShortcuts( bool bContextMenuShortcuts );
451  bool GetPreferredContextMenuShortcuts() const;
452 
453  void SetPrimaryButtonWarpsSlider( bool bPrimaryButtonWarpsSlider );
454  bool GetPrimaryButtonWarpsSlider() const;
455 
456  void SetAppFont( const vcl::Font& rFont );
457  const vcl::Font& GetAppFont() const;
458 
459  void SetHelpFont( const vcl::Font& rFont );
460  const vcl::Font& GetHelpFont() const;
461 
462  void SetTitleFont( const vcl::Font& rFont );
463  const vcl::Font& GetTitleFont() const;
464 
465  void SetFloatTitleFont( const vcl::Font& rFont );
466  const vcl::Font& GetFloatTitleFont() const;
467 
468  void SetMenuFont( const vcl::Font& rFont );
469  const vcl::Font& GetMenuFont() const;
470 
471  void SetToolFont( const vcl::Font& rFont );
472  const vcl::Font& GetToolFont() const;
473 
474  void SetGroupFont( const vcl::Font& rFont );
475  const vcl::Font& GetGroupFont() const;
476 
477  void SetLabelFont( const vcl::Font& rFont );
478  const vcl::Font& GetLabelFont() const;
479 
480  void SetRadioCheckFont( const vcl::Font& rFont );
481  const vcl::Font& GetRadioCheckFont() const;
482 
483  void SetPushButtonFont( const vcl::Font& rFont );
484  const vcl::Font& GetPushButtonFont() const;
485 
486  void SetFieldFont( const vcl::Font& rFont );
487  const vcl::Font& GetFieldFont() const;
488 
489  void SetIconFont( const vcl::Font& rFont );
490  const vcl::Font& GetIconFont() const;
491 
492  void SetTabFont( const vcl::Font& rFont );
493  const vcl::Font& GetTabFont() const;
494 
495  static long GetBorderSize();
496 
497  void SetTitleHeight( long nSize );
498  long GetTitleHeight() const;
499 
500  void SetFloatTitleHeight( long nSize );
501  long GetFloatTitleHeight() const;
502 
503  void SetScrollBarSize( long nSize );
504  long GetScrollBarSize() const;
505 
506  void SetMinThumbSize( long nSize );
507  long GetMinThumbSize() const;
508 
509  void SetSpinSize( long nSize );
510  long GetSpinSize() const;
511 
512  static long GetSplitSize();
513 
514  void SetCursorSize( long nSize );
515  long GetCursorSize() const;
516 
517  void SetCursorBlinkTime( sal_uInt64 nBlinkTime );
518  sal_uInt64 GetCursorBlinkTime() const;
519 
520  void SetDragFullOptions( DragFullOptions nOptions );
521  DragFullOptions GetDragFullOptions() const;
522 
523  void SetSelectionOptions( SelectionOptions nOptions );
524  SelectionOptions GetSelectionOptions() const;
525 
526  void SetDisplayOptions( DisplayOptions nOptions );
527  DisplayOptions GetDisplayOptions() const;
528 
529  void SetAntialiasingMinPixelHeight( long nMinPixel );
530  sal_uLong GetAntialiasingMinPixelHeight() const;
531 
532  void SetOptions( StyleSettingsOptions nOptions );
533  StyleSettingsOptions GetOptions() const;
534 
535  void SetAutoMnemonic( bool bAutoMnemonic );
536  bool GetAutoMnemonic() const;
537 
538  static bool GetDockingFloatsSupported();
539 
540  void SetFontColor( const Color& rColor );
541  const Color& GetFontColor() const;
542 
543  void SetToolbarIconSize( ToolbarIconSize nSize );
544  ToolbarIconSize GetToolbarIconSize() const;
545 
547  void SetIconTheme(const OUString&);
548 
556  OUString DetermineIconTheme() const;
557 
561  std::vector<vcl::IconThemeInfo> const & GetInstalledIconThemes() const;
562 
566  OUString GetAutomaticallyChosenIconTheme() const;
567 
571  void SetPreferredIconTheme(const OUString&, bool bDarkIconTheme = false);
572 
573  const DialogStyle& GetDialogStyle() const;
574 
575  BitmapEx const & GetPersonaHeader() const;
576 
577  BitmapEx const & GetPersonaFooter() const;
578 
579  const std::optional<Color>& GetPersonaMenuBarTextColor() const;
580 
581  // global switch to allow EdgeBlenging; currently possible for ValueSet and ListBox
582  // when activated there using Get/SetEdgeBlending; default is true
583  void SetEdgeBlending(sal_uInt16 nCount);
584  sal_uInt16 GetEdgeBlending() const;
585 
586  // TopLeft (default Color(0xC0, 0xC0, 0xC0)) and BottomRight (default Color(0x40, 0x40, 0x40))
587  // default colors for EdgeBlending
588  const Color& GetEdgeBlendingTopLeftColor() const;
589  const Color& GetEdgeBlendingBottomRightColor() const;
590 
591  // maximum line count for ListBox control; to use this, call AdaptDropDownLineCountToMaximum() at the
592  // ListBox after it's ItemCount has changed/got filled. Default is 25. If more Items exist, a scrollbar
593  // will be used
594  void SetListBoxMaximumLineCount(sal_uInt16 nCount);
595  sal_uInt16 GetListBoxMaximumLineCount() const;
596 
597  // maximum column count for the ColorValueSet control. Default is 12 and this is optimized for the
598  // color scheme which has 12-color aligned layout for the part taken over from Symphony. Do
599  // only change this if you know what you are doing.
600  void SetColorValueSetColumnCount(sal_uInt16 nCount);
601  sal_uInt16 GetColorValueSetColumnCount() const;
602 
603  // maximum row/line count for the ColorValueSet control. If more lines would be needed, a scrollbar will
604  // be used.
605  static sal_uInt16 GetColorValueSetMaximumRowCount();
606 
607  void SetListBoxPreviewDefaultLogicSize(Size const & rSize);
608  const Size& GetListBoxPreviewDefaultPixelSize() const;
609 
610  // the default LineWidth for ListBox UI previews (LineStyle, LineDash, LineStartEnd). Default is 1.
611  static sal_uInt16 GetListBoxPreviewDefaultLineWidth();
612 
613  // defines if previews which contain potentially transparent objects (e.g. the dash/line/LineStartEnd previews and others)
614  // use the default transparent visualization background (checkered background) as it has got standard in graphic programs nowadays
615  void SetPreviewUsesCheckeredBackground(bool bNew);
616  bool GetPreviewUsesCheckeredBackground() const;
617 
618  void SetStandardStyles();
619 
620  bool operator ==( const StyleSettings& rSet ) const;
621  bool operator !=( const StyleSettings& rSet ) const;
622 
623  // Batch setters used by various backends
624  void BatchSetBackgrounds( const Color &aBackColor,
625  bool bCheckedColorSpecialCase = true );
626  void BatchSetFonts( const vcl::Font& aAppFont,
627  const vcl::Font& aLabelFont );
628 };
629 
630 
632 {
633  std::shared_ptr<ImplMiscData> mxData;
634 
635 public:
636  MiscSettings();
637 
638 #ifdef _WIN32
639  void SetEnableATToolSupport( bool bEnable );
640 #endif
641  bool GetEnableATToolSupport() const;
642  bool GetDisablePrinting() const;
643  void SetEnableLocalizedDecimalSep( bool bEnable );
644  bool GetEnableLocalizedDecimalSep() const;
645 
646  bool operator ==( const MiscSettings& rSet ) const;
647  bool operator !=( const MiscSettings& rSet ) const;
648 };
649 
650 
652 {
653  std::shared_ptr<ImplHelpData> mxData;
654 
655 public:
656  HelpSettings();
657 
658  static sal_uLong GetTipDelay();
659  void SetTipTimeout( sal_uLong nTipTimeout );
660  sal_uLong GetTipTimeout() const;
661  static sal_uLong GetBalloonDelay();
662 
663  bool operator ==( const HelpSettings& rSet ) const;
664  bool operator !=( const HelpSettings& rSet ) const;
665 };
666 
667 
668 enum class AllSettingsFlags {
669  NONE = 0x0000,
670  MOUSE = 0x0001,
671  STYLE = 0x0002,
672  MISC = 0x0004,
673  LOCALE = 0x0020,
674 };
675 namespace o3tl
676 {
677  template<> struct typed_flags<AllSettingsFlags> : is_typed_flags<AllSettingsFlags, 0x0027> {};
678 }
679 
681 {
682 private:
683  void CopyData();
684 
685  std::shared_ptr<ImplAllSettingsData> mxData;
686 
687 public:
688  AllSettings();
689 
690  void SetMouseSettings( const MouseSettings& rSet );
691  const MouseSettings& GetMouseSettings() const;
692 
693  void SetStyleSettings( const StyleSettings& rSet );
694  const StyleSettings& GetStyleSettings() const;
695 
696  void SetMiscSettings( const MiscSettings& rSet );
697  const MiscSettings& GetMiscSettings() const;
698 
699  void SetHelpSettings( const HelpSettings& rSet );
700  const HelpSettings& GetHelpSettings() const;
701 
702  void SetLanguageTag(const OUString& rLanguage, bool bCanonicalize);
703  void SetLanguageTag( const LanguageTag& rLanguageTag );
704  const LanguageTag& GetLanguageTag() const;
705  const LanguageTag& GetUILanguageTag() const;
706  static bool GetLayoutRTL(); // returns true if UI language requires right-to-left Text Layout
707  static bool GetMathLayoutRTL(); // returns true if UI language requires right-to-left Math Layout
709  const LocaleDataWrapper& GetUILocaleDataWrapper() const;
710  const LocaleDataWrapper& GetNeutralLocaleDataWrapper() const;
711  const vcl::I18nHelper& GetLocaleI18nHelper() const;
712  const vcl::I18nHelper& GetUILocaleI18nHelper() const;
713 
716 
717  AllSettingsFlags Update( AllSettingsFlags nFlags, const AllSettings& rSettings );
718  AllSettingsFlags GetChangeFlags( const AllSettings& rSettings ) const;
719 
720  bool operator ==( const AllSettings& rSet ) const;
721  bool operator !=( const AllSettings& rSet ) const;
722  static void LocaleSettingsChanged( ConfigurationHints nHint );
723  SvtSysLocale& GetSysLocale();
724 };
725 
726 #endif // INCLUDED_VCL_SETTINGS_HXX
727 
728 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
ConfigurationHints
std::shared_ptr< ImplMouseData > mxData
Definition: settings.hxx:89
bool operator!=(const ItalicMatrix &a, const ItalicMatrix &b)
Definition: vclenum.hxx:211
StyleSettingsOptions
Definition: settings.hxx:155
SelectionOptions
Definition: settings.hxx:181
#define VCL_DLLPUBLIC
Definition: dllapi.h:29
sal_uIntPtr sal_uLong
Color GetFontColor()
AllSettingsFlags
Definition: settings.hxx:668
MouseSettingsOptions
Definition: settings.hxx:53
bool operator==(const ItalicMatrix &a, const ItalicMatrix &b)
Definition: vclenum.hxx:206
MouseFollowFlags
Definition: settings.hxx:65
std::shared_ptr< ImplStyleData > mxData
Definition: settings.hxx:218
int content_area_border
Definition: settings.hxx:145
const LocaleDataWrapper & GetLocaleDataWrapper(LanguageType nLang)
std::shared_ptr< ImplAllSettingsData > mxData
Definition: settings.hxx:685
int button_spacing
Definition: settings.hxx:146
Definition: menu.hxx:118
int action_area_border
Definition: settings.hxx:147
ToolbarIconSize
Definition: settings.hxx:203
DisplayOptions
Definition: settings.hxx:193
MouseWheelBehaviour
Definition: settings.hxx:80
std::shared_ptr< ImplHelpData > mxData
Definition: settings.hxx:653
DragFullOptions
Definition: settings.hxx:166
TriState
std::shared_ptr< ImplMiscData > mxData
Definition: settings.hxx:633
MouseMiddleButtonAction
Definition: settings.hxx:75
static AllSettingsFlags GetWindowUpdate()
Definition: settings.hxx:714