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.h40 enum class CFX_CSSLengthUnit : uint8_t { enum
100 CFX_CSSLength(CFX_CSSLengthUnit eUnit, float fValue) in CFX_CSSLength()
103 CFX_CSSLength& Set(CFX_CSSLengthUnit eUnit) { in Set()
108 CFX_CSSLength& Set(CFX_CSSLengthUnit eUnit, float fValue) { in Set()
114 CFX_CSSLengthUnit GetUnit() const { return m_unit; } in GetUnit()
120 CFX_CSSLengthUnit m_unit;
128 CFX_CSSRect(CFX_CSSLengthUnit eUnit, float val) in CFX_CSSRect()
134 CFX_CSSRect& Set(CFX_CSSLengthUnit eUnit) { in Set()
141 CFX_CSSRect& Set(CFX_CSSLengthUnit eUnit, float fValue) { in Set()
Dcfx_csscomputedstyle.h29 CFX_CSSLength m_LetterSpacing{CFX_CSSLengthUnit::Normal, 0};
30 CFX_CSSLength m_WordSpacing{CFX_CSSLengthUnit::Normal, 0};
31 CFX_CSSLength m_TextIndent{CFX_CSSLengthUnit::Point, 0};
46 CFX_CSSRect m_MarginWidth{CFX_CSSLengthUnit::Point, 0};
47 CFX_CSSRect m_BorderWidth{CFX_CSSLengthUnit::Point, 0};
48 CFX_CSSRect m_PaddingWidth{CFX_CSSLengthUnit::Point, 0};
Dcfx_cssstyleselector.cpp346 CFX_CSSLengthUnit::Normal); in ApplyProperty()
361 CFX_CSSLengthUnit::Normal); in ApplyProperty()
481 width.Set(CFX_CSSLengthUnit::Percent, in SetLengthWithPercent()
487 width.Set(CFX_CSSLengthUnit::Point, fValue); in SetLengthWithPercent()
492 width.Set(CFX_CSSLengthUnit::Auto); in SetLengthWithPercent()
495 width.Set(CFX_CSSLengthUnit::None); in SetLengthWithPercent()
498 width.Set(CFX_CSSLengthUnit::Point, 2); in SetLengthWithPercent()
501 width.Set(CFX_CSSLengthUnit::Point, 3); in SetLengthWithPercent()
504 width.Set(CFX_CSSLengthUnit::Point, 4); in SetLengthWithPercent()
/external/pdfium/xfa/fxfa/
Dcxfa_textparser.cpp118 indent.Set(CFX_CSSLengthUnit::Point, para->GetTextIndent()); in CreateRootStyle()
143 rtMarginWidth.left.Set(CFX_CSSLengthUnit::Point, para->GetMarginLeft()); in CreateRootStyle()
144 rtMarginWidth.top.Set(CFX_CSSLengthUnit::Point, para->GetSpaceAbove()); in CreateRootStyle()
145 rtMarginWidth.right.Set(CFX_CSSLengthUnit::Point, para->GetMarginRight()); in CreateRootStyle()
146 rtMarginWidth.bottom.Set(CFX_CSSLengthUnit::Point, para->GetSpaceBelow()); in CreateRootStyle()
159 letterSpacing.Set(CFX_CSSLengthUnit::Point, font->GetLetterSpacing()); in CreateRootStyle()
Dcxfa_textlayout.cpp277 pNewRect.left.Set(CFX_CSSLengthUnit::Point, fStart); in InitBreak()
278 pNewRect.right.Set(CFX_CSSLengthUnit::Point, pRect->right.GetValue()); in InitBreak()
279 pNewRect.top.Set(CFX_CSSLengthUnit::Point, pRect->top.GetValue()); in InitBreak()
280 pNewRect.bottom.Set(CFX_CSSLengthUnit::Point, pRect->bottom.GetValue()); in InitBreak()