/external/pdfium/xfa/fxfa/parser/ |
D | cxfa_measurement.cpp | 26 Set(-1, XFA_Unit::Unknown); in CXFA_Measurement() 29 CXFA_Measurement::CXFA_Measurement(float fValue, XFA_Unit eUnit) { in CXFA_Measurement() 36 m_eUnit = XFA_Unit::Unknown; in SetString() 44 XFA_Unit eUnit = GetUnitFromString( in SetString() 51 case XFA_Unit::Mm: in ToString() 53 case XFA_Unit::Pt: in ToString() 55 case XFA_Unit::In: in ToString() 57 case XFA_Unit::Cm: in ToString() 59 case XFA_Unit::Mp: in ToString() 61 case XFA_Unit::Pc: in ToString() [all …]
|
D | cxfa_measurement.h | 18 CXFA_Measurement(float fValue, XFA_Unit eUnit); 20 static XFA_Unit GetUnitFromString(const WideStringView& wsUnit); 22 void Set(float fValue, XFA_Unit eUnit) { in Set() 27 XFA_Unit GetUnit() const { return m_eUnit; } in GetUnit() 31 float ToUnit(XFA_Unit eUnit) const; 35 bool ToUnitInternal(XFA_Unit eUnit, float* fValue) const; 38 XFA_Unit m_eUnit;
|
D | cxfa_para.cpp | 70 return JSObject()->GetMeasure(XFA_Attribute::LineHeight).ToUnit(XFA_Unit::Pt); in GetLineHeight() 74 return JSObject()->GetMeasure(XFA_Attribute::MarginLeft).ToUnit(XFA_Unit::Pt); in GetMarginLeft() 80 .ToUnit(XFA_Unit::Pt); in GetMarginRight() 84 return JSObject()->GetMeasure(XFA_Attribute::SpaceAbove).ToUnit(XFA_Unit::Pt); in GetSpaceAbove() 88 return JSObject()->GetMeasure(XFA_Attribute::SpaceBelow).ToUnit(XFA_Unit::Pt); in GetSpaceBelow() 92 return JSObject()->GetMeasure(XFA_Attribute::TextIndent).ToUnit(XFA_Unit::Pt); in GetTextIndent()
|
D | cxfa_font.cpp | 72 .ToUnit(XFA_Unit::Pt); in GetBaselineShift() 90 if (ms.GetUnit() == XFA_Unit::Em) in GetLetterSpacing() 92 return ms.ToUnit(XFA_Unit::Pt); in GetLetterSpacing() 110 return JSObject()->GetMeasure(XFA_Attribute::Size).ToUnit(XFA_Unit::Pt); in GetFontSize()
|
D | cxfa_layoutitem.cpp | 84 .ToUnit(XFA_Unit::Pt), in GetRect() 87 .ToUnit(XFA_Unit::Pt)); in GetRect() 96 .ToUnit(XFA_Unit::Pt), in GetRect() 99 .ToUnit(XFA_Unit::Pt)); in GetRect()
|
D | cxfa_itemlayoutprocessor.cpp | 99 containerSize.width = wValue->ToUnit(XFA_Unit::Pt); in CalculateContainerSpecifiedSize() 106 containerSize.height = hValue->ToUnit(XFA_Unit::Pt); in CalculateContainerSpecifiedSize() 115 containerSize.width = maxW->ToUnit(XFA_Unit::Pt); in CalculateContainerSpecifiedSize() 122 containerSize.height = maxH->ToUnit(XFA_Unit::Pt); in CalculateContainerSpecifiedSize() 145 componentSize.width += leftInset->ToUnit(XFA_Unit::Pt); in CalculateContainerComponentSizeFromContentSize() 150 componentSize.width += rightInset->ToUnit(XFA_Unit::Pt); in CalculateContainerComponentSizeFromContentSize() 160 componentSize.height += topInset->ToUnit(XFA_Unit::Pt); in CalculateContainerComponentSizeFromContentSize() 166 componentSize.height += bottomInset->ToUnit(XFA_Unit::Pt); in CalculateContainerComponentSizeFromContentSize() 190 .ToUnit(XFA_Unit::Pt); in RelocateTableRowCells() 193 .ToUnit(XFA_Unit::Pt); in RelocateTableRowCells() [all …]
|
D | cxfa_containerlayoutitem.cpp | 39 .ToUnit(XFA_Unit::Pt), in GetPageSize() 42 .ToUnit(XFA_Unit::Pt)); in GetPageSize()
|
D | cxfa_stroke.cpp | 101 return GetMSThickness().ToUnit(XFA_Unit::Pt); in GetThickness() 148 .value_or(CXFA_Measurement(0, XFA_Unit::In)) in GetRadius() 149 .ToUnit(XFA_Unit::Pt); in GetRadius()
|
D | cxfa_layoutprocessor.cpp | 69 pFormNode->JSObject()->GetMeasure(XFA_Attribute::X).ToUnit(XFA_Unit::Pt); in DoLayout() 71 pFormNode->JSObject()->GetMeasure(XFA_Attribute::Y).ToUnit(XFA_Unit::Pt); in DoLayout()
|
D | cxfa_layoutpagemgr.cpp | 353 XFA_Attribute::X, CXFA_Measurement(0.25f, XFA_Unit::In), false); in InitLayoutPage() 355 XFA_Attribute::Y, CXFA_Measurement(0.25f, XFA_Unit::In), false); in InitLayoutPage() 357 XFA_Attribute::W, CXFA_Measurement(8.0f, XFA_Unit::In), false); in InitLayoutPage() 359 XFA_Attribute::H, CXFA_Measurement(10.5f, XFA_Unit::In), false); in InitLayoutPage() 372 XFA_Attribute::Short, CXFA_Measurement(8.5f, XFA_Unit::In), false); in InitLayoutPage() 374 XFA_Attribute::Long, CXFA_Measurement(11.0f, XFA_Unit::In), false); in InitLayoutPage() 496 .ToUnit(XFA_Unit::Pt); in GetAvailHeight() 705 .ToUnit(XFA_Unit::Pt) + in FinishPaginatedPageSets() 1544 .ToUnit(XFA_Unit::Pt); in GetNextAvailContentHeight() 1582 .ToUnit(XFA_Unit::Pt); in GetNextAvailContentHeight() [all …]
|
D | cxfa_caption.cpp | 70 return JSObject()->GetMeasure(XFA_Attribute::Reserve).ToUnit(XFA_Unit::Pt); in GetReserve()
|
D | cxfa_node.cpp | 2147 return {static_cast<int32_t>(moduleWidthHeight->ToUnit(XFA_Unit::Pt))}; in GetBarcodeAttribute_ModuleWidth() 2157 return {static_cast<int32_t>(moduleWidthHeight->ToUnit(XFA_Unit::Pt))}; in GetBarcodeAttribute_ModuleHeight()
|
/external/pdfium/fxjs/xfa/ |
D | cjx_layoutpseudomodel.cpp | 110 measure.Set(rtRect.height, XFA_Unit::Pt); in HWXY() 113 measure.Set(rtRect.width, XFA_Unit::Pt); in HWXY() 116 measure.Set(rtRect.left, XFA_Unit::Pt); in HWXY() 119 measure.Set(rtRect.top, XFA_Unit::Pt); in HWXY()
|
D | cjx_object.cpp | 438 return {measure->ToUnit(XFA_Unit::Pt)}; in TryMeasureAsFloat() 1388 edge ? edge->GetMSThickness() : CXFA_Measurement(0.5, XFA_Unit::Pt); in Script_Som_BorderWidth()
|
/external/pdfium/xfa/fxfa/ |
D | cxfa_ffwidgethandler.cpp | 546 CXFA_Measurement(fInsets[0], XFA_Unit::Pt), in CreateMarginNode() 550 CXFA_Measurement(fInsets[1], XFA_Unit::Pt), in CreateMarginNode() 554 CXFA_Measurement(fInsets[2], XFA_Unit::Pt), in CreateMarginNode() 558 CXFA_Measurement(fInsets[3], XFA_Unit::Pt), in CreateMarginNode()
|
D | cxfa_textparser.cpp | 307 return CXFA_Measurement(wsValue.AsStringView()).ToUnit(XFA_Unit::Pt); in GetTabInterval() 612 float fPos = ms.ToUnit(XFA_Unit::Pt); in GetTabstops() 627 float fPos = ms.ToUnit(XFA_Unit::Pt); in GetTabstops()
|
D | fxfa_basic.h | 954 enum class XFA_Unit : uint8_t { enum
|
D | cxfa_widgetacc.cpp | 1607 .ToUnit(XFA_Unit::Pt); in GetCheckButtonSize() 1609 return CXFA_Measurement(10, XFA_Unit::Pt).ToUnit(XFA_Unit::Pt); in GetCheckButtonSize()
|