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
pdfium::CXFA_FWLTheme Class Referencefinal

#include <cxfa_fwltheme.h>

Inheritance diagram for pdfium::CXFA_FWLTheme:
Collaboration diagram for pdfium::CXFA_FWLTheme:

Public Member Functions

 ~CXFA_FWLTheme () override
void PreFinalize ()
void Trace (cppgc::Visitor *visitor) const override
void DrawBackground (const CFWL_ThemeBackground &pParams) override
void DrawText (const CFWL_ThemeText &pParams) override
void CalcTextRect (const CFWL_ThemeText &pParams, CFX_RectF *pRect) override
float GetCXBorderSize () const override
float GetCYBorderSize () const override
CFX_RectF GetUIMargin (const CFWL_ThemePart &pThemePart) const override
float GetFontSize (const CFWL_ThemePart &pThemePart) const override
RetainPtr< CFGAS_GEFontGetFont (const CFWL_ThemePart &pThemePart) override
RetainPtr< CFGAS_GEFontGetFWLFont () override
float GetLineHeight (const CFWL_ThemePart &pThemePart) const override
float GetScrollBarWidth () const override
FX_COLORREF GetTextColor (const CFWL_ThemePart &pThemePart) const override
CFX_SizeF GetSpaceAboveBelow (const CFWL_ThemePart &pThemePart) const override
bool LoadCalendarFont (CXFA_FFDoc *doc)
Public Member Functions inherited from pdfium::IFWL_ThemeProvider
virtual ~IFWL_ThemeProvider ()
void Trace (cppgc::Visitor *visitor) const override

Public Attributes

 CONSTRUCT_VIA_MAKE_GARBAGE_COLLECTED

Additional Inherited Members

Protected Member Functions inherited from pdfium::IFWL_ThemeProvider
 IFWL_ThemeProvider (cppgc::Heap *pHeap)
CFWL_WidgetTPGetTheme (const CFWL_Widget *pWidget) const

Detailed Description

Definition at line 27 of file cxfa_fwltheme.h.

Constructor & Destructor Documentation

◆ ~CXFA_FWLTheme()

pdfium::CXFA_FWLTheme::~CXFA_FWLTheme ( )
overridedefault

Member Function Documentation

◆ CalcTextRect()

void pdfium::CXFA_FWLTheme::CalcTextRect ( const CFWL_ThemeText & pParams,
CFX_RectF * pRect )
overridevirtual

Implements pdfium::IFWL_ThemeProvider.

Definition at line 232 of file cxfa_fwltheme.cpp.

References CXFA_FFWidget::GetNode(), pdfium::CFWL_ThemePart::GetWidget(), and pdfium::MonthCalendar.

Here is the call graph for this function:

◆ DrawBackground()

void pdfium::CXFA_FWLTheme::DrawBackground ( const CFWL_ThemeBackground & pParams)
overridevirtual

Implements pdfium::IFWL_ThemeProvider.

Definition at line 85 of file cxfa_fwltheme.cpp.

References pdfium::IFWL_ThemeProvider::GetTheme(), and pdfium::CFWL_ThemePart::GetWidget().

Here is the call graph for this function:

◆ DrawText()

void pdfium::CXFA_FWLTheme::DrawText ( const CFWL_ThemeText & pParams)
overridevirtual

◆ GetCXBorderSize()

float pdfium::CXFA_FWLTheme::GetCXBorderSize ( ) const
overridevirtual

Implements pdfium::IFWL_ThemeProvider.

Definition at line 173 of file cxfa_fwltheme.cpp.

◆ GetCYBorderSize()

float pdfium::CXFA_FWLTheme::GetCYBorderSize ( ) const
overridevirtual

Implements pdfium::IFWL_ThemeProvider.

Definition at line 177 of file cxfa_fwltheme.cpp.

◆ GetFont()

RetainPtr< CFGAS_GEFont > pdfium::CXFA_FWLTheme::GetFont ( const CFWL_ThemePart & pThemePart)
overridevirtual

