Home
last modified time | relevance | path

Searched refs:GetUnitFromString (Results 1 – 4 of 4) sorted by relevance

/external/pdfium/xfa/fxfa/parser/
Dcxfa_measurement_unittest.cpp30 TEST(CXFAMeasurementTest, GetUnitFromString) { in TEST() argument
31 EXPECT_EQ(XFA_Unit::Percent, CXFA_Measurement::GetUnitFromString(L"%")); in TEST()
32 EXPECT_EQ(XFA_Unit::Em, CXFA_Measurement::GetUnitFromString(L"em")); in TEST()
33 EXPECT_EQ(XFA_Unit::Pt, CXFA_Measurement::GetUnitFromString(L"pt")); in TEST()
34 EXPECT_EQ(XFA_Unit::In, CXFA_Measurement::GetUnitFromString(L"in")); in TEST()
35 EXPECT_EQ(XFA_Unit::Pc, CXFA_Measurement::GetUnitFromString(L"pc")); in TEST()
36 EXPECT_EQ(XFA_Unit::Cm, CXFA_Measurement::GetUnitFromString(L"cm")); in TEST()
37 EXPECT_EQ(XFA_Unit::Mm, CXFA_Measurement::GetUnitFromString(L"mm")); in TEST()
38 EXPECT_EQ(XFA_Unit::Mp, CXFA_Measurement::GetUnitFromString(L"mp")); in TEST()
40 EXPECT_EQ(XFA_Unit::Unknown, CXFA_Measurement::GetUnitFromString(L"")); in TEST()
[all …]
Dcxfa_measurement.cpp51 Set(fValue, GetUnitFromString(wsMeasure)); in SetString()
136 XFA_Unit CXFA_Measurement::GetUnitFromString(WideStringView wsUnit) { in GetUnitFromString() function in CXFA_Measurement
Dcxfa_measurement.h20 static XFA_Unit GetUnitFromString(WideStringView wsUnit);
/external/pdfium/fxjs/xfa/
Dcjx_layoutpseudomodel.cpp130 XFA_Unit eUnit = CXFA_Measurement::GetUnitFromString(unit.AsStringView()); in HWXY()