50 mpWindowImpl->mpBorderWindow->SetSettings( rSettings,
false );
51 if ( (
mpWindowImpl->mpBorderWindow->GetType() == WindowType::BORDERWINDOW) &&
52 static_cast<ImplBorderWindow*>(
mpWindowImpl->mpBorderWindow.get())->mpMenuBarWindow )
63 if (
bool(nChangeFlags) )
85 mpWindowImpl->mpBorderWindow->UpdateSettings( rSettings );
86 if ( (
mpWindowImpl->mpBorderWindow->GetType() == WindowType::BORDERWINDOW) &&
87 static_cast<ImplBorderWindow*>(
mpWindowImpl->mpBorderWindow.get())->mpMenuBarWindow )
126 if (
bool(nChangeFlags) )
161 if (bBrokenLangFontHeight)
162 defFontheight = std::max(9, defFontheight);
165 int toolfontheight = defFontheight;
166 if( toolfontheight > 9 )
167 toolfontheight = (defFontheight+8) / 2;
179 if( bBrokenLangFontHeight )
224 bool bForceHCMode =
false;
230 bool bAutoHCMode =
true;
233 "org.openoffice.Office.Common/Accessibility" );
236 css::uno::Any aValue = aNode.
getNodeValue(
"AutoDetectSystemHC" );
238 if( aValue >>= bTmp )
249 static const char* pEnvHC = getenv(
"SAL_FORCE_HC" );
250 if( pEnvHC && *pEnvHC )
void SetMenuFont(const vcl::Font &rFont)
void SetHelpFont(const vcl::Font &rFont)
const Wallpaper & GetBackground() const
void SetFieldFont(const vcl::Font &rFont)
const vcl::Font & GetMenuFont() const
void SetStyleSettings(const StyleSettings &rSet)
bool IsBackground() const
SAL_DLLPRIVATE void ImplInitResolutionSettings()
void SetIconFont(const vcl::Font &rFont)
void SetRadioCheckFont(const vcl::Font &rFont)
const StyleSettings & GetStyleSettings() const
static const AllSettings & GetSettings()
Gets the application's settings.
const Color & GetFaceColor() const
const vcl::Font & GetRadioCheckFont() const
void SetHighContrastMode(bool bHighContrast)
virtual void SetSettings(const AllSettings &rSettings)
virtual void SetSettings(const AllSettings &rSettings) override
const vcl::Font & GetFieldFont() const
tools::Long GetFontHeight() const
const vcl::Font & GetLabelFont() const
bool GetHighContrastMode() const
std::unique_ptr< AllSettings > mxSettings
static bool isCJK(LanguageType nLang)
MouseWheelBehaviour GetWheelBehavior() const
const vcl::Font & GetPushButtonFont() const
const vcl::Font & GetGroupFont() const
const vcl::Font & GetToolFont() const
const vcl::Font & GetTabFont() const
const vcl::Font & GetHelpFont() const
std::unique_ptr< WindowImpl > mpWindowImpl
static OConfigurationTreeRoot tryCreateWithComponentContext(const css::uno::Reference< css::uno::XComponentContext > &rxContext, const OUString &_rPath, sal_Int32 _nDepth=-1, CREATION_MODE _eMode=CM_UPDATABLE)
virtual void UpdateSettings(AllSettings &rSettings)=0
void SetAppFont(const vcl::Font &rFont)
void SetToolFont(const vcl::Font &rFont)
void SetFloatTitleFont(const vcl::Font &rFont)
SalFrame * ImplGetFrame() const
void SetGroupFont(const vcl::Font &rFont)
void SetPushButtonFont(const vcl::Font &rFont)
void SetTitleFont(const vcl::Font &rFont)
const vcl::Font & GetTitleFont() const
void SetLabelFont(const vcl::Font &rFont)
const vcl::Font & GetIconFont() const
void SetWheelBehavior(MouseWheelBehaviour nBehavior)
css::uno::Any getNodeValue(const OUString &_rPath) const
Reference< XComponentContext > getProcessComponentContext()
const MouseSettings & GetMouseSettings() const
const vcl::Font & GetFloatTitleFont() const
const Color & GetWindowColor() const
virtual void OverrideSystemSettings(AllSettings &rSettings)
Sets user settings in settings object to override system settings.
SAL_DLLPRIVATE void ImplUpdateGlobalSettings(AllSettings &rSettings, bool bCallHdl=true) const
const vcl::Font & GetAppFont() const
void SetFontHeight(tools::Long nHeight)
void SetTabFont(const vcl::Font &rFont)
void CallEventListeners(VclEventId nEvent, void *pData=nullptr)
AllSettingsFlags GetChangeFlags(const AllSettings &rSettings) const
virtual void DataChanged(const DataChangedEvent &rDCEvt)
static AllSettingsFlags GetWindowUpdate()
void UpdateSettings(const AllSettings &rSettings, bool bChild=false)