LibreOffice Module cui (master)  1
Classes | Functions | Variables
optgdlg.cxx File Reference
#include <config_features.h>
#include <config_vclplug.h>
#include <svl/zforlist.hxx>
#include <svl/currencytable.hxx>
#include <svtools/langhelp.hxx>
#include <unotools/lingucfg.hxx>
#include <sfx2/bindings.hxx>
#include <sfx2/viewfrm.hxx>
#include <i18nlangtag/mslangid.hxx>
#include <i18nlangtag/languagetag.hxx>
#include <unotools/compatibility.hxx>
#include <svtools/menuoptions.hxx>
#include <svl/languageoptions.hxx>
#include <svtools/miscopt.hxx>
#include <unotools/syslocaleoptions.hxx>
#include <sfx2/objsh.hxx>
#include <comphelper/propertysequence.hxx>
#include <svtools/langtab.hxx>
#include <editeng/unolingu.hxx>
#include <editeng/langitem.hxx>
#include <comphelper/processfactory.hxx>
#include <comphelper/string.hxx>
#include <rtl/ustrbuf.hxx>
#include <editeng/editids.hrc>
#include <svx/svxids.hrc>
#include <svl/intitem.hxx>
#include <svtools/helpopt.hxx>
#include <unotools/searchopt.hxx>
#include <sal/log.hxx>
#include <officecfg/Office/Common.hxx>
#include <officecfg/Setup.hxx>
#include <comphelper/configuration.hxx>
#include <tools/diagnose_ex.h>
#include <com/sun/star/configuration/theDefaultProvider.hpp>
#include <com/sun/star/container/XNameAccess.hpp>
#include <com/sun/star/container/XNameReplace.hpp>
#include <com/sun/star/container/XHierarchicalNameAccess.hpp>
#include <com/sun/star/beans/NamedValue.hpp>
#include <com/sun/star/beans/PropertyAttribute.hpp>
#include <com/sun/star/beans/XPropertySet.hpp>
#include <com/sun/star/util/XChangesBatch.hpp>
#include <com/sun/star/uno/Any.hxx>
#include <com/sun/star/container/XContentEnumerationAccess.hpp>
#include <com/sun/star/container/XSet.hpp>
#include <com/sun/star/i18n/ScriptType.hpp>
#include <com/sun/star/office/Quickstart.hpp>
#include <com/sun/star/linguistic2/XLinguProperties.hpp>
#include <comphelper/dispatchcommand.hxx>
#include <vcl/vclenum.hxx>
#include <vcl/svapp.hxx>
#include <vcl/settings.hxx>
#include <vcl/window.hxx>
#include <vcl/IconThemeInfo.hxx>
#include <vcl/skia/SkiaHelper.hxx>
#include "optgdlg.hxx"
#include <svtools/apearcfg.hxx>
#include <svtools/optionsdrawinglayer.hxx>
#include <svtools/restartdialog.hxx>
#include <svtools/imgdef.hxx>
Include dependency graph for optgdlg.cxx:

Go to the source code of this file.

Classes

class  CanvasSettings
 
struct  LanguageConfig_Impl
 

Functions

 IMPL_LINK_NOARG (OfaMiscTabPage, TwoFigureHdl, weld::SpinButton &, void)
 
static bool DisplayNameCompareLessThan (const vcl::IconThemeInfo &rInfo1, const vcl::IconThemeInfo &rInfo2)
 
 IMPL_STATIC_LINK_NOARG (OfaViewTabPage, OnMoreIconsClick, weld::Button &, void)
 
 IMPL_LINK_NOARG (OfaViewTabPage, OnAntialiasingToggled, weld::ToggleButton &, void)
 
 IMPL_LINK_NOARG (OfaViewTabPage, OnUseSkiaToggled, weld::ToggleButton &, void)
 
static OUString lcl_getDatePatternsConfigString (const LocaleDataWrapper &rLocaleWrapper)
 
static void lcl_Update (std::unique_ptr< SfxVoidItem > pInvalidItems[], std::unique_ptr< SfxBoolItem > pBoolItems[], sal_uInt16 nCount)
 
 IMPL_LINK (OfaLanguagesTabPage, SupportHdl, weld::ToggleButton &, rBox, void)
 
 IMPL_LINK_NOARG (OfaLanguagesTabPage, LocaleSettingHdl, weld::ComboBox &, void)
 
 IMPL_LINK (OfaLanguagesTabPage, DatePatternsHdl, weld::Entry &, rEd, void)
 

