LibreOffice Module unotools (master) 1
|
Functions | |
std::locale | Create (std::string_view aPrefixName, const LanguageTag &rLocale) |
OUString | get (TranslateId sContextAndId, const std::locale &loc) |
OUString | nget (TranslateNId aContextSingularPlural, int n, const std::locale &loc) |
OUString | ExpandVariables (const OUString &rString) |
void | SetReadStringHook (ResHookProc pProc) |
ResHookProc | GetReadStringHook () |
Variables | |
static ResHookProc | pImplResHookProc = nullptr |
UNOTOOLS_DLLPUBLIC std::locale Translate::Create | ( | std::string_view | aPrefixName, |
const LanguageTag & | rLocale | ||
) |
Definition at line 125 of file resmgr.cxx.
References LanguageTag::getGlibcLocaleString(), OUStringToOString(), and u.
UNOTOOLS_DLLPUBLIC OUString Translate::ExpandVariables | ( | const OUString & | rString | ) |
Definition at line 261 of file resmgr.cxx.
References pImplResHookProc.
UNOTOOLS_DLLPUBLIC OUString Translate::get | ( | TranslateId | sContextAndId, |
const std::locale & | loc | ||
) |
Definition at line 211 of file resmgr.cxx.
References ExpandVariables(), comphelper::LibreOfficeKit::isActive(), TranslateId::mpContext, TranslateId::mpId, result, and u.
Referenced by utl::MediaDescriptor::addInputStreamOwnLock(), utl::ConstructTempDir_Impl(), utl::DefaultFontConfiguration::DefaultFontConfiguration(), utl::UCBContentHelper::Exists(), unotools::WeakReference< interface_type >::get(), utl::ConfigManager::getAboutBoxProductVersion(), utl::ConfigManager::getAboutBoxProductVersionSuffix(), utl::Bootstrap::getBuildIdData(), utl::ConfigManager::getDefaultCurrency(), SvtDefaultOptions::GetDefaultPath(), GlobalEventConfig_Impl::getElementType(), utl::DocInfoHelper::GetGeneratorString(), SvtSecurityOptions::GetMacroSecurityLevel(), SvtLinguConfig::GetMainUpdateAccess(), GetODFDefaultVersion(), GetODFSaneDefaultVersion(), utl::ConfigManager::getProductExtension(), utl::ConfigManager::getProductName(), utl::ConfigManager::getProductVersion(), SvtSecurityOptions::GetSecureURLs(), GetSubsFontName(), utl::ConfigManager::getUILocale(), utl::ConfigManager::getVendor(), utl::ConfigManager::getWorkLocale(), utl::ConfigItem::impl_unpackLocalizedProperties(), utl::implCheckStatusOfURL(), SvtSecurityOptions::IsMacroDisabled(), SvtSecurityOptions::IsOptionSet(), utl::isProductVersionUpgraded(), ItemHolder1::ItemHolder1(), utl::lcl_createName(), utl::makeImplName(), SvtPathOptions::SearchFile(), SvtPathOptions_Impl::SvtPathOptions_Impl(), utl::OConfigurationTreeRoot::tryCreateWithComponentContext(), and utl_getLocaleForGlobalDefaultEncoding().
UNOTOOLS_DLLPUBLIC ResHookProc Translate::GetReadStringHook | ( | ) |
Definition at line 273 of file resmgr.cxx.
References pImplResHookProc.
UNOTOOLS_DLLPUBLIC OUString Translate::nget | ( | TranslateNId | aContextSingularPlural, |
int | n, | ||
const std::locale & | loc | ||
) |
Definition at line 236 of file resmgr.cxx.
References ExpandVariables(), comphelper::LibreOfficeKit::isActive(), TranslateNId::mpContext, TranslateNId::mpPlural, TranslateNId::mpSingular, n, result, and u.
UNOTOOLS_DLLPUBLIC void Translate::SetReadStringHook | ( | ResHookProc | pProc | ) |
Definition at line 268 of file resmgr.cxx.
References pImplResHookProc.
|
static |
Definition at line 259 of file resmgr.cxx.
Referenced by ExpandVariables(), GetReadStringHook(), and SetReadStringHook().