Searched refs:wsMeasure (Results 1 – 2 of 2) sorted by relevance
444 void CXFA_Measurement::Set(const CFX_WideStringC& wsMeasure) { in Set() argument445 if (wsMeasure.IsEmpty()) { in Set()451 int32_t iOffset = (wsMeasure.GetAt(0) == L'=') ? 1 : 0; in Set()452 FX_FLOAT fValue = FX_wcstof(wsMeasure.GetPtr() + iOffset, in Set()453 wsMeasure.GetLength() - iOffset, &iUsedLen); in Set()454 XFA_UNIT eUnit = GetUnit(wsMeasure.Mid(iOffset + iUsedLen)); in Set()457 FX_BOOL CXFA_Measurement::ToString(CFX_WideString& wsMeasure) const { in ToString()460 wsMeasure.Format(L"%.8gmm", GetValue()); in ToString()463 wsMeasure.Format(L"%.8gpt", GetValue()); in ToString()466 wsMeasure.Format(L"%.8gin", GetValue()); in ToString()[all …]
1031 void Set(const CFX_WideStringC& wsMeasure);1039 FX_BOOL ToString(CFX_WideString& wsMeasure) const;1046 CXFA_Measurement(const CFX_WideStringC& wsMeasure) { Set(wsMeasure); } in CXFA_Measurement() argument