28#include <officecfg/Office/Common.hxx>
65 if (
bool(nChangeFlags) )
87 mpWindowImpl->mpBorderWindow->UpdateSettings( rSettings );
113 mpWindowImpl->mxOutDev->moSettings->SetMouseSettings( aSet );
133 if (
bool(nChangeFlags) )
168 if (bBrokenLangFontHeight)
169 defFontheight = std::max(9, defFontheight);
172 int toolfontheight = defFontheight;
173 if( toolfontheight > 9 )
174 toolfontheight = (defFontheight+8) / 2;
186 if( bBrokenLangFontHeight )
232 static const char* pEnvHC = getenv(
"SAL_FORCE_HC" );
233 const bool bForceHCMode = pEnvHC && *pEnvHC;
238 sal_Int32 nHighContrastMode = officecfg::Office::Common::Accessibility::HighContrast::get();
239 if (nHighContrastMode != 0)
241 const bool bEnable = nHighContrastMode == 2;
static SAL_DLLPRIVATE AllSettingsFlags GetWindowUpdate()
const MouseSettings & GetMouseSettings() const
SAL_DLLPRIVATE AllSettingsFlags GetChangeFlags(const AllSettings &rSettings) const
const StyleSettings & GetStyleSettings() const
void SetStyleSettings(const StyleSettings &rSet)
virtual void OverrideSystemSettings(AllSettings &rSettings)
Sets user settings in settings object to override system settings.
static const AllSettings & GetSettings()
Gets the application's settings.
VclPtr< NotebookBar > mpNotebookBar
VclPtr< vcl::Window > mpMenuBarWindow
void SetWheelBehavior(MouseWheelBehaviour nBehavior)
MouseWheelBehaviour GetWheelBehavior() const
static bool isCJK(LanguageType nLang)
virtual void SetSettings(const AllSettings &rSettings)
std::optional< AllSettings > moSettings
virtual void UpdateSettings(AllSettings &rSettings)=0
void SetLabelFont(const vcl::Font &rFont)
void SetRadioCheckFont(const vcl::Font &rFont)
void SetFloatTitleFont(const vcl::Font &rFont)
const vcl::Font & GetHelpFont() const
const Color & GetWindowColor() const
void SetHelpFont(const vcl::Font &rFont)
void SetToolFont(const vcl::Font &rFont)
void SetPushButtonFont(const vcl::Font &rFont)
const vcl::Font & GetMenuFont() const
const vcl::Font & GetRadioCheckFont() const
const vcl::Font & GetTabFont() const
const vcl::Font & GetFieldFont() const
const vcl::Font & GetFloatTitleFont() const
void SetTabFont(const vcl::Font &rFont)
const vcl::Font & GetLabelFont() const
void SetGroupFont(const vcl::Font &rFont)
const vcl::Font & GetGroupFont() const
const vcl::Font & GetPushButtonFont() const
void SetHighContrastMode(bool bHighContrast)
void SetAppFont(const vcl::Font &rFont)
const vcl::Font & GetToolFont() const
void SetTitleFont(const vcl::Font &rFont)
void SetFieldFont(const vcl::Font &rFont)
void SetIconFont(const vcl::Font &rFont)
const vcl::Font & GetIconFont() const
const Color & GetFaceColor() const
const vcl::Font & GetAppFont() const
const vcl::Font & GetTitleFont() const
void SetMenuFont(const vcl::Font &rFont)
tools::Long GetFontHeight() const
void SetFontHeight(tools::Long nHeight)
virtual void SetSettings(const AllSettings &rSettings) override
VclPtr< vcl::Window > mxOwnerWindow
const Wallpaper & GetBackground() const
bool IsBackground() const
void UpdateSettings(const AllSettings &rSettings, bool bChild=false)
::OutputDevice const * GetOutDev() const
SAL_DLLPRIVATE void ImplInitResolutionSettings()
std::unique_ptr< WindowImpl > mpWindowImpl
SalFrame * ImplGetFrame() const
virtual void DataChanged(const DataChangedEvent &rDCEvt)
void CallEventListeners(VclEventId nEvent, void *pData=nullptr)
SAL_DLLPRIVATE void ImplUpdateGlobalSettings(AllSettings &rSettings, bool bCallHdl=true) const