Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
CFX_CSSComputedStyle Class Referencefinal

#include <cfx_csscomputedstyle.h>

+ Inheritance diagram for CFX_CSSComputedStyle:
+ Collaboration diagram for CFX_CSSComputedStyle:

Classes

class  InheritedData
 
class  NonInheritedData
 

Public Member Functions

absl::optional< WideStringGetLastFontFamily () const
 
uint16_t GetFontWeight () const
 
CFX_CSSFontVariant GetFontVariant () const
 
CFX_CSSFontStyle GetFontStyle () const
 
float GetFontSize () const
 
FX_ARGB GetColor () const
 
void SetFontWeight (uint16_t wFontWeight)
 
void SetFontVariant (CFX_CSSFontVariant eFontVariant)
 
void SetFontStyle (CFX_CSSFontStyle eFontStyle)
 
void SetFontSize (float fFontSize)
 
void SetColor (FX_ARGB dwFontColor)
 
const CFX_CSSRectGetBorderWidth () const
 
const CFX_CSSRectGetMarginWidth () const
 
const CFX_CSSRectGetPaddingWidth () const
 
void SetMarginWidth (const CFX_CSSRect &rect)
 
void SetPaddingWidth (const CFX_CSSRect &rect)
 
CFX_CSSDisplay GetDisplay () const
 
float GetLineHeight () const
 
const CFX_CSSLengthGetTextIndent () const
 
CFX_CSSTextAlign GetTextAlign () const
 
CFX_CSSVerticalAlign GetVerticalAlign () const
 
float GetNumberVerticalAlign () const
 
Mask< CFX_CSSTEXTDECORATIONGetTextDecoration () const
 
const CFX_CSSLengthGetLetterSpacing () const
 
void SetLineHeight (float fLineHeight)
 
void SetTextIndent (const CFX_CSSLength &textIndent)
 
void SetTextAlign (CFX_CSSTextAlign eTextAlign)
 
void SetNumberVerticalAlign (float fAlign)
 
void SetTextDecoration (Mask< CFX_CSSTEXTDECORATION > dwTextDecoration)
 
void SetLetterSpacing (const CFX_CSSLength &letterSpacing)
 
void AddCustomStyle (const CFX_CSSCustomProperty &prop)
 
bool GetCustomStyle (const WideString &wsName, WideString *pValue) const
 
- Public Member Functions inherited from fxcrt::Retainable
 Retainable ()=default
 
bool HasOneRef () const
 

Public Attributes

 CONSTRUCT_VIA_MAKE_RETAIN
 
InheritedData m_InheritedData
 
NonInheritedData m_NonInheritedData
 

Private Member Functions

 ~CFX_CSSComputedStyle () override
 

Additional Inherited Members

- Protected Member Functions inherited from fxcrt::Retainable
virtual ~Retainable ()=default
 

Detailed Description

Definition at line 22 of file cfx_csscomputedstyle.h.

Member Function Documentation

◆ ~CFX_CSSComputedStyle()

CFX_CSSComputedStyle::~CFX_CSSComputedStyle ( )
overrideprivatedefault

◆ AddCustomStyle()

void CFX_CSSComputedStyle::AddCustomStyle ( const CFX_CSSCustomProperty & prop)

Definition at line 164 of file cfx_csscomputedstyle.cpp.

◆ GetBorderWidth()

const CFX_CSSRect * CFX_CSSComputedStyle::GetBorderWidth ( ) const

Definition at line 80 of file cfx_csscomputedstyle.cpp.

◆ GetColor()

FX_ARGB CFX_CSSComputedStyle::GetColor ( ) const

Definition at line 56 of file cfx_csscomputedstyle.cpp.

Referenced by CXFA_TextParser::GetColor().

+ Here is the caller graph for this function:

◆ GetCustomStyle()

bool CFX_CSSComputedStyle::GetCustomStyle ( const WideString & wsName,
WideString * pValue ) const

Definition at line 17 of file cfx_csscomputedstyle.cpp.

Referenced by CXFA_TextParser::CountTabs(), CXFA_TextParser::GetHorScale(), CXFA_TextParser::GetTabInterval(), CXFA_TextParser::GetTabstops(), CXFA_TextParser::GetUnderlinePeriod(), CXFA_TextParser::GetVerScale(), and CXFA_TextParser::IsSpaceRun().

+ Here is the caller graph for this function:

◆ GetDisplay()

CFX_CSSDisplay CFX_CSSComputedStyle::GetDisplay ( ) const

Definition at line 105 of file cfx_csscomputedstyle.cpp.

◆ GetFontSize()

float CFX_CSSComputedStyle::GetFontSize ( ) const

Definition at line 52 of file cfx_csscomputedstyle.cpp.

Referenced by CXFA_TextParser::GetFontSize().

+ Here is the caller graph for this function:

◆ GetFontStyle()

CFX_CSSFontStyle CFX_CSSComputedStyle::GetFontStyle ( ) const

Definition at line 48 of file cfx_csscomputedstyle.cpp.

Referenced by CXFA_TextParser::GetFont().

+ Here is the caller graph for this function:

◆ GetFontVariant()

CFX_CSSFontVariant CFX_CSSComputedStyle::GetFontVariant ( ) const

Definition at line 44 of file cfx_csscomputedstyle.cpp.

◆ GetFontWeight()

uint16_t CFX_CSSComputedStyle::GetFontWeight ( ) const

Definition at line 40 of file cfx_csscomputedstyle.cpp.

Referenced by CXFA_TextParser::GetFont().

+ Here is the caller graph for this function:

◆ GetLastFontFamily()

absl::optional< WideString > CFX_CSSComputedStyle::GetLastFontFamily ( ) const

Definition at line 28 of file cfx_csscomputedstyle.cpp.

◆ GetLetterSpacing()

const CFX_CSSLength & CFX_CSSComputedStyle::GetLetterSpacing ( ) const

Definition at line 133 of file cfx_csscomputedstyle.cpp.

◆ GetLineHeight()

float CFX_CSSComputedStyle::GetLineHeight ( ) const

Definition at line 109 of file cfx_csscomputedstyle.cpp.

Referenced by CXFA_TextParser::GetLineHeight().

+ Here is the caller graph for this function:

◆ GetMarginWidth()

const CFX_CSSRect * CFX_CSSComputedStyle::GetMarginWidth ( ) const

Definition at line 85 of file cfx_csscomputedstyle.cpp.

◆ GetNumberVerticalAlign()

float CFX_CSSComputedStyle::GetNumberVerticalAlign ( ) const

Definition at line 125 of file cfx_csscomputedstyle.cpp.

Referenced by CXFA_TextParser::GetBaseline().

+ Here is the caller graph for this function:

◆ GetPaddingWidth()

const CFX_CSSRect * CFX_CSSComputedStyle::GetPaddingWidth ( ) const

Definition at line 90 of file cfx_csscomputedstyle.cpp.

◆ GetTextAlign()

CFX_CSSTextAlign CFX_CSSComputedStyle::GetTextAlign ( ) const

Definition at line 117 of file cfx_csscomputedstyle.cpp.

◆ GetTextDecoration()

Mask< CFX_CSSTEXTDECORATION > CFX_CSSComputedStyle::GetTextDecoration ( ) const

Definition at line 129 of file cfx_csscomputedstyle.cpp.

◆ GetTextIndent()

const CFX_CSSLength & CFX_CSSComputedStyle::GetTextIndent ( ) const

Definition at line 113 of file cfx_csscomputedstyle.cpp.

◆ GetVerticalAlign()

CFX_CSSVerticalAlign CFX_CSSComputedStyle::GetVerticalAlign ( ) const

Definition at line 121 of file cfx_csscomputedstyle.cpp.

Referenced by CXFA_TextParser::GetBaseline().

+ Here is the caller graph for this function:

◆ SetColor()

void CFX_CSSComputedStyle::SetColor ( FX_ARGB dwFontColor)

Definition at line 76 of file cfx_csscomputedstyle.cpp.

◆ SetFontSize()

void CFX_CSSComputedStyle::SetFontSize ( float fFontSize)

Definition at line 72 of file cfx_csscomputedstyle.cpp.

◆ SetFontStyle()

void CFX_CSSComputedStyle::SetFontStyle ( CFX_CSSFontStyle eFontStyle)

Definition at line 68 of file cfx_csscomputedstyle.cpp.

◆ SetFontVariant()

void CFX_CSSComputedStyle::SetFontVariant ( CFX_CSSFontVariant eFontVariant)

Definition at line 64 of file cfx_csscomputedstyle.cpp.

◆ SetFontWeight()

void CFX_CSSComputedStyle::SetFontWeight ( uint16_t wFontWeight)

Definition at line 60 of file cfx_csscomputedstyle.cpp.

◆ SetLetterSpacing()

void CFX_CSSComputedStyle::SetLetterSpacing ( const CFX_CSSLength & letterSpacing)

Definition at line 159 of file cfx_csscomputedstyle.cpp.

◆ SetLineHeight()

void CFX_CSSComputedStyle::SetLineHeight ( float fLineHeight)

Definition at line 137 of file cfx_csscomputedstyle.cpp.

◆ SetMarginWidth()

void CFX_CSSComputedStyle::SetMarginWidth ( const CFX_CSSRect & rect)

Definition at line 95 of file cfx_csscomputedstyle.cpp.

◆ SetNumberVerticalAlign()

void CFX_CSSComputedStyle::SetNumberVerticalAlign ( float fAlign)

Definition at line 149 of file cfx_csscomputedstyle.cpp.

◆ SetPaddingWidth()

void CFX_CSSComputedStyle::SetPaddingWidth ( const CFX_CSSRect & rect)

Definition at line 100 of file cfx_csscomputedstyle.cpp.

◆ SetTextAlign()

void CFX_CSSComputedStyle::SetTextAlign ( CFX_CSSTextAlign eTextAlign)

Definition at line 145 of file cfx_csscomputedstyle.cpp.

◆ SetTextDecoration()

void CFX_CSSComputedStyle::SetTextDecoration ( Mask< CFX_CSSTEXTDECORATION > dwTextDecoration)

Definition at line 154 of file cfx_csscomputedstyle.cpp.

◆ SetTextIndent()

void CFX_CSSComputedStyle::SetTextIndent ( const CFX_CSSLength & textIndent)

Definition at line 141 of file cfx_csscomputedstyle.cpp.

Member Data Documentation

◆ CONSTRUCT_VIA_MAKE_RETAIN

CFX_CSSComputedStyle::CONSTRUCT_VIA_MAKE_RETAIN

Definition at line 62 of file cfx_csscomputedstyle.h.

◆ m_InheritedData

InheritedData CFX_CSSComputedStyle::m_InheritedData

Definition at line 101 of file cfx_csscomputedstyle.h.

◆ m_NonInheritedData

NonInheritedData CFX_CSSComputedStyle::m_NonInheritedData

Definition at line 102 of file cfx_csscomputedstyle.h.


The documentation for this class was generated from the following files: