LibreOffice Module vcl (master) 1
Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | List of all members
AllSettings Class Reference

#include <settings.hxx>

Public Member Functions

 AllSettings ()
 
void SetMouseSettings (const MouseSettings &rSet)
 
const MouseSettingsGetMouseSettings () const
 
void SetStyleSettings (const StyleSettings &rSet)
 
const StyleSettingsGetStyleSettings () const
 
void SetMiscSettings (const MiscSettings &rSet)
 
const MiscSettingsGetMiscSettings () const
 
void SetHelpSettings (const HelpSettings &rSet)
 
const HelpSettingsGetHelpSettings () const
 
void SetLanguageTag (const OUString &rLanguage, bool bCanonicalize)
 
void SetLanguageTag (const LanguageTag &rLanguageTag)
 
const LanguageTagGetLanguageTag () const
 
const LanguageTagGetUILanguageTag () const
 
const LocaleDataWrapperGetLocaleDataWrapper () const
 
const LocaleDataWrapperGetUILocaleDataWrapper () const
 
const LocaleDataWrapperGetNeutralLocaleDataWrapper () const
 
const vcl::I18nHelperGetLocaleI18nHelper () const
 
const vcl::I18nHelperGetUILocaleI18nHelper () const
 
AllSettingsFlags Update (AllSettingsFlags nFlags, const AllSettings &rSettings)
 
SAL_DLLPRIVATE AllSettingsFlags GetChangeFlags (const AllSettings &rSettings) const
 
bool operator== (const AllSettings &rSet) const
 
bool operator!= (const AllSettings &rSet) const
 
SAL_DLLPRIVATE SvtSysLocaleGetSysLocale ()
 

Static Public Member Functions

static bool GetLayoutRTL ()
 
static bool GetMathLayoutRTL ()
 
static OUString GetUIRootDir ()
 
static SAL_DLLPRIVATE AllSettingsFlags GetWindowUpdate ()
 
static SAL_DLLPRIVATE void LocaleSettingsChanged (ConfigurationHints nHint)
 

Private Member Functions

void CopyData ()
 

Private Attributes

std::shared_ptr< ImplAllSettingsDatamxData
 

Detailed Description

Definition at line 686 of file settings.hxx.

Constructor & Destructor Documentation

◆ AllSettings()

AllSettings::AllSettings ( )

Definition at line 2854 of file app/settings.cxx.

References make_shared().

Member Function Documentation

◆ CopyData()

void AllSettings::CopyData ( )
private

◆ GetChangeFlags()

AllSettingsFlags AllSettings::GetChangeFlags ( const AllSettings rSettings) const

Definition at line 2916 of file app/settings.cxx.

References LOCALE, MISC, mxData, NONE, rSet, and STYLE.

Referenced by Application::SetSettings(), and vcl::WindowOutputDevice::SetSettings().

◆ GetHelpSettings()

const HelpSettings & AllSettings::GetHelpSettings ( ) const

Definition at line 3271 of file app/settings.cxx.

References mxData.

Referenced by HelpTextWindow::HelpTextWindow(), and ImplChangeTipTimeout().

◆ GetLanguageTag()

const LanguageTag & AllSettings::GetLanguageTag ( ) const

◆ GetLayoutRTL()

bool AllSettings::GetLayoutRTL ( )
static

◆ GetLocaleDataWrapper()

const LocaleDataWrapper & AllSettings::GetLocaleDataWrapper ( ) const

◆ GetLocaleI18nHelper()

const vcl::I18nHelper & AllSettings::GetLocaleI18nHelper ( ) const

◆ GetMathLayoutRTL()

bool AllSettings::GetMathLayoutRTL ( )
static

Definition at line 3027 of file app/settings.cxx.

References utl::ConfigManager::IsFuzzing().

◆ GetMiscSettings()

const MiscSettings & AllSettings::GetMiscSettings ( ) const

Definition at line 3258 of file app/settings.cxx.

References mxData.

Referenced by InitAccessBridge(), and LocaleSettingsChanged().

◆ GetMouseSettings()

const MouseSettings & AllSettings::GetMouseSettings ( ) const

◆ GetNeutralLocaleDataWrapper()

const LocaleDataWrapper & AllSettings::GetNeutralLocaleDataWrapper ( ) const

◆ GetStyleSettings()

const StyleSettings & AllSettings::GetStyleSettings ( ) const

Definition at line 3133 of file app/settings.cxx.

References mxData.

