![]() |
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 546 of file cpdf_interactiveform.cpp.
References CPDF_InteractiveForm().
Referenced by CPDF_InteractiveForm().
|
default |
|
static |
Definition at line 579 of file cpdf_interactiveform.cpp.
| bool CPDF_InteractiveForm::CheckRequiredFields | ( | const std::vector< CPDF_FormField * > * | fields, |
| bool | bIncludeOrExclude ) const |
Definition at line 904 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 610 of file cpdf_interactiveform.cpp.
| int CPDF_InteractiveForm::CountFieldsInCalculationOrder | ( | ) |
Definition at line 677 of file cpdf_interactiveform.cpp.
| std::unique_ptr< CFDF_Document > CPDF_InteractiveForm::ExportToFDF | ( | const WideString & | pdf_path | ) | const |
Definition at line 937 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 947 of file cpdf_interactiveform.cpp.
References CPDF_FileSpec::EncodeFileName(), CPDF_FormField::GetCheckValue(), CPDF_FormField::GetFieldDict(), CPDF_FormField::GetFieldFlags(), CPDF_FormField::GetFullNameForDict(), CPDF_FormField::GetType(), 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 698 of file cpdf_interactiveform.cpp.
References CPDF_FormField::GetFieldDict().
Definition at line 806 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 637 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 667 of file cpdf_interactiveform.cpp.
Referenced by FPDFAnnot_GetFormControlIndex(), and CPDFSDK_Widget::GetFormControl().
| const std::vector< UnownedPtr< CPDF_FormControl > > & CPDF_InteractiveForm::GetControlsForField | ( | const CPDF_FormField * | pField | ) |
Definition at line 771 of file cpdf_interactiveform.cpp.
| CPDF_DefaultAppearance CPDF_InteractiveForm::GetDefaultAppearance | ( | ) | const |
Definition at line 741 of file cpdf_interactiveform.cpp.
| CPDF_FormField * CPDF_InteractiveForm::GetField | ( | size_t | index, |
| const WideString & | csFieldName ) const |
Definition at line 618 of file cpdf_interactiveform.cpp.
| CPDF_FormField * CPDF_InteractiveForm::GetFieldByDict | ( | const CPDF_Dictionary * | pFieldDict | ) | const |
Definition at line 628 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 685 of file cpdf_interactiveform.cpp.
References GetFieldByDict().
| RetainPtr< CPDF_Font > CPDF_InteractiveForm::GetFontForElement | ( | RetainPtr< CPDF_Dictionary > | pElement | ) | const |
Definition at line 735 of file cpdf_interactiveform.cpp.
Referenced by GetFormFont().
| int CPDF_InteractiveForm::GetFormAlignment | ( | ) | const |
Definition at line 746 of file cpdf_interactiveform.cpp.
| RetainPtr< CPDF_Font > CPDF_InteractiveForm::GetFormFont | ( | ByteString | csNameTag | ) | const |
Definition at line 714 of file cpdf_interactiveform.cpp.
References GetFontForElement().
|
static |
Definition at line 569 of file cpdf_interactiveform.cpp.
Referenced by CPDF_AnnotList::CPDF_AnnotList(), and CPDFSDK_PageView::LoadFXAnnots().
| bool CPDF_InteractiveForm::NeedConstructAP | ( | ) | const |
Definition at line 673 of file cpdf_interactiveform.cpp.
| void CPDF_InteractiveForm::NotifyAfterCheckedStatusChange | ( | CPDF_FormField * | pField | ) |
Definition at line 1040 of file cpdf_interactiveform.cpp.
| void CPDF_InteractiveForm::NotifyAfterSelectionChange | ( | CPDF_FormField * | pField | ) |
Definition at line 1035 of file cpdf_interactiveform.cpp.
| void CPDF_InteractiveForm::NotifyAfterValueChange | ( | CPDF_FormField * | pField | ) |
Definition at line 1023 of file cpdf_interactiveform.cpp.
| bool CPDF_InteractiveForm::NotifyBeforeSelectionChange | ( | CPDF_FormField * | pField, |
| const WideString & | csValue ) |
Definition at line 1028 of file cpdf_interactiveform.cpp.
| bool CPDF_InteractiveForm::NotifyBeforeValueChange | ( | CPDF_FormField * | pField, |
| const WideString & | csValue ) |
Definition at line 1018 of file cpdf_interactiveform.cpp.
| void CPDF_InteractiveForm::ResetForm | ( | ) |
Definition at line 766 of file cpdf_interactiveform.cpp.
References ResetForm().
Referenced by ResetForm().
| void CPDF_InteractiveForm::ResetForm | ( | pdfium::span< CPDF_FormField * > | fields, |
| bool | bIncludeOrExclude ) |
Definition at line 750 of file cpdf_interactiveform.cpp.
References CPDF_FormField::ResetField().
| void CPDF_InteractiveForm::SetNotifierIface | ( | NotifierIface * | pNotify | ) |
Definition at line 1014 of file cpdf_interactiveform.cpp.
|
static |
Definition at line 574 of file cpdf_interactiveform.cpp.
Referenced by CPDFSDK_PageView::LoadFXAnnots().