Home
last modified time | relevance | path

Searched refs:CXFA_Measurement (Results 1 – 16 of 16) sorted by relevance

/external/pdfium/xfa/fxfa/parser/
Dcxfa_measurement.cpp21 CXFA_Measurement::CXFA_Measurement(const WideStringView& wsMeasure) { in CXFA_Measurement() function in CXFA_Measurement
25 CXFA_Measurement::CXFA_Measurement() { in CXFA_Measurement() function in CXFA_Measurement
29 CXFA_Measurement::CXFA_Measurement(float fValue, XFA_Unit eUnit) { in CXFA_Measurement() function in CXFA_Measurement
33 void CXFA_Measurement::SetString(const WideStringView& wsMeasure) { in SetString()
49 WideString CXFA_Measurement::ToString() const { in ToString()
73 float CXFA_Measurement::ToUnit(XFA_Unit eUnit) const { in ToUnit()
78 bool CXFA_Measurement::ToUnitInternal(XFA_Unit eUnit, float* fValue) const { in ToUnitInternal()
131 XFA_Unit CXFA_Measurement::GetUnitFromString(const WideStringView& wsUnit) { in GetUnitFromString()
Dcxfa_measurement.h14 class CXFA_Measurement {
16 explicit CXFA_Measurement(const WideStringView& wsMeasure);
17 CXFA_Measurement();
18 CXFA_Measurement(float fValue, XFA_Unit eUnit);
Dcxfa_stroke.h43 CXFA_Measurement GetMSThickness() const;
44 void SetMSThickness(CXFA_Measurement msThinkness);
Dcxfa_stroke.cpp104 CXFA_Measurement CXFA_Stroke::GetMSThickness() const { in GetMSThickness()
108 void CXFA_Stroke::SetMSThickness(CXFA_Measurement msThinkness) { in SetMSThickness()
148 .value_or(CXFA_Measurement(0, XFA_Unit::In)) in GetRadius()
Dcxfa_font.cpp89 CXFA_Measurement ms(wsValue.AsStringView()); in GetLetterSpacing()
Dcxfa_itemlayoutprocessor.cpp96 Optional<CXFA_Measurement> wValue = in CalculateContainerSpecifiedSize()
103 Optional<CXFA_Measurement> hValue = in CalculateContainerSpecifiedSize()
112 Optional<CXFA_Measurement> maxW = in CalculateContainerSpecifiedSize()
119 Optional<CXFA_Measurement> maxH = in CalculateContainerSpecifiedSize()
142 Optional<CXFA_Measurement> leftInset = in CalculateContainerComponentSizeFromContentSize()
147 Optional<CXFA_Measurement> rightInset = in CalculateContainerComponentSizeFromContentSize()
157 Optional<CXFA_Measurement> topInset = in CalculateContainerComponentSizeFromContentSize()
162 Optional<CXFA_Measurement> bottomInset = in CalculateContainerComponentSizeFromContentSize()
1806 CXFA_Measurement(width.AsStringView()).ToUnit(XFA_Unit::Pt)); in DoLayoutTableContainer()
Dcxfa_layoutpagemgr.cpp353 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()
Dcxfa_node.cpp728 Optional<CXFA_Measurement> measureH = in GetIntact()
1340 Optional<CXFA_Measurement> CXFA_Node::GetDefaultMeasurement( in GetDefaultMeasurement()
1347 return {CXFA_Measurement(str.AsStringView())}; in GetDefaultMeasurement()
2141 Optional<CXFA_Measurement> moduleWidthHeight = in GetBarcodeAttribute_ModuleWidth()
2151 Optional<CXFA_Measurement> moduleWidthHeight = in GetBarcodeAttribute_ModuleHeight()
Dcxfa_node.h226 Optional<CXFA_Measurement> GetDefaultMeasurement(XFA_Attribute attr) const;
/external/pdfium/fxjs/xfa/
Dcjx_object.cpp241 return SetMeasure(eAttr, CXFA_Measurement(wsValue), bNotify); in SetAttribute()
299 Optional<CXFA_Measurement> value = TryMeasure(eAttr, bUseDefault); in TryAttribute()
411 CXFA_Measurement mValue, in SetMeasure()
415 SetMapModuleBuffer(pKey, &mValue, sizeof(CXFA_Measurement), nullptr); in SetMeasure()
420 Optional<CXFA_Measurement> CJX_Object::TryMeasure(XFA_Attribute eAttr, in TryMeasure()
426 iBytes == sizeof(CXFA_Measurement)) { in TryMeasure()
427 return {*reinterpret_cast<CXFA_Measurement*>(pValue)}; in TryMeasure()
436 Optional<CXFA_Measurement> measure = TryMeasure(attr, false); in TryMeasureAsFloat()
442 CXFA_Measurement CJX_Object::GetMeasure(XFA_Attribute eAttr) const { in GetMeasure()
443 return TryMeasure(eAttr, true).value_or(CXFA_Measurement()); in GetMeasure()
[all …]
Dcjx_object.h198 Optional<CXFA_Measurement> TryMeasure(XFA_Attribute eAttr,
201 bool SetMeasure(XFA_Attribute eAttr, CXFA_Measurement mValue, bool bNotify);
202 CXFA_Measurement GetMeasure(XFA_Attribute eAttr) const;
Dcjx_layoutpseudomodel.cpp106 CXFA_Measurement measure; in HWXY()
124 measure.ToUnit(CXFA_Measurement::GetUnitFromString(unit.AsStringView())); in HWXY()
/external/pdfium/xfa/fxfa/
Dcxfa_ffwidgethandler.cpp546 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()
Dcxfa_textparser.cpp307 return CXFA_Measurement(wsValue.AsStringView()).ToUnit(XFA_Unit::Pt); in GetTabInterval()
611 CXFA_Measurement ms(WideStringView(pTabStops + iLast, iCur - iLast)); in GetTabstops()
626 CXFA_Measurement ms(WideStringView(pTabStops + iLast, iCur - iLast)); in GetTabstops()
Dfxfa_basic.h13 class CXFA_Measurement; variable
Dcxfa_widgetacc.cpp1609 return CXFA_Measurement(10, XFA_Unit::Pt).ToUnit(XFA_Unit::Pt); in GetCheckButtonSize()