Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <cpdf_defaultappearance.h>
Public Member Functions | |
CPDF_DefaultAppearance () | |
CPDF_DefaultAppearance (const ByteString &csDA) | |
CPDF_DefaultAppearance (const CPDF_DefaultAppearance &cDA) | |
~CPDF_DefaultAppearance () | |
absl::optional< ByteString > | GetFont (float *fFontSize) const |
absl::optional< CFX_Color > | GetColor () const |
absl::optional< CFX_Color::TypeAndARGB > | GetColorARGB () const |
Static Public Member Functions | |
static bool | FindTagParamFromStartForTesting (CPDF_SimpleParser *parser, ByteStringView token, int nParams) |
Definition at line 16 of file cpdf_defaultappearance.h.
|
default |
Referenced by CPDF_InteractiveForm::GetDefaultAppearance().
|
explicit |
Definition at line 59 of file cpdf_defaultappearance.cpp.
References CPDF_DefaultAppearance().
Referenced by CPDF_DefaultAppearance(), fpdfdoc::CFXColorFromString(), and CPDF_GenerateAP::GenerateFormAP().
|
default |
|
default |
|
static |
Definition at line 141 of file cpdf_defaultappearance.cpp.
Referenced by TEST().
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.
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.
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=().