Referenced by NotebookbarPopup::ApplyBackground(), Control::ApplySettings(), HeaderBar::ApplySettings(), StatusBar::ApplySettings(), ToolBox::ApplySettings(), Edit::ApplySettings(), FloatingWindow::ApplySettings(), ScrollBarBox::ApplySettings(), SvTreeListBox::ApplySettings(), VclMultiLineEdit::ApplySettings(), Calendar::ApplySettings(), HelpTextWindow::ApplySettings(), vcl::HyperLabel::ApplySettings(), ImplListBoxWindow::ApplySettings(), ImplWin::ApplySettings(), MenuBarWindow::ApplySettings(), MenuFloatingWindow::ApplySettings(), ImplListBoxFloatingWindow::CalcFloatSize(), vcl::Window::CalcTitleWidth(), Edit::CreatePopupMenu(), Splitter::DataChanged(), vcl::HyperLabel::DataChanged(), PushButton::Draw(), ComboBox::Draw(), Edit::Draw(), ListBox::Draw(), ScrollBar::Draw(), SpinField::Draw(), Image::Draw(), ImplWin::DrawEntry(), ImplListBoxWindow::DrawEntry(), DecorationView::DrawFrame(), DecorationView::DrawHandle(), DecorationView::DrawHighlightFrame(), SvImpLBox::DrawNet(), vcl::Window::DrawSelectionBackground(), vcl::RenderTools::DrawSelectionBackground(), DecorationView::DrawSeparator(), DecorationView::DrawSymbol(), ImplStdBorderWindowView::DrawWindow(), MenuFloatingWindow::EnableScrollMenu(), CheckBox::GetCheckImage(), ToolBox::GetDefaultImageSize(), Edit::GetFocus(), ComboBox::getMaxWidthScrollBarAndDownButton(), ScrollBar::GetOptimalSize(), RadioButton::GetRadioImage(), OutputDevice::GetSingleColorGradientFill(), MenuBarWindow::HighlightItem(), ImplAddNWFSeparator(), ScrollBar::ImplCalc(), ToolBox::ImplCalcBreaks(), SpinField::ImplCalcButtonAreas(), Menu::ImplCalcSize(), MenuFloatingWindow::ImplCursorUpDown(), vcl::Cursor::ImplDoShow(), FixedText::ImplDraw(), FixedLine::ImplDraw(), ScrollBar::ImplDraw(), Calendar::ImplDraw(), Slider::ImplDraw(), ImplWin::ImplDraw(), ToolBox::ImplDrawBackground(), SplitWindow::ImplDrawBorder(), ToolBox::ImplDrawBorder(), SplitWindow::ImplDrawBorderLine(), ImplDrawBrdWinSymbol(), ImplDrawBrdWinSymbolButton(), ToolBox::ImplDrawConstantBackground(), Calendar::ImplDrawDate(), ImplDrawDropdownArrow(), ToolBox::ImplDrawFloatwinBorder(), Control::ImplDrawFrame(), ToolBox::ImplDrawGradientBackground(), ToolBox::ImplDrawGrip(), SplitWindow::ImplDrawGrip(), TabControl::ImplDrawItem(), ToolBox::ImplDrawItem(), HeaderBar::ImplDrawItem(), ScrollBar::ImplDrawNative(), PushButton::ImplDrawPushButtonContent(), PushButton::ImplDrawPushButtonFrame(), RadioButton::ImplDrawRadioButtonState(), MenuFloatingWindow::ImplDrawScroller(), ToolBox::ImplDrawSeparator(), Calendar::ImplDrawSpin(), ImplDrawSplit(), OutputDevice::ImplDrawText(), ImplDrawUpDownButtons(), ToolBox::ImplErase(), PushButton::ImplGetTextStyle(), Button::ImplGetTextStyle(), ImplHandleExtTextInputPos(), TabPage::ImplInit(), ScrollBar::ImplInit(), ScrollBarBox::ImplInit(), Splitter::ImplInitHorVer(), DockingWindow::ImplInitSettings(), SplitWindow::ImplInitSettings(), FloatingWindow::ImplInitSettings(), Calendar::ImplInitSettings(), VclMultiLineEdit::ImplInitSettings(), HeaderBar::ImplInitSettings(), ToolBox::ImplInitSettings(), MenuBarWindow::ImplInitStyleSettings(), ImplIsMnemonicCtrl(), OutputDevice::ImplNewFont(), ImplListBoxWindow::ImplPaint(), Menu::ImplPaint(), ImplPaintCheckBackground(), Menu::ImplPaintMenuTitle(), vcl::Cursor::ImplPrepForDraw(), Edit::ImplRepaint(), ImplListBox::ImplResizeControls(), Splitter::ImplSplitterActive(), vcl::Window::ImplUpdateGlobalSettings(), TextEngine::ImpPaint(), ImplStdBorderWindowView::Init(), SvTreeListBox::InitSettings(), SvxIconChoiceCtrl_Impl::InitSettings(), BitmapEx::loadFromIconTheme(), vcl::bitmap::loadFromName(), vcl::ImageRepository::loadImage(), ImplImage::loadStockAtScale(), vcl::Cursor::LOKNotify(), ScrollBar::MouseButtonDown(), NotebookbarPopup::NotebookbarPopup(), vcl::PrintDialog::ShowNupOrderWindow::Paint(), HeaderBar::Paint(), StatusBar::Paint(), TabControl::Paint(), SpinField::Paint(), vcl::PrintDialog::PrintPreviewWindow::Paint(), MenuBarWindow::Paint(), MenuFloatingWindow::Paint(), IconView::PaintEntry(), SvxIconChoiceCtrl_Impl::PaintEntry(), SvTreeListBox::PaintEntry1(), MenuFloatingWindow::RenderHighlightItem(), ImpVclMEdit::Resize(), ListBox::Resize(), ImplBorderWindow::Resize(), PopupMenu::Run(), TextEngine::SeekCursor(), Dialog::set_action_area(), SalInstanceWidget::set_highlight_background(), SalInstanceLabel::set_label_type(), SalInstanceTextView::set_monospace(), SalInstanceWidget::set_stack_background(), SalInstanceWidget::set_title_background(), SvtIconChoiceCtrl::SetBackground(), ComboBox::SetHighlightColor(), ListBox::SetHighlightColor(), ImplListBox::SetHighlightColor(), ComboBox::SetHighlightTextColor(), ListBox::SetHighlightTextColor(), ImplListBox::SetHighlightTextColor(), MessageDialog::SetMessagesWidths(), OutputDevice::SetSystemTextColor(), Dialog::settingOptimalLayoutSize(), TextWindow::TextWindow(), NotebookBar::UpdateBackground(), NotebookBar::UpdateDefaultSettings(), NotebookBar::UpdatePersonaSettings(), vcl::FileDefinitionWidgetDraw::updateSettings(), vcl::Window::UpdateSettings(), and VclScrolledWindow::VclScrolledWindow().

