Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
CXFA_LocaleMgr Class Referencefinal

#include <cxfa_localemgr.h>

+ Inheritance diagram for CXFA_LocaleMgr:
+ Collaboration diagram for CXFA_LocaleMgr:

Public Types

enum class  LangID : uint16_t {
  k_zh_HK = 0x0c04 , k_zh_CN = 0x0804 , k_zh_TW = 0x0404 , k_nl_NL = 0x0413 ,
  k_en_GB = 0x0809 , k_en_US = 0x0409 , k_fr_FR = 0x040c , k_de_DE = 0x0407 ,
  k_it_IT = 0x0410 , k_ja_JP = 0x0411 , k_ko_KR = 0x0412 , k_pt_BR = 0x0416 ,
  k_ru_RU = 0x0419 , k_es_LA = 0x080a , k_es_ES = 0x0c0a
}
 

Public Member Functions

 ~CXFA_LocaleMgr () override
 
void Trace (cppgc::Visitor *visitor) const
 
GCedLocaleIfaceGetDefLocale () override
 
GCedLocaleIfaceGetLocaleByName (const WideString &wsLocaleName) override
 
void SetDefLocale (GCedLocaleIface *pLocale)
 
absl::optional< WideStringGetConfigLocaleName (CXFA_Node *pConfig) const
 
- Public Member Functions inherited from LocaleMgrIface
virtual ~LocaleMgrIface ()=default
 

Public Attributes

 CONSTRUCT_VIA_MAKE_GARBAGE_COLLECTED
 

Detailed Description

Definition at line 25 of file cxfa_localemgr.h.

Member Enumeration Documentation

◆ LangID

enum class CXFA_LocaleMgr::LangID : uint16_t
strong
Enumerator
k_zh_HK 
k_zh_CN 
k_zh_TW 
k_nl_NL 
k_en_GB 
k_en_US 
k_fr_FR 
k_de_DE 
k_it_IT 
k_ja_JP 
k_ko_KR 
k_pt_BR 
k_ru_RU 
k_es_LA 
k_es_ES 

Definition at line 28 of file cxfa_localemgr.h.

Constructor & Destructor Documentation

◆ ~CXFA_LocaleMgr()

CXFA_LocaleMgr::~CXFA_LocaleMgr ( )
overridedefault

Member Function Documentation

◆ GetConfigLocaleName()

absl::optional< WideString > CXFA_LocaleMgr::GetConfigLocaleName ( CXFA_Node * pConfig) const

Definition at line 1234 of file cxfa_localemgr.cpp.

◆ GetDefLocale()

GCedLocaleIface * CXFA_LocaleMgr::GetDefLocale ( )
overridevirtual

Implements LocaleMgrIface.

Definition at line 1153 of file cxfa_localemgr.cpp.

Referenced by CFXJSE_FormCalcContext::IsoTime2Num().

+ Here is the caller graph for this function:

◆ GetLocaleByName()

GCedLocaleIface * CXFA_LocaleMgr::GetLocaleByName ( const WideString & wsLocaleName)
overridevirtual

Implements LocaleMgrIface.

Definition at line 1206 of file cxfa_localemgr.cpp.

References LocaleIface::GetName(), and fxcrt::WideString::operator==().

Referenced by CFXJSE_FormCalcContext::Time2Num().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SetDefLocale()

void CXFA_LocaleMgr::SetDefLocale ( GCedLocaleIface * pLocale)

Definition at line 1230 of file cxfa_localemgr.cpp.

◆ Trace()

void CXFA_LocaleMgr::Trace ( cppgc::Visitor * visitor) const

Definition at line 1147 of file cxfa_localemgr.cpp.

Member Data Documentation

◆ CONSTRUCT_VIA_MAKE_GARBAGE_COLLECTED

CXFA_LocaleMgr::CONSTRUCT_VIA_MAKE_GARBAGE_COLLECTED

Definition at line 46 of file cxfa_localemgr.h.


The documentation for this class was generated from the following files: