LibreOffice Module cui (master) 1
Classes | Functions | Variables
optgdlg.cxx File Reference
#include <config_features.h>
#include <svl/numformat.hxx>
#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 <svl/languageoptions.hxx>
#include <svl/cjkoptions.hxx>
#include <svl/ctloptions.hxx>
#include <svtools/miscopt.hxx>
#include <unotools/syslocaleoptions.hxx>
#include <sfx2/objsh.hxx>
#include <comphelper/propertysequence.hxx>
#include <comphelper/propertyvalue.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 <GraphicsTestsDialog.hxx>
#include <unotools/searchopt.hxx>
#include <sal/log.hxx>
#include <officecfg/Office/Common.hxx>
#include <officecfg/Setup.hxx>
#include <comphelper/configuration.hxx>
#include <comphelper/diagnose_ex.hxx>
#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 <bitmaps.hlst>
#include "optgdlg.hxx"
#include <svtools/apearcfg.hxx>
#include <svtools/optionsdrawinglayer.hxx>
#include <svtools/restartdialog.hxx>
#include <svtools/imgdef.hxx>
#include <com/sun/star/datatransfer/clipboard/SystemClipboard.hpp>
#include <vcl/unohelp2.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_LINK_NOARG (OfaViewTabPage, OnRunGPTestClick, weld::Button &, void)
 
 IMPL_STATIC_LINK_NOARG (OfaViewTabPage, OnMoreIconsClick, weld::Button &, void)
 
 IMPL_LINK_NOARG (OfaViewTabPage, OnAntialiasingToggled, weld::Toggleable &, void)
 
 IMPL_LINK_NOARG (OfaViewTabPage, OnUseSkiaToggled, weld::Toggleable &, void)
 
 IMPL_LINK_NOARG (OfaViewTabPage, OnCopySkiaLog, weld::Button &, 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::Toggleable &, 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

◆ DisplayNameCompareLessThan()

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

Definition at line 516 of file optgdlg.cxx.

References vcl::IconThemeInfo::GetDisplayName().

Referenced by OfaViewTabPage::UpdateIconThemes().

◆ IMPL_LINK() [1/2]

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

Definition at line 1686 of file optgdlg.cxx.

References weld::Error, and weld::Normal.

◆ IMPL_LINK() [2/2]

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

Definition at line 1603 of file optgdlg.cxx.

References SAL_WARN, and u.

◆ IMPL_LINK_NOARG() [1/6]

IMPL_LINK_NOARG ( OfaLanguagesTabPage  ,
LocaleSettingHdl  ,
weld::ComboBox ,
void   
)

◆ IMPL_LINK_NOARG() [2/6]

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

Definition at line 334 of file optgdlg.cxx.

References aStr.

◆ IMPL_LINK_NOARG() [3/6]

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

Definition at line 607 of file optgdlg.cxx.

◆ IMPL_LINK_NOARG() [4/6]

IMPL_LINK_NOARG ( OfaViewTabPage  ,
OnCopySkiaLog  ,
weld::Button ,
void   
)

◆ IMPL_LINK_NOARG() [5/6]

IMPL_LINK_NOARG ( OfaViewTabPage  ,
OnRunGPTestClick  ,
weld::Button ,
void   
)

Definition at line 594 of file optgdlg.cxx.

References m_xContainer, and GraphicsTestsDialog::run().

◆ IMPL_LINK_NOARG() [6/6]

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

Definition at line 615 of file optgdlg.cxx.

◆ IMPL_STATIC_LINK_NOARG()

IMPL_STATIC_LINK_NOARG ( OfaViewTabPage  ,
OnMoreIconsClick  ,
weld::Button ,
void   
)

Definition at line 600 of file optgdlg.cxx.

References comphelper::dispatchCommand(), and comphelper::makePropertyValue().

◆ lcl_getDatePatternsConfigString()

static OUString lcl_getDatePatternsConfigString ( const LocaleDataWrapper rLocaleWrapper)
static

◆ lcl_Update()

static void lcl_Update ( std::unique_ptr< SfxVoidItem pInvalidItems[],
std::unique_ptr< SfxBoolItem pBoolItems[],
sal_uInt16  nCount 
)
static

Variable Documentation

◆ bLanguageCurrentDoc_Impl

bool bLanguageCurrentDoc_Impl = false
static

Definition at line 976 of file optgdlg.cxx.

Referenced by OfaLanguagesTabPage::FillItemSet(), and OfaLanguagesTabPage::Reset().

◆ sAccessSrvc

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

Definition at line 979 of file optgdlg.cxx.

Referenced by OfaLanguagesTabPage::OfaLanguagesTabPage().

◆ sAccessUpdSrvc

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

Definition at line 980 of file optgdlg.cxx.

Referenced by OfaLanguagesTabPage::FillItemSet().

◆ seqInstalledLanguages

Sequence< OUString > seqInstalledLanguages
static

◆ sInstalledLocalesPath

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

Definition at line 981 of file optgdlg.cxx.

Referenced by OfaLanguagesTabPage::OfaLanguagesTabPage().

◆ sUserLocaleKey

constexpr OUStringLiteral sUserLocaleKey = u"UILocale"
constexpr

◆ sUserLocalePath

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