Implements pdfium::IFWL_ThemeProvider.

Definition at line 187 of file cxfa_fwltheme.cpp.

References CXFA_FFWidget::GetDoc(), CXFA_Node::GetFGASFont(), GetFWLFont(), CXFA_FFWidget::GetNode(), and pdfium::CFWL_ThemePart::GetWidget().

Here is the call graph for this function:

◆ GetFontSize()

float pdfium::CXFA_FWLTheme::GetFontSize ( const CFWL_ThemePart & pThemePart) const
overridevirtual

Implements pdfium::IFWL_ThemeProvider.

Definition at line 181 of file cxfa_fwltheme.cpp.

References CXFA_Node::GetFontSize(), CXFA_FFWidget::GetNode(), and pdfium::CFWL_ThemePart::GetWidget().

Here is the call graph for this function:

◆ GetFWLFont()

RetainPtr< CFGAS_GEFont > pdfium::CXFA_FWLTheme::GetFWLFont ( )
overridevirtual

Implements pdfium::IFWL_ThemeProvider.

Definition at line 195 of file cxfa_fwltheme.cpp.

Referenced by GetFont().

Here is the caller graph for this function:

◆ GetLineHeight()

float pdfium::CXFA_FWLTheme::GetLineHeight ( const CFWL_ThemePart & pThemePart) const
overridevirtual

Implements pdfium::IFWL_ThemeProvider.

Definition at line 202 of file cxfa_fwltheme.cpp.

References CXFA_Node::GetLineHeight(), CXFA_FFWidget::GetNode(), and pdfium::CFWL_ThemePart::GetWidget().

Here is the call graph for this function:

◆ GetScrollBarWidth()

float pdfium::CXFA_FWLTheme::GetScrollBarWidth ( ) const
overridevirtual

Implements pdfium::IFWL_ThemeProvider.

Definition at line 208 of file cxfa_fwltheme.cpp.

◆ GetSpaceAboveBelow()

CFX_SizeF pdfium::CXFA_FWLTheme::GetSpaceAboveBelow ( const CFWL_ThemePart & pThemePart) const
overridevirtual

Implements pdfium::IFWL_ThemeProvider.

Definition at line 219 of file cxfa_fwltheme.cpp.

References CXFA_FFWidget::GetNode(), CXFA_Node::GetParaIfExists(), CXFA_Para::GetSpaceAbove(), CXFA_Para::GetSpaceBelow(), and pdfium::CFWL_ThemePart::GetWidget().

Here is the call graph for this function:

◆ GetTextColor()

FX_COLORREF pdfium::CXFA_FWLTheme::GetTextColor ( const CFWL_ThemePart & pThemePart) const
overridevirtual

Implements pdfium::IFWL_ThemeProvider.

Definition at line 212 of file cxfa_fwltheme.cpp.

References CXFA_FFWidget::GetNode(), CXFA_Node::GetTextColor(), and pdfium::CFWL_ThemePart::GetWidget().

Here is the call graph for this function:

◆ GetUIMargin()

CFX_RectF pdfium::CXFA_FWLTheme::GetUIMargin ( const CFWL_ThemePart & pThemePart) const
overridevirtual

◆ LoadCalendarFont()

bool pdfium::CXFA_FWLTheme::LoadCalendarFont ( CXFA_FFDoc * doc)

Definition at line 70 of file cxfa_fwltheme.cpp.

◆ PreFinalize()

void pdfium::CXFA_FWLTheme::PreFinalize ( )

Definition at line 61 of file cxfa_fwltheme.cpp.

◆ Trace()

void pdfium::CXFA_FWLTheme::Trace ( cppgc::Visitor * visitor) const
override

Definition at line 65 of file cxfa_fwltheme.cpp.

Member Data Documentation

◆ CONSTRUCT_VIA_MAKE_GARBAGE_COLLECTED

pdfium::CXFA_FWLTheme::CONSTRUCT_VIA_MAKE_GARBAGE_COLLECTED

Definition at line 32 of file cxfa_fwltheme.h.


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