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
CPDF_DefaultAppearance Class Reference

#include <cpdf_defaultappearance.h>

+ Collaboration diagram for CPDF_DefaultAppearance:

Public Member Functions

 CPDF_DefaultAppearance ()
 
 CPDF_DefaultAppearance (const ByteString &csDA)
 
 CPDF_DefaultAppearance (const CPDF_DefaultAppearance &cDA)
 
 ~CPDF_DefaultAppearance ()
 
absl::optional< ByteStringGetFont (float *fFontSize) const
 
absl::optional< CFX_ColorGetColor () const
 
absl::optional< CFX_Color::TypeAndARGBGetColorARGB () const
 

Static Public Member Functions

static bool FindTagParamFromStartForTesting (CPDF_SimpleParser *parser, ByteStringView token, int nParams)
 

Detailed Description

Definition at line 16 of file cpdf_defaultappearance.h.

Constructor & Destructor Documentation

◆ CPDF_DefaultAppearance() [1/3]

CPDF_DefaultAppearance::CPDF_DefaultAppearance ( )
default

Referenced by CPDF_InteractiveForm::GetDefaultAppearance().

+ Here is the caller graph for this function:

◆ CPDF_DefaultAppearance() [2/3]

CPDF_DefaultAppearance::CPDF_DefaultAppearance ( const ByteString & csDA)
explicit

Definition at line 59 of file cpdf_defaultappearance.cpp.

References CPDF_DefaultAppearance().

Referenced by CPDF_DefaultAppearance(), fpdfdoc::CFXColorFromString(), and CPDF_GenerateAP::GenerateFormAP().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ CPDF_DefaultAppearance() [3/3]

CPDF_DefaultAppearance::CPDF_DefaultAppearance ( const CPDF_DefaultAppearance & cDA)
default

◆ ~CPDF_DefaultAppearance()

CPDF_DefaultAppearance::~CPDF_DefaultAppearance ( )
default

Member Function Documentation

◆ FindTagParamFromStartForTesting()

bool CPDF_DefaultAppearance::FindTagParamFromStartForTesting ( CPDF_SimpleParser * parser,
ByteStringView token,
int nParams )
static

Definition at line 141 of file cpdf_defaultappearance.cpp.

Referenced by TEST().

+ Here is the caller graph for this function:

◆ GetColor()

absl::optional< CFX_Color > CPDF_DefaultAppearance::GetColor ( ) const

Definition at line 83 of file cpdf_defaultappearance.cpp.

References CFX_Color::CFX_Color(), CPDF_SimpleParser::GetWord(), CFX_Color::kCMYK, CFX_Color::kGray, and CFX_Color::kRGB.

+ Here is the call graph for this function:

◆ GetColorARGB()

absl::optional< CFX_Color::TypeAndARGB > CPDF_DefaultAppearance::GetColorARGB ( ) const

Definition at line 108 of file cpdf_defaultappearance.cpp.

References CFX_Color::TypeAndARGB::TypeAndARGB(), ArgbEncode(), CFX_Color::fColor1, CFX_Color::fColor2, CFX_Color::fColor3, CFX_Color::fColor4, CFX_Color::kCMYK, CFX_Color::kGray, CFX_Color::kRGB, and CFX_Color::nColorType.

+ Here is the call graph for this function:

◆ GetFont()

absl::optional< ByteString > CPDF_DefaultAppearance::GetFont ( float * fFontSize) const

Definition at line 67 of file cpdf_defaultappearance.cpp.

References CPDF_SimpleParser::GetWord(), and fxcrt::ByteString::operator=().

+ Here is the call graph for this function:

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