Home
last modified time | relevance | path

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

/external/pdfium/core/fxcrt/css/
Dcfx_css.h128 enum class CFX_CSSLengthUnit : uint8_t { enum
188 explicit CFX_CSSLength(CFX_CSSLengthUnit eUnit) : m_unit(eUnit) {} in CFX_CSSLength()
190 CFX_CSSLength(CFX_CSSLengthUnit eUnit, float fValue) in CFX_CSSLength()
193 CFX_CSSLength& Set(CFX_CSSLengthUnit eUnit) { in Set()
198 CFX_CSSLength& Set(CFX_CSSLengthUnit eUnit, float fValue) { in Set()
204 CFX_CSSLengthUnit GetUnit() const { return m_unit; } in GetUnit()
210 CFX_CSSLengthUnit m_unit;
218 CFX_CSSRect(CFX_CSSLengthUnit eUnit, float val) in CFX_CSSRect()
224 CFX_CSSRect& Set(CFX_CSSLengthUnit eUnit) { in Set()
231 CFX_CSSRect& Set(CFX_CSSLengthUnit eUnit, float fValue) { in Set()
Dcfx_csscomputedstyle.cpp171 : m_LetterSpacing(CFX_CSSLengthUnit::Normal), in InheritedData()
172 m_WordSpacing(CFX_CSSLengthUnit::Normal), in InheritedData()
173 m_TextIndent(CFX_CSSLengthUnit::Point, 0), in InheritedData()
186 : m_MarginWidth(CFX_CSSLengthUnit::Point, 0), in NonInheritedData()
187 m_BorderWidth(CFX_CSSLengthUnit::Point, 0), in NonInheritedData()
188 m_PaddingWidth(CFX_CSSLengthUnit::Point, 0), in NonInheritedData()
Dcfx_cssstyleselector.cpp344 CFX_CSSLengthUnit::Normal); in ApplyProperty()
359 CFX_CSSLengthUnit::Normal); in ApplyProperty()
480 width.Set(CFX_CSSLengthUnit::Percent, in SetLengthWithPercent()
486 width.Set(CFX_CSSLengthUnit::Point, fValue); in SetLengthWithPercent()
491 width.Set(CFX_CSSLengthUnit::Auto); in SetLengthWithPercent()
494 width.Set(CFX_CSSLengthUnit::None); in SetLengthWithPercent()
497 width.Set(CFX_CSSLengthUnit::Point, 2); in SetLengthWithPercent()
500 width.Set(CFX_CSSLengthUnit::Point, 3); in SetLengthWithPercent()
503 width.Set(CFX_CSSLengthUnit::Point, 4); in SetLengthWithPercent()
/external/pdfium/xfa/fxfa/
Dcxfa_textparser.cpp103 indent.Set(CFX_CSSLengthUnit::Point, para->GetTextIndent()); in CreateRootStyle()
128 rtMarginWidth.left.Set(CFX_CSSLengthUnit::Point, para->GetMarginLeft()); in CreateRootStyle()
129 rtMarginWidth.top.Set(CFX_CSSLengthUnit::Point, para->GetSpaceAbove()); in CreateRootStyle()
130 rtMarginWidth.right.Set(CFX_CSSLengthUnit::Point, para->GetMarginRight()); in CreateRootStyle()
131 rtMarginWidth.bottom.Set(CFX_CSSLengthUnit::Point, para->GetSpaceBelow()); in CreateRootStyle()
144 letterSpacing.Set(CFX_CSSLengthUnit::Point, font->GetLetterSpacing()); in CreateRootStyle()
Dcxfa_textlayout.cpp222 pNewRect.left.Set(CFX_CSSLengthUnit::Point, fStart); in InitBreak()
223 pNewRect.right.Set(CFX_CSSLengthUnit::Point, pRect->right.GetValue()); in InitBreak()
224 pNewRect.top.Set(CFX_CSSLengthUnit::Point, pRect->top.GetValue()); in InitBreak()
225 pNewRect.bottom.Set(CFX_CSSLengthUnit::Point, pRect->bottom.GetValue()); in InitBreak()