Searched refs:wsUnit (Results 1 – 3 of 3) sorted by relevance
540 XFA_UNIT CXFA_Measurement::GetUnit(const CFX_WideStringC& wsUnit) { in GetUnit() argument541 if (wsUnit == FX_WSTRC(L"mm")) { in GetUnit()543 } else if (wsUnit == FX_WSTRC(L"pt")) { in GetUnit()545 } else if (wsUnit == FX_WSTRC(L"in")) { in GetUnit()547 } else if (wsUnit == FX_WSTRC(L"cm")) { in GetUnit()549 } else if (wsUnit == FX_WSTRC(L"pc")) { in GetUnit()551 } else if (wsUnit == FX_WSTRC(L"mp")) { in GetUnit()553 } else if (wsUnit == FX_WSTRC(L"em")) { in GetUnit()555 } else if (wsUnit == FX_WSTRC(L"%")) { in GetUnit()
64 CFX_WideString wsUnit = FX_WSTRC(L"pt"); in Script_LayoutPseudoModel_HWXY() local72 wsUnit = CFX_WideString::FromUTF8(bsUnit, bsUnit.GetLength()); in Script_LayoutPseudoModel_HWXY()115 XFA_UNIT unit = measure.GetUnit(wsUnit); in Script_LayoutPseudoModel_HWXY()
1048 static XFA_UNIT GetUnit(const CFX_WideStringC& wsUnit);