Home
last modified time | relevance | path

Searched refs:FDE_CSSLengthUnit (Results 1 – 5 of 5) sorted by relevance

/external/pdfium/xfa/fde/css/
Dfde_css.h130 enum class FDE_CSSLengthUnit : uint8_t { enum
190 explicit FDE_CSSLength(FDE_CSSLengthUnit eUnit) : m_unit(eUnit) {} in FDE_CSSLength()
192 FDE_CSSLength(FDE_CSSLengthUnit eUnit, FX_FLOAT fValue) in FDE_CSSLength()
195 FDE_CSSLength& Set(FDE_CSSLengthUnit eUnit) { in Set()
200 FDE_CSSLength& Set(FDE_CSSLengthUnit eUnit, FX_FLOAT fValue) { in Set()
206 FDE_CSSLengthUnit GetUnit() const { return m_unit; } in GetUnit()
212 FDE_CSSLengthUnit m_unit;
220 FDE_CSSRect(FDE_CSSLengthUnit eUnit, FX_FLOAT val) in FDE_CSSRect()
226 FDE_CSSRect& Set(FDE_CSSLengthUnit eUnit) { in Set()
233 FDE_CSSRect& Set(FDE_CSSLengthUnit eUnit, FX_FLOAT fValue) { in Set()
Dcfde_csscomputedstyle.cpp171 : m_LetterSpacing(FDE_CSSLengthUnit::Normal), in InheritedData()
172 m_WordSpacing(FDE_CSSLengthUnit::Normal), in InheritedData()
173 m_TextIndent(FDE_CSSLengthUnit::Point, 0), in InheritedData()
186 : m_MarginWidth(FDE_CSSLengthUnit::Point, 0), in NonInheritedData()
187 m_BorderWidth(FDE_CSSLengthUnit::Point, 0), in NonInheritedData()
188 m_PaddingWidth(FDE_CSSLengthUnit::Point, 0), in NonInheritedData()
Dcfde_cssstyleselector.cpp349 FDE_CSSLengthUnit::Normal); in ApplyProperty()
364 FDE_CSSLengthUnit::Normal); in ApplyProperty()
485 width.Set(FDE_CSSLengthUnit::Percent, in SetLengthWithPercent()
491 width.Set(FDE_CSSLengthUnit::Point, fValue); in SetLengthWithPercent()
496 width.Set(FDE_CSSLengthUnit::Auto); in SetLengthWithPercent()
499 width.Set(FDE_CSSLengthUnit::None); in SetLengthWithPercent()
502 width.Set(FDE_CSSLengthUnit::Point, 2); in SetLengthWithPercent()
505 width.Set(FDE_CSSLengthUnit::Point, 3); in SetLengthWithPercent()
508 width.Set(FDE_CSSLengthUnit::Point, 4); in SetLengthWithPercent()
/external/pdfium/xfa/fxfa/app/
Dcxfa_textparser.cpp115 indent.Set(FDE_CSSLengthUnit::Point, para.GetTextIndent()); in CreateRootStyle()
134 rtMarginWidth.left.Set(FDE_CSSLengthUnit::Point, para.GetMarginLeft()); in CreateRootStyle()
135 rtMarginWidth.top.Set(FDE_CSSLengthUnit::Point, para.GetSpaceAbove()); in CreateRootStyle()
136 rtMarginWidth.right.Set(FDE_CSSLengthUnit::Point, para.GetMarginRight()); in CreateRootStyle()
137 rtMarginWidth.bottom.Set(FDE_CSSLengthUnit::Point, para.GetSpaceBelow()); in CreateRootStyle()
149 letterSpacing.Set(FDE_CSSLengthUnit::Point, font.GetLetterSpacing()); in CreateRootStyle()
Dcxfa_textlayout.cpp210 pNewRect.left.Set(FDE_CSSLengthUnit::Point, fStart); in InitBreak()
211 pNewRect.right.Set(FDE_CSSLengthUnit::Point, pRect->right.GetValue()); in InitBreak()
212 pNewRect.top.Set(FDE_CSSLengthUnit::Point, pRect->top.GetValue()); in InitBreak()
213 pNewRect.bottom.Set(FDE_CSSLengthUnit::Point, pRect->bottom.GetValue()); in InitBreak()