LibreOffice Module i18nlangtag (master) 1
Public Member Functions | Public Attributes | List of all members
IsoLanguageScriptCountryEntry Struct Reference
Collaboration diagram for IsoLanguageScriptCountryEntry:
[legend]

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
 

Detailed Description

Definition at line 74 of file isolang.cxx.

Member Function Documentation

◆ getLocale()

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().

◆ getTagString()

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().

◆ startsInIgnoreAsciiCase()

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().

Member Data Documentation

◆ maCountry

char IsoLanguageScriptCountryEntry::maCountry[3]

Definition at line 78 of file isolang.cxx.

Referenced by getLocale(), and getTagString().

◆ maLanguageScript

char IsoLanguageScriptCountryEntry::maLanguageScript[9]

"ll-Ssss" or "lll-Ssss"

Definition at line 77 of file isolang.cxx.

Referenced by getTagString(), and startsInIgnoreAsciiCase().

◆ mnLang

LanguageType IsoLanguageScriptCountryEntry::mnLang

Definition at line 76 of file isolang.cxx.

Referenced by MsLangId::Conversion::getLocale().

◆ mnOverride

LanguageType IsoLanguageScriptCountryEntry::mnOverride

Definition at line 79 of file isolang.cxx.

Referenced by MsLangId::Conversion::getLocale().


The documentation for this struct was generated from the following file: