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( tools::Long nDoubleClkWidth );
101  tools::Long GetDoubleClickWidth() const;
102 
103  void SetDoubleClickHeight( tools::Long nDoubleClkHeight );
104  tools::Long GetDoubleClickHeight() const;
105 
106  void SetStartDragWidth( tools::Long nDragWidth );
107  tools::Long GetStartDragWidth() const;
108 
109  void SetStartDragHeight( tools::Long nDragHeight );
110  tools::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  void SetAlternatingRowColor(const Color& rColor);
419  const Color& GetAlternatingRowColor() const;
420 
421  void SetHighContrastMode(bool bHighContrast );
422  bool GetHighContrastMode() const;
423 
424  void SetUseSystemUIFonts( bool bUseSystemUIFonts );
425  bool GetUseSystemUIFonts() const;
426 
427  void SetUseFontAAFromSystem(bool bUseFontAAFromSystem);
428  bool GetUseFontAAFromSystem() const;
429 
430  void SetUseFlatBorders( bool bUseFlatBorders );
431  bool GetUseFlatBorders() const;
432 
433  void SetUseFlatMenus( bool bUseFlatMenus );
434  bool GetUseFlatMenus() const;
435 
436  void SetUseImagesInMenus( TriState eUseImagesInMenus );
437  bool GetUseImagesInMenus() const;
438 
439  void SetPreferredUseImagesInMenus( bool bPreferredUseImagesInMenus );
440  bool GetPreferredUseImagesInMenus() const;
441 
442  void SetSkipDisabledInMenus( bool bSkipDisabledInMenus );
443  bool GetSkipDisabledInMenus() const;
444 
445  void SetHideDisabledMenuItems( bool bHideDisabledMenuItems );
446  bool GetHideDisabledMenuItems() const;
447 
448  void SetContextMenuShortcuts( TriState eContextMenuShortcuts );
449  bool GetContextMenuShortcuts() const;
450 
451  void SetPreferredContextMenuShortcuts( bool bContextMenuShortcuts );
452  bool GetPreferredContextMenuShortcuts() const;
453 
454  void SetPrimaryButtonWarpsSlider( bool bPrimaryButtonWarpsSlider );
455  bool GetPrimaryButtonWarpsSlider() const;
456 
457  void SetAppFont( const vcl::Font& rFont );
458  const vcl::Font& GetAppFont() const;
459 
460  void SetHelpFont( const vcl::Font& rFont );
461  const vcl::Font& GetHelpFont() const;
462 
463  void SetTitleFont( const vcl::Font& rFont );
464  const vcl::Font& GetTitleFont() const;
465 
466  void SetFloatTitleFont( const vcl::Font& rFont );
467  const vcl::Font& GetFloatTitleFont() const;
468 
469  void SetMenuFont( const vcl::Font& rFont );
470  const vcl::Font& GetMenuFont() const;
471 
472  void SetToolFont( const vcl::Font& rFont );
473  const vcl::Font& GetToolFont() const;
474 
475  void SetGroupFont( const vcl::Font& rFont );
476  const vcl::Font& GetGroupFont() const;
477 
478  void SetLabelFont( const vcl::Font& rFont );
479  const vcl::Font& GetLabelFont() const;
480 
481  void SetRadioCheckFont( const vcl::Font& rFont );
482  const vcl::Font& GetRadioCheckFont() const;
483 
484  void SetPushButtonFont( const vcl::Font& rFont );
485  const vcl::Font& GetPushButtonFont() const;
486 
487  void SetFieldFont( const vcl::Font& rFont );
488  const vcl::Font& GetFieldFont() const;
489 
490  void SetIconFont( const vcl::Font& rFont );
491  const vcl::Font& GetIconFont() const;
492 
493  void SetTabFont( const vcl::Font& rFont );
494  const vcl::Font& GetTabFont() const;
495 
496  static tools::Long GetBorderSize();
497 
498  void SetTitleHeight( tools::Long nSize );
499  tools::Long GetTitleHeight() const;
500 
501  void SetFloatTitleHeight( tools::Long nSize );
502  tools::Long GetFloatTitleHeight() const;
503 
504  void SetScrollBarSize( tools::Long nSize );
505  tools::Long GetScrollBarSize() const;
506 
507  void SetMinThumbSize( tools::Long nSize );
508  tools::Long GetMinThumbSize() const;
509 
510  void SetSpinSize( tools::Long nSize );
511  tools::Long GetSpinSize() const;
512 
513  static tools::Long GetSplitSize();
514 
515  void SetCursorSize( tools::Long nSize );
516  tools::Long GetCursorSize() const;
517 
518  void SetCursorBlinkTime( sal_uInt64 nBlinkTime );
519  sal_uInt64 GetCursorBlinkTime() const;
520 
521  void SetDragFullOptions( DragFullOptions nOptions );
522  DragFullOptions GetDragFullOptions() const;
523 
524  void SetSelectionOptions( SelectionOptions nOptions );
525  SelectionOptions GetSelectionOptions() const;
526 
527  void SetDisplayOptions( DisplayOptions nOptions );
528  DisplayOptions GetDisplayOptions() const;
529 
530  void SetAntialiasingMinPixelHeight( tools::Long nMinPixel );
531  sal_uLong GetAntialiasingMinPixelHeight() const;
532 
533  void SetOptions( StyleSettingsOptions nOptions );
534  StyleSettingsOptions GetOptions() const;
535 
536  void SetAutoMnemonic( bool bAutoMnemonic );
537  bool GetAutoMnemonic() const;
538 
539  static bool GetDockingFloatsSupported();
540 
541  void SetFontColor( const Color& rColor );
542  const Color& GetFontColor() const;
543 
544  void SetToolbarIconSize( ToolbarIconSize nSize );
545  ToolbarIconSize GetToolbarIconSize() const;
546 
548  void SetIconTheme(const OUString&);
549 
557  OUString DetermineIconTheme() const;
558 
562  std::vector<vcl::IconThemeInfo> const & GetInstalledIconThemes() const;
563 
567  OUString GetAutomaticallyChosenIconTheme() const;
568 
572  void SetPreferredIconTheme(const OUString&, bool bDarkIconTheme = false);
573 
574  const DialogStyle& GetDialogStyle() const;
575 
576  BitmapEx const & GetPersonaHeader() const;
577 
578  BitmapEx const & GetPersonaFooter() const;
579 
580  const std::optional<Color>& GetPersonaMenuBarTextColor() const;
581 
582  // global switch to allow EdgeBlenging; currently possible for ValueSet and ListBox
583  // when activated there using Get/SetEdgeBlending; default is true
584  void SetEdgeBlending(sal_uInt16 nCount);
585  sal_uInt16 GetEdgeBlending() const;
586 
587  // TopLeft (default Color(0xC0, 0xC0, 0xC0)) and BottomRight (default Color(0x40, 0x40, 0x40))
588  // default colors for EdgeBlending
589  const Color& GetEdgeBlendingTopLeftColor() const;
590  const Color& GetEdgeBlendingBottomRightColor() const;
591 
592  // maximum line count for ListBox control; to use this, call AdaptDropDownLineCountToMaximum() at the
593  // ListBox after it's ItemCount has changed/got filled. Default is 25. If more Items exist, a scrollbar
594  // will be used
595  void SetListBoxMaximumLineCount(sal_uInt16 nCount);
596  sal_uInt16 GetListBoxMaximumLineCount() const;
597 
598  // maximum column count for the ColorValueSet control. Default is 12 and this is optimized for the
599  // color scheme which has 12-color aligned layout for the part taken over from Symphony. Do
600  // only change this if you know what you are doing.
601  void SetColorValueSetColumnCount(sal_uInt16 nCount);
602  sal_uInt16 GetColorValueSetColumnCount() const;
603 
604  // maximum row/line count for the ColorValueSet control. If more lines would be needed, a scrollbar will
605  // be used.
606  static sal_uInt16 GetColorValueSetMaximumRowCount();
607 
608  void SetListBoxPreviewDefaultLogicSize(Size const & rSize);
609  const Size& GetListBoxPreviewDefaultPixelSize() const;
610 
611  // the default LineWidth for ListBox UI previews (LineStyle, LineDash, LineStartEnd). Default is 1.
612  static sal_uInt16 GetListBoxPreviewDefaultLineWidth();
613 
614  // defines if previews which contain potentially transparent objects (e.g. the dash/line/LineStartEnd previews and others)
615  // use the default transparent visualization background (checkered background) as it has got standard in graphic programs nowadays
616  void SetPreviewUsesCheckeredBackground(bool bNew);
617  bool GetPreviewUsesCheckeredBackground() const;
618 
619  void SetStandardStyles();
620 
621  bool operator ==( const StyleSettings& rSet ) const;
622  bool operator !=( const StyleSettings& rSet ) const;
623 
624  // Batch setters used by various backends
625  void BatchSetBackgrounds( const Color &aBackColor,
626  bool bCheckedColorSpecialCase = true );
627  void BatchSetFonts( const vcl::Font& aAppFont,
628  const vcl::Font& aLabelFont );
629 };
630 
631 
633 {
634  std::shared_ptr<ImplMiscData> mxData;
635 
636 public:
637  MiscSettings();
638 
639 #ifdef _WIN32
640  void SetEnableATToolSupport( bool bEnable );
641 #endif
642  bool GetEnableATToolSupport() const;
643  bool GetDisablePrinting() const;
644  void SetEnableLocalizedDecimalSep( bool bEnable );
645  bool GetEnableLocalizedDecimalSep() const;
646 
647  bool operator ==( const MiscSettings& rSet ) const;
648  bool operator !=( const MiscSettings& rSet ) const;
649 };
650 
651 
653 {
654  std::shared_ptr<ImplHelpData> mxData;
655 
656 public:
657  HelpSettings();
658 
659  static sal_uLong GetTipDelay();
660  void SetTipTimeout( sal_uLong nTipTimeout );
661  sal_uLong GetTipTimeout() const;
662  static sal_uLong GetBalloonDelay();
663 
664  bool operator ==( const HelpSettings& rSet ) const;
665  bool operator !=( const HelpSettings& rSet ) const;
666 };
667 
668 
669 enum class AllSettingsFlags {
670  NONE = 0x0000,
671  MOUSE = 0x0001,
672  STYLE = 0x0002,
673  MISC = 0x0004,
674  LOCALE = 0x0020,
675 };
676 namespace o3tl
677 {
678  template<> struct typed_flags<AllSettingsFlags> : is_typed_flags<AllSettingsFlags, 0x0027> {};
679 }
680 
682 {
683 private:
684  void CopyData();
685 
686  std::shared_ptr<ImplAllSettingsData> mxData;
687 
688 public:
689  AllSettings();
690 
691  void SetMouseSettings( const MouseSettings& rSet );
692  const MouseSettings& GetMouseSettings() const;
693 
694  void SetStyleSettings( const StyleSettings& rSet );
695  const StyleSettings& GetStyleSettings() const;
696 
697  void SetMiscSettings( const MiscSettings& rSet );
698  const MiscSettings& GetMiscSettings() const;
699 
700  void SetHelpSettings( const HelpSettings& rSet );
701  const HelpSettings& GetHelpSettings() const;
702 
703  void SetLanguageTag(const OUString& rLanguage, bool bCanonicalize);
704  void SetLanguageTag( const LanguageTag& rLanguageTag );
705  const LanguageTag& GetLanguageTag() const;
706  const LanguageTag& GetUILanguageTag() const;
707  static bool GetLayoutRTL(); // returns true if UI language requires right-to-left Text Layout
708  static bool GetMathLayoutRTL(); // returns true if UI language requires right-to-left Math Layout
709  static OUString GetUIRootDir();
711  const LocaleDataWrapper& GetUILocaleDataWrapper() const;
712  const LocaleDataWrapper& GetNeutralLocaleDataWrapper() const;
713  const vcl::I18nHelper& GetLocaleI18nHelper() const;
714  const vcl::I18nHelper& GetUILocaleI18nHelper() const;
715 
718 
719  AllSettingsFlags Update( AllSettingsFlags nFlags, const AllSettings& rSettings );
720  AllSettingsFlags GetChangeFlags( const AllSettings& rSettings ) const;
721 
722  bool operator ==( const AllSettings& rSet ) const;
723  bool operator !=( const AllSettings& rSet ) const;
724  static void LocaleSettingsChanged( ConfigurationHints nHint );
725  SvtSysLocale& GetSysLocale();
726 };
727 
728 #endif // INCLUDED_VCL_SETTINGS_HXX
729 
730 /* 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
long Long
Color GetFontColor()
AllSettingsFlags
Definition: settings.hxx:669
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:686
int button_spacing
Definition: settings.hxx:146
Definition: menu.hxx:119
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:654
DragFullOptions
Definition: settings.hxx:166
TriState
std::shared_ptr< ImplMiscData > mxData
Definition: settings.hxx:634
MouseMiddleButtonAction
Definition: settings.hxx:75
static AllSettingsFlags GetWindowUpdate()
Definition: settings.hxx:716