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_interactiveform.h>
Classes | |
class | NotifierIface |
Static Public Member Functions | |
static bool | IsUpdateAPEnabled () |
static void | SetUpdateAP (bool bUpdateAP) |
static RetainPtr< CPDF_Font > | AddNativeInteractiveFormFont (CPDF_Document *pDocument, ByteString *csNameTag) |
Definition at line 35 of file cpdf_interactiveform.h.
|
explicit |
Definition at line 530 of file cpdf_interactiveform.cpp.
References CPDF_InteractiveForm().
Referenced by CPDF_InteractiveForm().
|
default |
|
static |
Definition at line 563 of file cpdf_interactiveform.cpp.
bool CPDF_InteractiveForm::CheckRequiredFields | ( | const std::vector< CPDF_FormField * > * | fields, |
bool | bIncludeOrExclude ) const |
Definition at line 889 of file cpdf_interactiveform.cpp.
References CPDF_FormField::GetType(), CPDF_FormField::IsNoExport(), CPDF_FormField::IsRequired(), CPDF_FormField::kCheckBox, CPDF_FormField::kListBox, CPDF_FormField::kPushButton, and pdfium::form_fields::kV.
size_t CPDF_InteractiveForm::CountFields | ( | const WideString & | csFieldName | ) | const |
Definition at line 594 of file cpdf_interactiveform.cpp.
int CPDF_InteractiveForm::CountFieldsInCalculationOrder | ( | ) |
Definition at line 661 of file cpdf_interactiveform.cpp.
std::unique_ptr< CFDF_Document > CPDF_InteractiveForm::ExportToFDF | ( | const WideString & | pdf_path | ) | const |
Definition at line 922 of file cpdf_interactiveform.cpp.
std::unique_ptr< CFDF_Document > CPDF_InteractiveForm::ExportToFDF | ( | const WideString & | pdf_path, |
const std::vector< CPDF_FormField * > & | fields, | ||
bool | bIncludeOrExclude ) const |
Definition at line 932 of file cpdf_interactiveform.cpp.
References CPDF_FileSpec::EncodeFileName(), CPDF_FormField::GetCheckValue(), CPDF_FormField::GetFieldDict(), CPDF_FormField::GetFieldFlags(), CPDF_FormField::GetFullNameForDict(), CPDF_FormField::GetType(), fxcrt::WideString::IsEmpty(), CPDF_FormField::kCheckBox, pdfium::stream::kF, pdfium::form_flags::kNoExport, CPDF_FormField::kPushButton, CPDF_FormField::kRadioButton, pdfium::form_fields::kT, pdfium::form_fields::kV, and fxcrt::WideString::ToDefANSI().
int CPDF_InteractiveForm::FindFieldInCalculationOrder | ( | const CPDF_FormField * | pField | ) |
Definition at line 682 of file cpdf_interactiveform.cpp.
Definition at line 791 of file cpdf_interactiveform.cpp.
Referenced by CPDFSDK_PageView::CPDFSDK_PageView().
const CPDF_FormControl * CPDF_InteractiveForm::GetControlAtPoint | ( | const CPDF_Page * | pPage, |
const CFX_PointF & | point, | ||
int * | z_order ) const |
Definition at line 621 of file cpdf_interactiveform.cpp.
References CFX_FloatRect::Contains(), and CPDF_FormControl::GetRect().
Referenced by FPDFAnnot_GetFormFieldAtPoint(), FPDFPage_FormFieldZOrderAtPoint(), and FPDFPage_HasFormFieldAtPoint().
CPDF_FormControl * CPDF_InteractiveForm::GetControlByDict | ( | const CPDF_Dictionary * | pWidgetDict | ) | const |
Definition at line 651 of file cpdf_interactiveform.cpp.
Referenced by FPDFAnnot_GetFontSize(), FPDFAnnot_GetFormControlIndex(), and CPDFSDK_Widget::GetFormControl().
const std::vector< UnownedPtr< CPDF_FormControl > > & CPDF_InteractiveForm::GetControlsForField | ( | const CPDF_FormField * | pField | ) |
Definition at line 756 of file cpdf_interactiveform.cpp.
CPDF_DefaultAppearance CPDF_InteractiveForm::GetDefaultAppearance | ( | ) | const |
Definition at line 725 of file cpdf_interactiveform.cpp.
References CPDF_DefaultAppearance::CPDF_DefaultAppearance().
CPDF_FormField * CPDF_InteractiveForm::GetField | ( | size_t | index, |
const WideString & | csFieldName ) const |
Definition at line 602 of file cpdf_interactiveform.cpp.
CPDF_FormField * CPDF_InteractiveForm::GetFieldByDict | ( | const CPDF_Dictionary * | pFieldDict | ) | const |
Definition at line 612 of file cpdf_interactiveform.cpp.
References CPDF_FormField::GetFullNameForDict().
Referenced by FPDFAnnot_GetFormControlIndex(), and GetFieldInCalculationOrder().
CPDF_FormField * CPDF_InteractiveForm::GetFieldInCalculationOrder | ( | int | index | ) |
Definition at line 669 of file cpdf_interactiveform.cpp.
References GetFieldByDict().
RetainPtr< CPDF_Font > CPDF_InteractiveForm::GetFontForElement | ( | RetainPtr< CPDF_Dictionary > | pElement | ) | const |
Definition at line 719 of file cpdf_interactiveform.cpp.
Referenced by GetFormFont().
int CPDF_InteractiveForm::GetFormAlignment | ( | ) | const |
Definition at line 731 of file cpdf_interactiveform.cpp.
RetainPtr< CPDF_Font > CPDF_InteractiveForm::GetFormFont | ( | ByteString | csNameTag | ) | const |
Definition at line 698 of file cpdf_interactiveform.cpp.
References GetFontForElement().
|
static |
Definition at line 553 of file cpdf_interactiveform.cpp.
Referenced by CPDF_AnnotList::CPDF_AnnotList(), and CPDFSDK_PageView::LoadFXAnnots().
bool CPDF_InteractiveForm::NeedConstructAP | ( | ) | const |
Definition at line 657 of file cpdf_interactiveform.cpp.
void CPDF_InteractiveForm::NotifyAfterCheckedStatusChange | ( | CPDF_FormField * | pField | ) |
Definition at line 1027 of file cpdf_interactiveform.cpp.
void CPDF_InteractiveForm::NotifyAfterSelectionChange | ( | CPDF_FormField * | pField | ) |
Definition at line 1022 of file cpdf_interactiveform.cpp.
void CPDF_InteractiveForm::NotifyAfterValueChange | ( | CPDF_FormField * | pField | ) |
Definition at line 1010 of file cpdf_interactiveform.cpp.
bool CPDF_InteractiveForm::NotifyBeforeSelectionChange | ( | CPDF_FormField * | pField, |
const WideString & | csValue ) |
Definition at line 1015 of file cpdf_interactiveform.cpp.
bool CPDF_InteractiveForm::NotifyBeforeValueChange | ( | CPDF_FormField * | pField, |
const WideString & | csValue ) |
Definition at line 1005 of file cpdf_interactiveform.cpp.
void CPDF_InteractiveForm::ResetForm | ( | ) |
Definition at line 751 of file cpdf_interactiveform.cpp.
void CPDF_InteractiveForm::ResetForm | ( | pdfium::span< CPDF_FormField * > | fields, |
bool | bIncludeOrExclude ) |
Definition at line 735 of file cpdf_interactiveform.cpp.
References CPDF_FormField::ResetField().
void CPDF_InteractiveForm::SetNotifierIface | ( | NotifierIface * | pNotify | ) |
Definition at line 1001 of file cpdf_interactiveform.cpp.
|
static |
Definition at line 558 of file cpdf_interactiveform.cpp.
Referenced by CPDFSDK_PageView::LoadFXAnnots().