Lines Matching refs:wsFormat
89 const WideString& wsFormat, in CXFA_LocaleValue() argument
94 m_bValid(ParsePatternValue(wsValue, wsFormat, pLocale)) {} in CXFA_LocaleValue()
123 WideString wsFormat = wsPatterns[i]; in ValidateValue() local
124 switch (ValueCategory(pFormat->GetCategory(wsFormat), m_dwType)) { in ValidateValue()
126 bRet = pFormat->ParseNull(wsValue, wsFormat); in ValidateValue()
131 bRet = pFormat->ParseZero(wsValue, wsFormat); in ValidateValue()
137 bRet = pFormat->ParseNum(wsValue, wsFormat, &fNum); in ValidateValue()
139 bRet = pFormat->FormatNum(wsValue, wsFormat, &wsOutput); in ValidateValue()
143 bRet = pFormat->ParseText(wsValue, wsFormat, &wsOutput); in ValidateValue()
146 bRet = pFormat->FormatText(wsValue, wsFormat, &wsOutput); in ValidateValue()
152 bRet = pFormat->ParseDateTime(wsValue, wsFormat, FX_DATETIMETYPE_Date, in ValidateValue()
155 bRet = pFormat->FormatDateTime(wsValue, wsFormat, in ValidateValue()
163 bRet = pFormat->ParseDateTime(wsValue, wsFormat, FX_DATETIMETYPE_Time, in ValidateValue()
166 bRet = pFormat->FormatDateTime(wsValue, wsFormat, in ValidateValue()
173 bRet = pFormat->ParseDateTime(wsValue, wsFormat, in ValidateValue()
176 bRet = pFormat->FormatDateTime(wsValue, wsFormat, in ValidateValue()
320 const WideString& wsFormat, in FormatPatterns() argument
325 pFormat->SplitFormatString(wsFormat, &wsPatterns); in FormatPatterns()
336 const WideString& wsFormat, in FormatSinglePattern() argument
347 ValueCategory(pFormat->GetCategory(wsFormat), m_dwType); in FormatSinglePattern()
351 bRet = pFormat->FormatNull(wsFormat, &wsResult); in FormatSinglePattern()
355 bRet = pFormat->FormatZero(wsFormat, &wsResult); in FormatSinglePattern()
358 bRet = pFormat->FormatNum(m_wsValue, wsFormat, &wsResult); in FormatSinglePattern()
361 bRet = pFormat->FormatText(m_wsValue, wsFormat, &wsResult); in FormatSinglePattern()
364 bRet = pFormat->FormatDateTime(m_wsValue, wsFormat, FX_DATETIMETYPE_Date, in FormatSinglePattern()
368 bRet = pFormat->FormatDateTime(m_wsValue, wsFormat, FX_DATETIMETYPE_Time, in FormatSinglePattern()
372 bRet = pFormat->FormatDateTime(m_wsValue, wsFormat, in FormatSinglePattern()
616 WideString wsFormat = wsPatterns[i]; in ParsePatternValue() local
617 switch (ValueCategory(pFormat->GetCategory(wsFormat), m_dwType)) { in ParsePatternValue()
619 bRet = pFormat->ParseNull(wsValue, wsFormat); in ParsePatternValue()
624 bRet = pFormat->ParseZero(wsValue, wsFormat); in ParsePatternValue()
630 bRet = pFormat->ParseNum(wsValue, wsFormat, &fNum); in ParsePatternValue()
636 bRet = pFormat->ParseText(wsValue, wsFormat, &m_wsValue); in ParsePatternValue()
642 bRet = pFormat->ParseDateTime(wsValue, wsFormat, FX_DATETIMETYPE_Date, in ParsePatternValue()
651 bRet = pFormat->ParseDateTime(wsValue, wsFormat, FX_DATETIMETYPE_Time, in ParsePatternValue()
659 bRet = pFormat->ParseDateTime(wsValue, wsFormat, in ParsePatternValue()
680 void CXFA_LocaleValue::GetNumericFormat(WideString& wsFormat, in GetNumericFormat() argument
683 ASSERT(wsFormat.IsEmpty()); in GetNumericFormat()
688 wchar_t* lpBuf = wsFormat.GetBuffer(nTotalLen); in GetNumericFormat()
713 wsFormat.ReleaseBuffer(nTotalLen); in GetNumericFormat()
717 const WideString& wsFormat, in ValidateNumericTemp() argument
719 if (wsFormat.IsEmpty() || wsNumeric.IsEmpty()) in ValidateNumericTemp()
723 const wchar_t* pFmt = wsFormat.c_str(); in ValidateNumericTemp()
736 int32_t nCountFmt = wsFormat.GetLength(); in ValidateNumericTemp()