LibreOffice Module i18nlangtag (master) 1
|
Public Member Functions | |
OUString | getTagString () const |
Obtain a language tag string with '-' separator. More... | |
css::lang::Locale | getLocale () const |
Obtain a locale. More... | |
bool | startsInIgnoreAsciiCase (std::u16string_view aStr) const |
If rStr starts with maLanguageScript ignoring case. More... | |
Public Attributes | |
LanguageType | mnLang |
char | maLanguageScript [9] |
"ll-Ssss" or "lll-Ssss" More... | |
char | maCountry [3] |
LanguageType | mnOverride |
Definition at line 74 of file isolang.cxx.
css::lang::Locale IsoLanguageScriptCountryEntry::getLocale | ( | ) | const |
Obtain a locale.
Definition at line 830 of file isolang.cxx.
References getTagString(), I18NLANGTAG_QLT, and maCountry.
Referenced by MsLangId::Conversion::getLocale().
OUString IsoLanguageScriptCountryEntry::getTagString | ( | ) | const |
Obtain a language tag string with '-' separator.
Definition at line 822 of file isolang.cxx.
References maCountry, and maLanguageScript.
Referenced by getLocale().
bool IsoLanguageScriptCountryEntry::startsInIgnoreAsciiCase | ( | std::u16string_view | aStr | ) | const |
If rStr starts with maLanguageScript ignoring case.
We don't have OUString::startsWithIgnoreAsciiCaseAscii()
Definition at line 835 of file isolang.cxx.
References aStr, maLanguageScript, and o3tl::matchIgnoreAsciiCase().
char IsoLanguageScriptCountryEntry::maCountry[3] |
Definition at line 78 of file isolang.cxx.
Referenced by getLocale(), and getTagString().
char IsoLanguageScriptCountryEntry::maLanguageScript[9] |
"ll-Ssss" or "lll-Ssss"
Definition at line 77 of file isolang.cxx.
Referenced by getTagString(), and startsInIgnoreAsciiCase().
LanguageType IsoLanguageScriptCountryEntry::mnLang |
Definition at line 76 of file isolang.cxx.
Referenced by MsLangId::Conversion::getLocale().
LanguageType IsoLanguageScriptCountryEntry::mnOverride |
Definition at line 79 of file isolang.cxx.
Referenced by MsLangId::Conversion::getLocale().