|
LibreOffice Module unotools (master) 1
|
#include <sal/config.h>#include <com/sun/star/lang/Locale.hpp>#include <com/sun/star/lang/XMultiServiceFactory.hpp>#include <com/sun/star/beans/PropertyValue.hpp>#include <com/sun/star/configuration/theDefaultProvider.hpp>#include <com/sun/star/container/XNameAccess.hpp>#include <com/sun/star/util/XChangesBatch.hpp>#include <sal/log.hxx>#include <comphelper/diagnose_ex.hxx>#include <i18nlangtag/mslangid.hxx>#include <i18nlangtag/languagetag.hxx>#include <tools/debug.hxx>#include <unotools/configitem.hxx>#include <unotools/lingucfg.hxx>#include <unotools/linguprops.hxx>#include <comphelper/getexpandeduri.hxx>#include <comphelper/processfactory.hxx>#include <o3tl/string_view.hxx>#include <mutex>#include "itemholder1.hxx"Go to the source code of this file.
Classes | |
| class | SvtLinguConfigItem |
Functions | |
| static bool | lcl_SetLocale (LanguageType &rLanguage, const uno::Any &rVal) |
| static OUString | lcl_LanguageToCfgLocaleStr (LanguageType nLanguage) |
| static LanguageType | lcl_CfgAnyToLanguage (const uno::Any &rVal) |
| static bool | lcl_GetFileUrlFromOrigin (OUString &rFileUrl, const OUString &rOrigin) |
Variables | |
| constexpr OUStringLiteral | FILE_PROTOCOL = u"file:///" |
| NamesToHdl const | aNamesToHdl [] |
| static SvtLinguConfigItem * | pCfgItem = nullptr |
| static sal_Int32 | nCfgItemRefCount = 0 |
| constexpr OUStringLiteral | aG_Dictionaries = u"Dictionaries" |
|
static |
Definition at line 81 of file lingucfg.cxx.
References LanguageTag::convertToLanguageTypeWithFallback(), and LANGUAGE_SYSTEM.
Referenced by SvtLinguConfigItem::LoadOptions().
|
static |
Definition at line 944 of file lingucfg.cxx.
References aURL, FILE_PROTOCOL, comphelper::getExpandedUri(), comphelper::getProcessComponentContext(), and SAL_WARN.
Referenced by SvtLinguConfig::GetDictionaryEntry(), and SvtLinguConfig::GetVendorImageUrl_Impl().
|
static |
Definition at line 73 of file lingucfg.cxx.
References LanguageTag::convertToBcp47(), and LANGUAGE_SYSTEM.
Referenced by SvtLinguConfigItem::SaveOptions().
|
static |
Definition at line 56 of file lingucfg.cxx.
References LanguageTag::convertToLanguageType().
|
constexpr |
Definition at line 819 of file lingucfg.cxx.
Referenced by SvtLinguConfig::GetActiveDictionariesByFormat(), and SvtLinguConfig::GetDictionaryEntry().
| NamesToHdl const aNamesToHdl[] |
Definition at line 231 of file lingucfg.cxx.
Referenced by SvtLinguConfigItem::GetHdlByName(), and SvtLinguConfigItem::GetPropertyNames().
|
constexpr |
Definition at line 45 of file lingucfg.cxx.
Referenced by lcl_GetFileUrlFromOrigin().
|
static |
Definition at line 817 of file lingucfg.cxx.
Referenced by SvtLinguConfig::SvtLinguConfig(), and SvtLinguConfig::~SvtLinguConfig().
|
static |
Definition at line 816 of file lingucfg.cxx.
Referenced by SvtLinguConfig::GetConfigItem(), and SvtLinguConfig::~SvtLinguConfig().