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.h129 enum class CFX_CSSLengthUnit : uint8_t { enum
189 CFX_CSSLength(CFX_CSSLengthUnit eUnit, float fValue) in CFX_CSSLength()
192 CFX_CSSLength& Set(CFX_CSSLengthUnit eUnit) { in Set()
197 CFX_CSSLength& Set(CFX_CSSLengthUnit eUnit, float fValue) { in Set()
203 CFX_CSSLengthUnit GetUnit() const { return m_unit; } in GetUnit()
209 CFX_CSSLengthUnit m_unit;
217 CFX_CSSRect(CFX_CSSLengthUnit eUnit, float val) in CFX_CSSRect()
223 CFX_CSSRect& Set(CFX_CSSLengthUnit eUnit) { in Set()
230 CFX_CSSRect& Set(CFX_CSSLengthUnit eUnit, float fValue) { in Set()
Dcfx_csscomputedstyle.cpp170 : m_LetterSpacing(CFX_CSSLengthUnit::Normal, 0), in InheritedData()
171 m_WordSpacing(CFX_CSSLengthUnit::Normal, 0), in InheritedData()
172 m_TextIndent(CFX_CSSLengthUnit::Point, 0), in InheritedData()
185 : m_MarginWidth(CFX_CSSLengthUnit::Point, 0), in NonInheritedData()
186 m_BorderWidth(CFX_CSSLengthUnit::Point, 0), in NonInheritedData()
187 m_PaddingWidth(CFX_CSSLengthUnit::Point, 0), in NonInheritedData()
Dcfx_cssstyleselector.cpp346 CFX_CSSLengthUnit::Normal); in ApplyProperty()
361 CFX_CSSLengthUnit::Normal); in ApplyProperty()
482 width.Set(CFX_CSSLengthUnit::Percent, in SetLengthWithPercent()
488 width.Set(CFX_CSSLengthUnit::Point, fValue); in SetLengthWithPercent()
493 width.Set(CFX_CSSLengthUnit::Auto); in SetLengthWithPercent()
496 width.Set(CFX_CSSLengthUnit::None); in SetLengthWithPercent()
499 width.Set(CFX_CSSLengthUnit::Point, 2); in SetLengthWithPercent()
502 width.Set(CFX_CSSLengthUnit::Point, 3); in SetLengthWithPercent()
505 width.Set(CFX_CSSLengthUnit::Point, 4); in SetLengthWithPercent()
/external/pdfium/xfa/fxfa/
Dcxfa_textparser.cpp119 indent.Set(CFX_CSSLengthUnit::Point, para->GetTextIndent()); in CreateRootStyle()
144 rtMarginWidth.left.Set(CFX_CSSLengthUnit::Point, para->GetMarginLeft()); in CreateRootStyle()
145 rtMarginWidth.top.Set(CFX_CSSLengthUnit::Point, para->GetSpaceAbove()); in CreateRootStyle()
146 rtMarginWidth.right.Set(CFX_CSSLengthUnit::Point, para->GetMarginRight()); in CreateRootStyle()
147 rtMarginWidth.bottom.Set(CFX_CSSLengthUnit::Point, para->GetSpaceBelow()); in CreateRootStyle()
160 letterSpacing.Set(CFX_CSSLengthUnit::Point, font->GetLetterSpacing()); in CreateRootStyle()
Dcxfa_textlayout.cpp240 pNewRect.left.Set(CFX_CSSLengthUnit::Point, fStart); in InitBreak()
241 pNewRect.right.Set(CFX_CSSLengthUnit::Point, pRect->right.GetValue()); in InitBreak()
242 pNewRect.top.Set(CFX_CSSLengthUnit::Point, pRect->top.GetValue()); in InitBreak()
243 pNewRect.bottom.Set(CFX_CSSLengthUnit::Point, pRect->bottom.GetValue()); in InitBreak()