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