Variables

static bool bLanguageCurrentDoc_Impl = false
 
constexpr OUStringLiteral sAccessSrvc = u"com.sun.star.configuration.ConfigurationAccess"
 
constexpr OUStringLiteral sAccessUpdSrvc = u"com.sun.star.configuration.ConfigurationUpdateAccess"
 
constexpr OUStringLiteral sInstalledLocalesPath = u"org.openoffice.Setup/Office/InstalledLocales"
 
constexpr OUStringLiteral sUserLocalePath = u"org.openoffice.Office.Linguistic/General"
 
constexpr OUStringLiteral sUserLocaleKey = u"UILocale"
 
static Sequence< OUString > seqInstalledLanguages
 

Function Documentation

static bool DisplayNameCompareLessThan ( const vcl::IconThemeInfo rInfo1,
const vcl::IconThemeInfo rInfo2 
)
static

Definition at line 551 of file optgdlg.cxx.

References vcl::IconThemeInfo::GetDisplayName().

Referenced by OfaViewTabPage::OfaViewTabPage().

IMPL_LINK ( OfaLanguagesTabPage  ,
SupportHdl  ,
weld::ToggleButton ,
rBox  ,
void   
)

Definition at line 1645 of file optgdlg.cxx.

References SAL_WARN.

IMPL_LINK ( OfaLanguagesTabPage  ,
DatePatternsHdl  ,
weld::Entry ,
rEd  ,
void   
)

Definition at line 1728 of file optgdlg.cxx.

References aBuf, weld::Error, i, nIndex, and weld::Normal.

IMPL_LINK_NOARG ( OfaMiscTabPage  ,
TwoFigureHdl  ,
weld::SpinButton ,
void   
)

Definition at line 351 of file optgdlg.cxx.

References aStr.

IMPL_LINK_NOARG ( OfaViewTabPage  ,
OnAntialiasingToggled  ,
weld::ToggleButton ,
void   
)

Definition at line 633 of file optgdlg.cxx.

IMPL_LINK_NOARG ( OfaViewTabPage  ,
OnUseSkiaToggled  ,
weld::ToggleButton ,
void   
)

Definition at line 641 of file optgdlg.cxx.

IMPL_LINK_NOARG ( OfaLanguagesTabPage  ,
LocaleSettingHdl  ,
weld::ComboBox ,
void   
)
IMPL_STATIC_LINK_NOARG ( OfaViewTabPage  ,
OnMoreIconsClick  ,
weld::Button ,
void   
)

Definition at line 625 of file optgdlg.cxx.

References comphelper::dispatchCommand().

static OUString lcl_getDatePatternsConfigString ( const LocaleDataWrapper rLocaleWrapper)
static
static void lcl_Update ( std::unique_ptr< SfxVoidItem pInvalidItems[],
std::unique_ptr< SfxBoolItem pBoolItems[],
sal_uInt16  nCount 
)
static

Variable Documentation

bool bLanguageCurrentDoc_Impl = false
static

Definition at line 1019 of file optgdlg.cxx.

constexpr OUStringLiteral sAccessSrvc = u"com.sun.star.configuration.ConfigurationAccess"

Definition at line 1022 of file optgdlg.cxx.

constexpr OUStringLiteral sAccessUpdSrvc = u"com.sun.star.configuration.ConfigurationUpdateAccess"

Definition at line 1023 of file optgdlg.cxx.

Sequence< OUString > seqInstalledLanguages
static

Definition at line 1027 of file optgdlg.cxx.

constexpr OUStringLiteral sInstalledLocalesPath = u"org.openoffice.Setup/Office/InstalledLocales"

Definition at line 1024 of file optgdlg.cxx.

constexpr OUStringLiteral sUserLocaleKey = u"UILocale"

Definition at line 1026 of file optgdlg.cxx.

constexpr OUStringLiteral sUserLocalePath = u"org.openoffice.Office.Linguistic/General"

Definition at line 1025 of file optgdlg.cxx.