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

Public Member Functions

OUString getTagString () const
 Obtain a language tag string with '-' separator. More...
 
css::lang::Locale getLocale () const
 Obtain a locale. More...
 

Public Attributes

LanguageType mnLang
 
const char * mpBcp47
 
char maCountry [3]
 
const char * mpFallback
 
LanguageType mnOverride
 

Detailed Description

Definition at line 94 of file isolang.cxx.

Member Function Documentation

◆ getLocale()

css::lang::Locale Bcp47CountryEntry::getLocale ( ) const

Obtain a locale.

Definition at line 845 of file isolang.cxx.

References getTagString(), I18NLANGTAG_QLT, and maCountry.

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

◆ getTagString()

OUString Bcp47CountryEntry::getTagString ( ) const

Obtain a language tag string with '-' separator.

Definition at line 840 of file isolang.cxx.

References mpBcp47.

Referenced by getLocale().

Member Data Documentation

◆ maCountry

char Bcp47CountryEntry::maCountry[3]

Definition at line 98 of file isolang.cxx.

Referenced by getLocale().

◆ mnLang

LanguageType Bcp47CountryEntry::mnLang

Definition at line 96 of file isolang.cxx.

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

◆ mnOverride

LanguageType Bcp47CountryEntry::mnOverride

Definition at line 100 of file isolang.cxx.

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

◆ mpBcp47

const char* Bcp47CountryEntry::mpBcp47

Definition at line 97 of file isolang.cxx.

Referenced by getTagString().

◆ mpFallback

const char* Bcp47CountryEntry::mpFallback

Definition at line 99 of file isolang.cxx.


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