#include "core/fxcrt/css/cfx_csscomputedstyle.h"
#include "core/fxcrt/containers/adapters.h"
#include "core/fxcrt/css/cfx_cssstringvalue.h"
#include "core/fxcrt/css/cfx_cssvaluelist.h"
CFX_CSSComputedStyle::CFX_CSSComputedStyle() = default;
CFX_CSSComputedStyle::~CFX_CSSComputedStyle() = default;
bool CFX_CSSComputedStyle::GetCustomStyle(const WideString& wsName,
WideString* pValue) const { … }
std::optional<WideString> CFX_CSSComputedStyle::GetLastFontFamily() const { … }
uint16_t CFX_CSSComputedStyle::GetFontWeight() const { … }
CFX_CSSFontVariant CFX_CSSComputedStyle::GetFontVariant() const { … }
CFX_CSSFontStyle CFX_CSSComputedStyle::GetFontStyle() const { … }
float CFX_CSSComputedStyle::GetFontSize() const { … }
FX_ARGB CFX_CSSComputedStyle::GetColor() const { … }
void CFX_CSSComputedStyle::SetFontWeight(uint16_t wFontWeight) { … }
void CFX_CSSComputedStyle::SetFontVariant(CFX_CSSFontVariant eFontVariant) { … }
void CFX_CSSComputedStyle::SetFontStyle(CFX_CSSFontStyle eFontStyle) { … }
void CFX_CSSComputedStyle::SetFontSize(float fFontSize) { … }
void CFX_CSSComputedStyle::SetColor(FX_ARGB dwFontColor) { … }
const CFX_CSSRect* CFX_CSSComputedStyle::GetBorderWidth() const { … }
const CFX_CSSRect* CFX_CSSComputedStyle::GetMarginWidth() const { … }
const CFX_CSSRect* CFX_CSSComputedStyle::GetPaddingWidth() const { … }
void CFX_CSSComputedStyle::SetMarginWidth(const CFX_CSSRect& rect) { … }
void CFX_CSSComputedStyle::SetPaddingWidth(const CFX_CSSRect& rect) { … }
CFX_CSSDisplay CFX_CSSComputedStyle::GetDisplay() const { … }
float CFX_CSSComputedStyle::GetLineHeight() const { … }
const CFX_CSSLength& CFX_CSSComputedStyle::GetTextIndent() const { … }
CFX_CSSTextAlign CFX_CSSComputedStyle::GetTextAlign() const { … }
CFX_CSSVerticalAlign CFX_CSSComputedStyle::GetVerticalAlign() const { … }
float CFX_CSSComputedStyle::GetNumberVerticalAlign() const { … }
Mask<CFX_CSSTEXTDECORATION> CFX_CSSComputedStyle::GetTextDecoration() const { … }
const CFX_CSSLength& CFX_CSSComputedStyle::GetLetterSpacing() const { … }
void CFX_CSSComputedStyle::SetLineHeight(float fLineHeight) { … }
void CFX_CSSComputedStyle::SetTextIndent(const CFX_CSSLength& textIndent) { … }
void CFX_CSSComputedStyle::SetTextAlign(CFX_CSSTextAlign eTextAlign) { … }
void CFX_CSSComputedStyle::SetNumberVerticalAlign(float fAlign) { … }
void CFX_CSSComputedStyle::SetTextDecoration(
Mask<CFX_CSSTEXTDECORATION> dwTextDecoration) { … }
void CFX_CSSComputedStyle::SetLetterSpacing(
const CFX_CSSLength& letterSpacing) { … }
void CFX_CSSComputedStyle::AddCustomStyle(const CFX_CSSCustomProperty& prop) { … }
CFX_CSSComputedStyle::InheritedData::InheritedData() = default;
CFX_CSSComputedStyle::InheritedData::~InheritedData() = default;
CFX_CSSComputedStyle::NonInheritedData::NonInheritedData() = default;