7#ifndef CORE_FXCRT_CSS_CFX_CSSCUSTOMPROPERTY_H_
8#define CORE_FXCRT_CSS_CFX_CSSCUSTOMPROPERTY_H_
10#include "core/fxcrt/widestring.h"
18 WideString
name()
const {
return name_; }
19 WideString
value()
const {
return value_; }
CFX_CSSLength m_WordSpacing
CFX_CSSLength m_TextIndent
CFX_CSSFontStyle m_eFontStyle
CFX_CSSLength m_LetterSpacing
RetainPtr< CFX_CSSValueList > m_pFontFamily
CFX_CSSFontVariant m_eFontVariant
CFX_CSSTextAlign m_eTextAlign
CFX_CSSRect m_PaddingWidth
CFX_CSSRect m_MarginWidth
CFX_CSSVerticalAlign m_eVerticalAlignType
CFX_CSSRect m_BorderWidth
Mask< CFX_CSSTEXTDECORATION > m_dwTextDecoration
CFX_CSSDisplay m_eDisplay
InheritedData m_InheritedData
void SetTextAlign(CFX_CSSTextAlign eTextAlign)
void SetNumberVerticalAlign(float fAlign)
void SetMarginWidth(const CFX_CSSRect &rect)
void SetTextDecoration(Mask< CFX_CSSTEXTDECORATION > dwTextDecoration)
void SetTextIndent(const CFX_CSSLength &textIndent)
const CFX_CSSRect * GetBorderWidth() const
void SetPaddingWidth(const CFX_CSSRect &rect)
void SetFontWeight(uint16_t wFontWeight)
void SetFontVariant(CFX_CSSFontVariant eFontVariant)
void SetFontStyle(CFX_CSSFontStyle eFontStyle)
void SetColor(FX_ARGB dwFontColor)
void SetFontSize(float fFontSize)
const CFX_CSSLength & GetTextIndent() const
void AddCustomStyle(const CFX_CSSCustomProperty &prop)
NonInheritedData m_NonInheritedData
CFX_CSSVerticalAlign GetVerticalAlign() const
Mask< CFX_CSSTEXTDECORATION > GetTextDecoration() const
CFX_CSSFontStyle GetFontStyle() const
uint16_t GetFontWeight() const
CFX_CSSFontVariant GetFontVariant() const
float GetLineHeight() const
const CFX_CSSRect * GetMarginWidth() const
absl::optional< WideString > GetLastFontFamily() const
~CFX_CSSComputedStyle() override
const CFX_CSSLength & GetLetterSpacing() const
CFX_CSSTextAlign GetTextAlign() const
float GetFontSize() const
bool GetCustomStyle(const WideString &wsName, WideString *pValue) const
CFX_CSSDisplay GetDisplay() const
void SetLetterSpacing(const CFX_CSSLength &letterSpacing)
const CFX_CSSRect * GetPaddingWidth() const
float GetNumberVerticalAlign() const
void SetLineHeight(float fLineHeight)
CFX_CSSCustomProperty(const WideString &name, const WideString &value)
CFX_CSSCustomProperty(const CFX_CSSCustomProperty &prop)
CFX_CSSLength(CFX_CSSLengthUnit eUnit, float fValue)
CFX_CSSRect(CFX_CSSLengthUnit eUnit, float val)
#define CONSTRUCT_VIA_MAKE_RETAIN