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_formcontrol.h>
Public Types | |
enum | HighlightingMode { kNone = 0 , kInvert , kOutline , kPush , kToggle } |
Definition at line 34 of file cpdf_formcontrol.h.
Enumerator | |
---|---|
kNone | |
kInvert | |
kOutline | |
kPush | |
kToggle |
Definition at line 36 of file cpdf_formcontrol.h.
CPDF_FormControl::CPDF_FormControl | ( | CPDF_FormField * | pField, |
RetainPtr< CPDF_Dictionary > | pWidgetDict, | ||
CPDF_InteractiveForm * | pForm ) |
Definition at line 42 of file cpdf_formcontrol.cpp.
References CPDF_FormControl().
Referenced by CPDF_FormControl().
|
default |
void CPDF_FormControl::CheckControl | ( | bool | bChecked | ) |
Definition at line 117 of file cpdf_formcontrol.cpp.
References GetOnStateName(), fxcrt::ByteString::operator=(), and fxcrt::ByteString::operator==().
Referenced by CPDF_FormField::CheckControl().
ByteString CPDF_FormControl::GetCheckedAPState | ( | ) | const |
Definition at line 74 of file cpdf_formcontrol.cpp.
References GetOnStateName(), fxcrt::ByteString::IsEmpty(), and fxcrt::ByteString::operator=().
Referenced by CPDFSDK_AppStream::SetAsCheckBox(), and CPDFSDK_AppStream::SetAsRadioButton().
CFX_Color::TypeAndARGB CPDF_FormControl::GetColorARGB | ( | const ByteString & | csEntry | ) |
Definition at line 152 of file cpdf_formcontrol.cpp.
References CPDF_ApSettings::GetColorARGB().
Referenced by CPDFSDK_Widget::GetBorderColor(), and CPDFSDK_Widget::GetFillColor().
int CPDF_FormControl::GetControlAlignment | ( | ) | const |
Definition at line 247 of file cpdf_formcontrol.cpp.
Referenced by CPDFSDK_Widget::GetAlignment().
CPDF_DefaultAppearance CPDF_FormControl::GetDefaultAppearance | ( | ) | const |
Definition at line 182 of file cpdf_formcontrol.cpp.
Referenced by CJS_Field::get_text_color(), CPDFSDK_Widget::GetFontSize(), CPDFSDK_Widget::GetTextColor(), and CPDFSDK_AppStream::SetAsPushButton().
absl::optional< WideString > CPDF_FormControl::GetDefaultControlFontName | ( | ) | const |
Definition at line 195 of file cpdf_formcontrol.cpp.
References fxcrt::WideString::FromDefANSI().
|
inline |
Definition at line 77 of file cpdf_formcontrol.h.
References pdfium::appearance::kAC.
Referenced by CPDFSDK_AppStream::SetAsPushButton().
|
inline |
Definition at line 87 of file cpdf_formcontrol.h.
References pdfium::appearance::kIX.
WideString CPDF_FormControl::GetExportValue | ( | ) | const |
Definition at line 85 of file cpdf_formcontrol.cpp.
References GetOnStateName(), fxcrt::ByteString::IsEmpty(), and fxcrt::ByteString::operator=().
Referenced by CJS_PublicMethods::AFSimple_Calculate(), CPDF_FormField::CheckControl(), CPDF_FormField::GetCheckValue(), and CPDFSDK_Widget::GetExportValue().
|
inline |
Definition at line 44 of file cpdf_formcontrol.h.
Referenced by FPDFPage_HasFormFieldAtPoint(), CPDFSDK_Widget::GetFormField(), CPDFSDK_AppStream::SetAsListBox(), and CPDFSDK_Widget::SetCheck().
CPDF_FormControl::HighlightingMode CPDF_FormControl::GetHighlightingMode | ( | ) | const |
Definition at line 129 of file cpdf_formcontrol.cpp.
References kInvert.
Referenced by CPDFSDK_Widget::IsPushHighlighted(), and CPDFSDK_AppStream::SetAsPushButton().
CPDF_IconFit CPDF_FormControl::GetIconFit | ( | ) | const |
Definition at line 174 of file cpdf_formcontrol.cpp.
References CPDF_ApSettings::GetIconFit().
Referenced by CPDFSDK_AppStream::SetAsPushButton().
|
inline |
Definition at line 71 of file cpdf_formcontrol.h.
References pdfium::appearance::kCA.
Referenced by CPDFSDK_AppStream::SetAsPushButton().
|
inline |
Definition at line 81 of file cpdf_formcontrol.h.
References pdfium::appearance::kI.
ByteString CPDF_FormControl::GetOnStateName | ( | ) | const |
Definition at line 55 of file cpdf_formcontrol.cpp.
References fxcrt::ByteString::ByteString().
Referenced by CheckControl(), CPDF_FormField::CheckControl(), GetCheckedAPState(), GetExportValue(), IsChecked(), and IsDefaultChecked().
|
inline |
Definition at line 67 of file cpdf_formcontrol.h.
References pdfium::appearance::kBG.
Referenced by CPDFSDK_Widget::GetFillPWLColor(), CPDFSDK_AppStream::SetAsCheckBox(), CPDFSDK_AppStream::SetAsPushButton(), and CPDFSDK_AppStream::SetAsRadioButton().
|
inline |
Definition at line 63 of file cpdf_formcontrol.h.
References pdfium::appearance::kBC.
Referenced by CPDFSDK_Widget::GetBorderPWLColor(), CPDFSDK_AppStream::SetAsCheckBox(), CPDFSDK_AppStream::SetAsPushButton(), and CPDFSDK_AppStream::SetAsRadioButton().
float CPDF_FormControl::GetOriginalColorComponent | ( | int | index, |
const ByteString & | csEntry ) |
Definition at line 157 of file cpdf_formcontrol.cpp.
References CPDF_ApSettings::GetOriginalColorComponent().
CFX_FloatRect CPDF_FormControl::GetRect | ( | ) | const |
Definition at line 51 of file cpdf_formcontrol.cpp.
Referenced by CPDF_InteractiveForm::GetControlAtPoint().
|
inline |
Definition at line 74 of file cpdf_formcontrol.h.
References pdfium::appearance::kRC.
Referenced by CPDFSDK_AppStream::SetAsPushButton().
|
inline |
Definition at line 84 of file cpdf_formcontrol.h.
References pdfium::appearance::kRI.
int CPDF_FormControl::GetRotation | ( | ) | const |
Definition at line 148 of file cpdf_formcontrol.cpp.
References CPDF_ApSettings::GetRotation().
Referenced by CPDFSDK_Widget::GetMatrix(), CPDFSDK_Widget::GetRotate(), and CPDFSDK_Widget::GetRotatedRect().
int CPDF_FormControl::GetTextPosition | ( | ) | const |
Definition at line 178 of file cpdf_formcontrol.cpp.
References CPDF_ApSettings::GetTextPosition().
Referenced by CPDFSDK_AppStream::SetAsPushButton().
|
inline |
Definition at line 43 of file cpdf_formcontrol.h.
|
inline |
Definition at line 45 of file cpdf_formcontrol.h.
bool CPDF_FormControl::HasMKEntry | ( | const ByteString & | csEntry | ) | const |
Definition at line 144 of file cpdf_formcontrol.cpp.
References CPDF_ApSettings::HasMKEntry().
Referenced by CPDFSDK_AppStream::SetAsPushButton().
bool CPDF_FormControl::IsChecked | ( | ) | const |
Definition at line 97 of file cpdf_formcontrol.cpp.
References GetOnStateName(), and fxcrt::ByteString::operator==().
Referenced by CJS_PublicMethods::AFSimple_Calculate(), CPDF_FormField::CheckControl(), CPDF_FormField::GetCheckValue(), and CPDFSDK_Widget::IsChecked().
bool CPDF_FormControl::IsDefaultChecked | ( | ) | const |
Definition at line 105 of file cpdf_formcontrol.cpp.
References GetOnStateName(), and fxcrt::ByteString::operator==().
Referenced by CPDF_FormField::GetCheckValue(), and CPDF_FormField::ResetField().