![]() |
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 35 of file cpdf_formcontrol.h.
Enumerator | |
---|---|
kNone | |
kInvert | |
kOutline | |
kPush | |
kToggle |
Definition at line 37 of file cpdf_formcontrol.h.
CPDF_FormControl::CPDF_FormControl | ( | CPDF_FormField * | pField, |
RetainPtr< CPDF_Dictionary > | pWidgetDict, | ||
CPDF_InteractiveForm * | pForm ) |
Definition at line 43 of file cpdf_formcontrol.cpp.
References CPDF_FormControl().
Referenced by CPDF_FormControl().
|
default |
void CPDF_FormControl::CheckControl | ( | bool | bChecked | ) |
Definition at line 118 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 75 of file cpdf_formcontrol.cpp.
References GetOnStateName(), 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 154 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 249 of file cpdf_formcontrol.cpp.
Referenced by CPDFSDK_Widget::GetAlignment(), and CPDFSDK_AppStream::SetAsTextField().
CPDF_DefaultAppearance CPDF_FormControl::GetDefaultAppearance | ( | ) | const |
Definition at line 184 of file cpdf_formcontrol.cpp.
Referenced by CJS_Field::get_text_color(), CPDFSDK_Widget::GetFontSize(), CPDFSDK_Widget::GetTextColor(), and CPDFSDK_AppStream::SetAsPushButton().
std::optional< WideString > CPDF_FormControl::GetDefaultControlFontName | ( | ) | const |
Definition at line 197 of file cpdf_formcontrol.cpp.
References fxcrt::WideString::FromDefANSI().
|
inline |
Definition at line 78 of file cpdf_formcontrol.h.
References pdfium::appearance::kAC.
Referenced by CPDFSDK_AppStream::SetAsPushButton().
|
inline |
Definition at line 88 of file cpdf_formcontrol.h.
References pdfium::appearance::kIX.
WideString CPDF_FormControl::GetExportValue | ( | ) | const |
Definition at line 86 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::GetExportValue().
|
inline |
Definition at line 45 of file cpdf_formcontrol.h.
Referenced by FPDFPage_HasFormFieldAtPoint(), CPDFSDK_Widget::GetFormField(), CPDFSDK_AppStream::SetAsComboBox(), CPDFSDK_AppStream::SetAsListBox(), CPDFSDK_AppStream::SetAsTextField(), and CPDFSDK_Widget::SetCheck().
CPDF_FormControl::HighlightingMode CPDF_FormControl::GetHighlightingMode | ( | ) | const |
Definition at line 130 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 176 of file cpdf_formcontrol.cpp.
References CPDF_ApSettings::GetIconFit().
Referenced by CPDFSDK_AppStream::SetAsPushButton().
|
inline |
Definition at line 72 of file cpdf_formcontrol.h.
References pdfium::appearance::kCA.
Referenced by CPDFSDK_AppStream::SetAsPushButton().
|
inline |
Definition at line 82 of file cpdf_formcontrol.h.
References pdfium::appearance::kI.
ByteString CPDF_FormControl::GetOnStateName | ( | ) | const |
Definition at line 56 of file cpdf_formcontrol.cpp.
References fxcrt::ByteString::ByteString().
Referenced by CheckControl(), CPDF_FormField::CheckControl(), GetCheckedAPState(), GetExportValue(), IsChecked(), and IsDefaultChecked().
|
inline |
Definition at line 68 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 64 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 159 of file cpdf_formcontrol.cpp.
References CPDF_ApSettings::GetOriginalColorComponent().
CFX_FloatRect CPDF_FormControl::GetRect | ( | ) | const |
Definition at line 52 of file cpdf_formcontrol.cpp.
Referenced by CPDF_InteractiveForm::GetControlAtPoint().
|
inline |
Definition at line 75 of file cpdf_formcontrol.h.
References pdfium::appearance::kRC.
Referenced by CPDFSDK_AppStream::SetAsPushButton().
|
inline |
Definition at line 85 of file cpdf_formcontrol.h.
References pdfium::appearance::kRI.
int CPDF_FormControl::GetRotation | ( | ) | const |
Definition at line 150 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 180 of file cpdf_formcontrol.cpp.
References CPDF_ApSettings::GetTextPosition().
Referenced by CPDFSDK_AppStream::SetAsPushButton().
|
inline |
Definition at line 44 of file cpdf_formcontrol.h.
|
inline |
Definition at line 46 of file cpdf_formcontrol.h.
bool CPDF_FormControl::HasMKEntry | ( | const ByteString & | csEntry | ) | const |
Definition at line 146 of file cpdf_formcontrol.cpp.
References CPDF_ApSettings::HasMKEntry().
Referenced by CPDFSDK_AppStream::SetAsPushButton().
bool CPDF_FormControl::IsChecked | ( | ) | const |
Definition at line 98 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 106 of file cpdf_formcontrol.cpp.
References GetOnStateName(), and fxcrt::ByteString::operator==().
Referenced by CPDF_FormField::GetCheckValue(), and CPDF_FormField::ResetField().