◆ GetSysLocale()

SvtSysLocale & AllSettings::GetSysLocale ( )

Definition at line 3283 of file app/settings.cxx.

References mxData.

◆ GetUILanguageTag()

const LanguageTag & AllSettings::GetUILanguageTag ( ) const

◆ GetUILocaleDataWrapper()

const LocaleDataWrapper & AllSettings::GetUILocaleDataWrapper ( ) const

◆ GetUILocaleI18nHelper()

const vcl::I18nHelper & AllSettings::GetUILocaleI18nHelper ( ) const

◆ GetUIRootDir()

OUString AllSettings::GetUIRootDir ( )
static

◆ GetWindowUpdate()

static SAL_DLLPRIVATE AllSettingsFlags AllSettings::GetWindowUpdate ( )
inlinestatic

Definition at line 724 of file settings.hxx.

References LOCALE, MISC, MOUSE, and STYLE.

Referenced by vcl::Window::UpdateSettings().

◆ LocaleSettingsChanged()

void AllSettings::LocaleSettingsChanged ( ConfigurationHints  nHint)
static

◆ operator!=()

bool AllSettings::operator!= ( const AllSettings rSet) const

Definition at line 3277 of file app/settings.cxx.

References rSet.

◆ operator==()

bool AllSettings::operator== ( const AllSettings rSet) const

Definition at line 2933 of file app/settings.cxx.

References mxData, and rSet.

◆ SetHelpSettings()

void AllSettings::SetHelpSettings ( const HelpSettings rSet)

Definition at line 3264 of file app/settings.cxx.

References CopyData(), mxData, and rSet.

Referenced by ImplChangeTipTimeout().

◆ SetLanguageTag() [1/2]

void AllSettings::SetLanguageTag ( const LanguageTag rLanguageTag)

Definition at line 2955 of file app/settings.cxx.

References CopyData(), and mxData.

◆ SetLanguageTag() [2/2]

void AllSettings::SetLanguageTag ( const OUString &  rLanguage,
bool  bCanonicalize 
)

Definition at line 2950 of file app/settings.cxx.

References SetLanguageTag().

Referenced by LocaleSettingsChanged(), SetLanguageTag(), and Update().

◆ SetMiscSettings()

void AllSettings::SetMiscSettings ( const MiscSettings rSet)

Definition at line 3251 of file app/settings.cxx.

References CopyData(), mxData, and rSet.

Referenced by InitAccessBridge(), and LocaleSettingsChanged().

◆ SetMouseSettings()

void AllSettings::SetMouseSettings ( const MouseSettings rSet)

Definition at line 3231 of file app/settings.cxx.

References CopyData(), mxData, and rSet.

◆ SetStyleSettings()

void AllSettings::SetStyleSettings ( const StyleSettings rSet)

◆ Update()

AllSettingsFlags AllSettings::Update ( AllSettingsFlags  nFlags,
const AllSettings rSettings 
)

Definition at line 2869 of file app/settings.cxx.

References CopyData(), LOCALE, MISC, MOUSE, mxData, NONE, rSet, SetLanguageTag(), and STYLE.

Member Data Documentation

◆ mxData

std::shared_ptr<ImplAllSettingsData> AllSettings::mxData
private

The documentation for this class was generated from the following files: