Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <cxfa_localevalue.h>
Public Types | |
enum class | ValueType : uint8_t { kNull = 0 , kBoolean , kInteger , kDecimal , kFloat , kText , kDate , kTime , kDateTime } |
Definition at line 21 of file cxfa_localevalue.h.
|
strong |
Enumerator | |
---|---|
kNull | |
kBoolean | |
kInteger | |
kDecimal | |
kFloat | |
kText | |
kDate | |
kTime | |
kDateTime |
Definition at line 25 of file cxfa_localevalue.h.
|
default |
CXFA_LocaleValue::CXFA_LocaleValue | ( | ValueType | eType, |
CXFA_LocaleMgr * | pLocaleMgr ) |
Definition at line 100 of file cxfa_localevalue.cpp.
References CXFA_LocaleValue(), and kNull.
Referenced by CXFA_LocaleValue().
CXFA_LocaleValue::CXFA_LocaleValue | ( | ValueType | eType, |
const WideString & | wsValue, | ||
CXFA_LocaleMgr * | pLocaleMgr ) |
Definition at line 105 of file cxfa_localevalue.cpp.
References CXFA_LocaleValue().
Referenced by CXFA_LocaleValue(), CXFA_Node::GetFormatDataValue(), and CXFA_Node::GetValue().
CXFA_LocaleValue::CXFA_LocaleValue | ( | ValueType | dwType, |
const WideString & | wsValue, | ||
const WideString & | wsFormat, | ||
GCedLocaleIface * | pLocale, | ||
CXFA_LocaleMgr * | pLocaleMgr ) |
Definition at line 113 of file cxfa_localevalue.cpp.
References CXFA_LocaleValue().
Referenced by CXFA_LocaleValue(), CFXJSE_FormCalcContext::Format(), CXFA_Node::GetNormalizeDataValue(), CFXJSE_FormCalcContext::Parse(), and CXFA_Node::SetValue().
|
default |
|
default |
bool CXFA_LocaleValue::FormatPatterns | ( | WideString & | wsResult, |
const WideString & | wsFormat, | ||
GCedLocaleIface * | pLocale, | ||
XFA_ValuePicture | eValueType ) const |
Definition at line 274 of file cxfa_localevalue.cpp.
References fxcrt::WideString::clear().
Referenced by CFXJSE_FormCalcContext::Format(), CXFA_Node::GetFormatDataValue(), CXFA_Node::GetValue(), CFXJSE_FormCalcContext::IsoDate2Local(), and CFXJSE_FormCalcContext::IsoTime2Local().
CFX_DateTime CXFA_LocaleValue::GetDate | ( | ) | const |
Definition at line 230 of file cxfa_localevalue.cpp.
References CFX_DateTime::CFX_DateTime(), and kDate.
Referenced by CXFA_FFDateTimeEdit::LoadWidget(), CFXJSE_FormCalcContext::Local2IsoDate(), and CXFA_FFDateTimeEdit::UpdateFWLData().
double CXFA_LocaleValue::GetDoubleNum | ( | ) | const |
Definition at line 219 of file cxfa_localevalue.cpp.
References kBoolean, kDecimal, kFloat, and kInteger.
Referenced by CFXJSE_FormCalcContext::Parse().
void CXFA_LocaleValue::GetNumericFormat | ( | WideString & | wsFormat, |
int32_t | nIntLen, | ||
int32_t | nDecLen ) |
Definition at line 642 of file cxfa_localevalue.cpp.
CFX_DateTime CXFA_LocaleValue::GetTime | ( | ) | const |
Definition at line 239 of file cxfa_localevalue.cpp.
References CFX_DateTime::CFX_DateTime(), and kTime.
Referenced by CFXJSE_FormCalcContext::IsoTime2Num(), and CFXJSE_FormCalcContext::Time2Num().
|
inline |
Definition at line 69 of file cxfa_localevalue.h.
Referenced by CXFA_Node::GetFormatDataValue(), CXFA_Node::GetNormalizeDataValue(), CXFA_Node::GetPictureContent(), CXFA_Node::GetValue(), and CXFA_Node::SetValue().
|
inline |
Definition at line 68 of file cxfa_localevalue.h.
Referenced by CXFA_Node::GetNormalizeDataValue(), CFXJSE_FormCalcContext::Parse(), and CXFA_Node::SetValue().
|
inline |
Definition at line 67 of file cxfa_localevalue.h.
Referenced by CFXJSE_FormCalcContext::Format(), CFXJSE_FormCalcContext::IsoTime2Num(), CFXJSE_FormCalcContext::Parse(), CFXJSE_FormCalcContext::Time2Num(), and CXFA_FFDateTimeEdit::UpdateFWLData().
|
default |
Referenced by CXFA_Node::GetNormalizeDataValue(), and CXFA_Node::SetValue().
bool CXFA_LocaleValue::SetDate | ( | const CFX_DateTime & | d | ) |
Definition at line 248 of file cxfa_localevalue.cpp.
References kDate.
Referenced by CXFA_FFDateTimeEdit::OnSelectChanged().
bool CXFA_LocaleValue::ValidateNumericTemp | ( | const WideString & | wsNumeric, |
const WideString & | wsFormat, | ||
GCedLocaleIface * | pLocale ) |
Definition at line 682 of file cxfa_localevalue.cpp.
References fxcrt::WideString::WideString(), LocaleIface::GetDecimalSymbol(), fxcrt::WideString::IsEmpty(), and fxcrt::WideString::operator=().
bool CXFA_LocaleValue::ValidateValue | ( | const WideString & | wsValue, |
const WideString & | wsPattern, | ||
GCedLocaleIface * | pLocale, | ||
WideString * | pMatchFormat ) |
Definition at line 129 of file cxfa_localevalue.cpp.
References fxcrt::WideString::clear(), fxcrt::WideString::EqualsASCII(), fxcrt::WideString::IsEmpty(), CFGAS_StringFormatter::kDate, CFGAS_StringFormatter::kDateTime, CFGAS_StringFormatter::kNull, CFGAS_StringFormatter::kNum, CFGAS_StringFormatter::kText, CFGAS_StringFormatter::kTime, and CFGAS_StringFormatter::kZero.
Referenced by CXFA_Node::GetNormalizeDataValue(), and CXFA_Node::SetValue().