Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <cpdfsdk_formfillenvironment.h>
Additional Inherited Members | |
Public Types inherited from CFX_Timer::HandlerIface | |
using | TimerCallback = void (*)(int32_t idEvent) |
Static Public Attributes inherited from CFX_Timer::HandlerIface | |
static constexpr int32_t | kInvalidTimerID = 0 |
Protected Member Functions inherited from fxcrt::Observable | |
size_t | ActiveObserversForTesting () const |
Definition at line 57 of file cpdfsdk_formfillenvironment.h.
CPDFSDK_FormFillEnvironment::CPDFSDK_FormFillEnvironment | ( | CPDF_Document * | pDoc, |
FPDF_FORMFILLINFO * | pFFinfo ) |
Definition at line 65 of file cpdfsdk_formfillenvironment.cpp.
References CPDFSDK_FormFillEnvironment().
Referenced by CPDFSDK_FormFillEnvironment().
|
override |
Definition at line 75 of file cpdfsdk_formfillenvironment.cpp.
References ClearAllFocusedAnnots().
void CPDFSDK_FormFillEnvironment::ClearAllFocusedAnnots | ( | ) |
Definition at line 603 of file cpdfsdk_formfillenvironment.cpp.
Referenced by ~CPDFSDK_FormFillEnvironment().
|
inline |
Definition at line 99 of file cpdfsdk_formfillenvironment.h.
bool CPDFSDK_FormFillEnvironment::DoActionDestination | ( | const CPDF_Dest & | dest | ) |
Definition at line 887 of file cpdfsdk_formfillenvironment.cpp.
References DoGoToAction(), CPDF_Dest::GetDestPageIndex(), GetPDFDocument(), and CPDF_Dest::GetZoomMode().
Referenced by DoActionGoTo(), and CPDFSDK_BAAnnot::OnKeyDown().
bool CPDFSDK_FormFillEnvironment::DoActionDocOpen | ( | const CPDF_Action & | action | ) |
Definition at line 834 of file cpdfsdk_formfillenvironment.cpp.
Referenced by ProcOpenAction().
bool CPDFSDK_FormFillEnvironment::DoActionDocument | ( | const CPDF_Action & | action, |
CPDF_AAction::AActionType | eType ) |
Definition at line 903 of file cpdfsdk_formfillenvironment.cpp.
Referenced by FORM_DoDocumentAAction().
bool CPDFSDK_FormFillEnvironment::DoActionField | ( | const CPDF_Action & | action, |
CPDF_AAction::AActionType | type, | ||
CPDF_FormField * | pFormField, | ||
CFFL_FieldAction * | data ) |
Definition at line 910 of file cpdfsdk_formfillenvironment.cpp.
Referenced by CPDFSDK_Widget::OnAAction().
bool CPDFSDK_FormFillEnvironment::DoActionFieldJavaScript | ( | const CPDF_Action & | JsAction, |
CPDF_AAction::AActionType | type, | ||
CPDF_FormField * | pFormField, | ||
CFFL_FieldAction * | data ) |
Definition at line 853 of file cpdfsdk_formfillenvironment.cpp.
References CPDF_Action::GetJavaScript(), CPDF_Action::GetType(), fxcrt::WideString::IsEmpty(), IsJSPlatformPresent(), and CPDF_Action::kJavaScript.
void CPDFSDK_FormFillEnvironment::DoActionGoTo | ( | const CPDF_Action & | action | ) |
Definition at line 1061 of file cpdfsdk_formfillenvironment.cpp.
References DoActionDestination(), CPDF_Action::GetDest(), and GetPDFDocument().
Referenced by DoActionLink(), and DoActionNoJs().
bool CPDFSDK_FormFillEnvironment::DoActionHide | ( | const CPDF_Action & | action | ) |
Definition at line 1175 of file cpdfsdk_formfillenvironment.cpp.
References CPDFSDK_InteractiveForm::DoAction_Hide(), GetInteractiveForm(), and SetChangeMark().
Referenced by DoActionNoJs().
bool CPDFSDK_FormFillEnvironment::DoActionJavaScript | ( | const CPDF_Action & | JsAction, |
WideString | csJSName ) |
Definition at line 839 of file cpdfsdk_formfillenvironment.cpp.
References CPDF_Action::GetJavaScript(), CPDF_Action::GetType(), fxcrt::WideString::IsEmpty(), and CPDF_Action::kJavaScript.
Referenced by ProcJavascriptAction().
void CPDFSDK_FormFillEnvironment::DoActionLaunch | ( | const CPDF_Action & | action | ) |
bool CPDFSDK_FormFillEnvironment::DoActionLink | ( | const CPDF_Action & | action, |
CPDF_AAction::AActionType | type, | ||
Mask< FWL_EVENTFLAG > | modifiers ) |
Definition at line 869 of file cpdfsdk_formfillenvironment.cpp.
References DoActionGoTo(), DoActionURI(), CPDF_Action::GetType(), CPDF_AAction::IsUserInput(), CPDF_Action::kGoTo, and CPDF_Action::kURI.
Referenced by CPDFSDK_BAAnnot::OnKeyDown().
void CPDFSDK_FormFillEnvironment::DoActionNamed | ( | const CPDF_Action & | action | ) |
Definition at line 1077 of file cpdfsdk_formfillenvironment.cpp.
References ExecuteNamedAction(), and CPDF_Action::GetNamedAction().
Referenced by DoActionNoJs().
void CPDFSDK_FormFillEnvironment::DoActionNoJs | ( | const CPDF_Action & | action, |
CPDF_AAction::AActionType | type ) |
Definition at line 1018 of file cpdfsdk_formfillenvironment.cpp.
References DoActionGoTo(), DoActionHide(), DoActionNamed(), DoActionResetForm(), DoActionSubmitForm(), DoActionURI(), CPDF_Action::GetType(), CPDF_AAction::IsUserInput(), CPDF_Action::kGoTo, CPDF_Action::kGoTo3DView, CPDF_Action::kGoToE, CPDF_Action::kGoToR, CPDF_Action::kHide, CPDF_Action::kImportData, CPDF_Action::kJavaScript, CPDF_Action::kLaunch, CPDF_Action::kMovie, CPDF_Action::kNamed, CPDF_Action::kRendition, CPDF_Action::kResetForm, CPDF_Action::kSetOCGState, CPDF_Action::kSound, CPDF_Action::kSubmitForm, CPDF_Action::kThread, CPDF_Action::kTrans, and CPDF_Action::kURI.
bool CPDFSDK_FormFillEnvironment::DoActionPage | ( | const CPDF_Action & | action, |
CPDF_AAction::AActionType | eType ) |
Definition at line 896 of file cpdfsdk_formfillenvironment.cpp.
Referenced by FORM_DoPageAAction().
void CPDFSDK_FormFillEnvironment::DoActionResetForm | ( | const CPDF_Action & | action | ) |
Definition at line 1190 of file cpdfsdk_formfillenvironment.cpp.
References CPDFSDK_InteractiveForm::DoAction_ResetForm(), and GetInteractiveForm().
Referenced by DoActionNoJs().
bool CPDFSDK_FormFillEnvironment::DoActionSubmitForm | ( | const CPDF_Action & | action | ) |
Definition at line 1184 of file cpdfsdk_formfillenvironment.cpp.
References CPDFSDK_InteractiveForm::DoAction_SubmitForm(), and GetInteractiveForm().
Referenced by DoActionNoJs().
void CPDFSDK_FormFillEnvironment::DoActionURI | ( | const CPDF_Action & | action, |
Mask< FWL_EVENTFLAG > | modifiers ) |
Definition at line 1071 of file cpdfsdk_formfillenvironment.cpp.
References DoURIAction(), GetPDFDocument(), and CPDF_Action::GetURI().
Referenced by DoActionLink(), and DoActionNoJs().
void CPDFSDK_FormFillEnvironment::DoGoToAction | ( | int | nPageIndex, |
int | zoomMode, | ||
pdfium::span< float > | fPosArray ) |
Definition at line 437 of file cpdfsdk_formfillenvironment.cpp.
Referenced by DoActionDestination().
void CPDFSDK_FormFillEnvironment::DoURIAction | ( | const ByteString & | bsURI, |
Mask< FWL_EVENTFLAG > | modifiers ) |
Definition at line 422 of file cpdfsdk_formfillenvironment.cpp.
Referenced by DoActionURI().
void CPDFSDK_FormFillEnvironment::ExecuteNamedAction | ( | const ByteString & | namedAction | ) |
Definition at line 377 of file cpdfsdk_formfillenvironment.cpp.
Referenced by DoActionNamed().
|
inline |
Definition at line 228 of file cpdfsdk_formfillenvironment.h.
References fxcrt::ByteString::ByteString().
|
inline |
Definition at line 97 of file cpdfsdk_formfillenvironment.h.
|
inline |
Definition at line 111 of file cpdfsdk_formfillenvironment.h.
WideString CPDFSDK_FormFillEnvironment::GetFilePath | ( | ) | const |
Definition at line 304 of file cpdfsdk_formfillenvironment.cpp.
References fxcrt::WideString::WideString(), _IPDF_JsPlatform::Doc_getFilePath, and GetJSPlatform().
|
inline |
Definition at line 236 of file cpdfsdk_formfillenvironment.h.
|
overridevirtual |
Implements CFFL_InteractiveFormFiller::CallbackIface.
Definition at line 729 of file cpdfsdk_formfillenvironment.cpp.
Referenced by FORM_GetFocusedAnnot(), and RemovePageView().
|
inline |
Definition at line 229 of file cpdfsdk_formfillenvironment.h.
Referenced by CPDFXFA_DocEnvironment::ExportData(), IsSelectionImplemented(), and CPDFXFA_DocEnvironment::Print().
IJS_Runtime * CPDFSDK_FormFillEnvironment::GetIJSRuntime | ( | ) |
Definition at line 340 of file cpdfsdk_formfillenvironment.cpp.
Referenced by CPDFXFA_DocEnvironment::GetIJSRuntime().
CPDFSDK_InteractiveForm * CPDFSDK_FormFillEnvironment::GetInteractiveForm | ( | ) |
Definition at line 712 of file cpdfsdk_formfillenvironment.cpp.
Referenced by CPDFSDK_PageView::CPDFSDK_PageView(), CJS_PublicMethods::AFSimple_Calculate(), DoActionHide(), DoActionResetForm(), DoActionSubmitForm(), and FormHandleToInteractiveForm().
|
inline |
Definition at line 241 of file cpdfsdk_formfillenvironment.h.
Referenced by CPWLComboBoxEmbedderTest::FormFillerAndWindowSetup(), CPWLEditEmbedderTest::FormFillerAndWindowSetup(), and CPWLSpecialButtonEmbedderTest::FormFillerAndWindowSetup().
|
inline |
Definition at line 116 of file cpdfsdk_formfillenvironment.h.
Referenced by GetFilePath(), and SubmitForm().
|
overridevirtual |
Implements CFFL_InteractiveFormFiller::CallbackIface.
Definition at line 614 of file cpdfsdk_formfillenvironment.cpp.
References GetPageView(), and CPDFSDK_PageView::LoadFXAnnots().
Referenced by FORM_SetFocusedAnnot(), and CPDFSDK_BAAnnotTest::SetUpBAAnnot().
int CPDFSDK_FormFillEnvironment::GetPageCount | ( | ) | const |
Definition at line 799 of file cpdfsdk_formfillenvironment.cpp.
|
overridevirtual |
Implements CFFL_InteractiveFormFiller::CallbackIface.
Definition at line 629 of file cpdfsdk_formfillenvironment.cpp.
Referenced by FORM_DoPageAAction(), FORM_OnBeforeClosePage(), GetOrCreatePageView(), and GetPageViewAtIndex().
CPDFSDK_PageView * CPDFSDK_FormFillEnvironment::GetPageViewAtIndex | ( | int | nIndex | ) |
Definition at line 639 of file cpdfsdk_formfillenvironment.cpp.
References GetPageView().
Referenced by CPWLComboBoxEmbedderTest::CreateAndInitializeFormComboboxPDF(), CPWLEditEmbedderTest::CreateAndInitializeFormPDF(), CPWLSpecialButtonEmbedderTest::CreateAndInitializeFormPDF(), CPWLComboBoxEmbedderTest::FormFillerAndWindowSetup(), CPWLEditEmbedderTest::FormFillerAndWindowSetup(), CPWLSpecialButtonEmbedderTest::FormFillerAndWindowSetup(), and TEST_F().
|
inline |
Definition at line 110 of file cpdfsdk_formfillenvironment.h.
Referenced by DoActionDestination(), DoActionGoTo(), DoActionURI(), and FORM_DoDocumentAAction().
|
overridevirtual |
Implements CFFL_InteractiveFormFiller::CallbackIface.
Definition at line 635 of file cpdfsdk_formfillenvironment.cpp.
|
overridevirtual |
Implements CFFL_InteractiveFormFiller::CallbackIface.
Definition at line 804 of file cpdfsdk_formfillenvironment.cpp.
|
overridevirtual |
Implements CFFL_InteractiveFormFiller::CallbackIface.
Definition at line 346 of file cpdfsdk_formfillenvironment.cpp.
Referenced by InvalidateRect(), and CPDFXFA_DocEnvironment::InvalidateRect().
|
overridevirtual |
Implements CFFL_InteractiveFormFiller::CallbackIface.
Definition at line 92 of file cpdfsdk_formfillenvironment.cpp.
References CFX_FloatRect::GetOuterRect(), CPDFSDK_Annot::GetPage(), CPDFSDK_Annot::GetPageView(), Invalidate(), and CFX_FloatRect::Normalize().
|
inline |
Definition at line 115 of file cpdfsdk_formfillenvironment.h.
Referenced by DoActionFieldJavaScript(), and FORM_DoDocumentJSAction().
|
overridevirtual |
Implements CFFL_InteractiveFormFiller::CallbackIface.
Definition at line 123 of file cpdfsdk_formfillenvironment.cpp.
References _FPDF_FORMFILLINFO::FFI_OutputSelectedRect, and GetFormFillInfo().
bool CPDFSDK_FormFillEnvironment::KillFocusAnnot | ( | Mask< FWL_EVENTFLAG > | nFlags | ) |
Definition at line 772 of file cpdfsdk_formfillenvironment.cpp.
References fxcrt::WideString::WideString(), CPDFSDK_Widget::GetFieldType(), kComboBox, kTextField, CPDFSDK_Annot::OnKillFocus(), and CPDF_Annot::WIDGET.
Referenced by FORM_ForceToKillFocus(), and RemovePageView().
|
overridevirtual |
Implements CFX_Timer::HandlerIface.
Definition at line 367 of file cpdfsdk_formfillenvironment.cpp.
|
overridevirtual |
Implements CFFL_InteractiveFormFiller::CallbackIface.
Definition at line 400 of file cpdfsdk_formfillenvironment.cpp.
|
overridevirtual |
Implements CFFL_InteractiveFormFiller::CallbackIface.
Definition at line 372 of file cpdfsdk_formfillenvironment.cpp.
|
overridevirtual |
Implements CFFL_InteractiveFormFiller::CallbackIface.
Definition at line 407 of file cpdfsdk_formfillenvironment.cpp.
|
overridevirtual |
Implements CFFL_InteractiveFormFiller::CallbackIface.
Definition at line 383 of file cpdfsdk_formfillenvironment.cpp.
|
overridevirtual |
Implements CFFL_InteractiveFormFiller::CallbackIface.
Definition at line 109 of file cpdfsdk_formfillenvironment.cpp.
References CPDFSDK_Annot::GetPage(), and CFFL_FormField::GetSDKWidget().
void CPDFSDK_FormFillEnvironment::ProcJavascriptAction | ( | ) |
Definition at line 644 of file cpdfsdk_formfillenvironment.cpp.
References DoActionJavaScript().
Referenced by FORM_DoDocumentJSAction().
bool CPDFSDK_FormFillEnvironment::ProcOpenAction | ( | ) |
Definition at line 657 of file cpdfsdk_formfillenvironment.cpp.
References DoActionDocOpen(), and CPDF_Dictionary::GetArrayFor().
Referenced by FORM_DoDocumentOpenAction().
Definition at line 679 of file cpdfsdk_formfillenvironment.cpp.
References GetFocusAnnot(), CPDFSDK_PageView::IsBeingDestroyed(), CPDFSDK_PageView::IsLocked(), CPDFSDK_PageView::IsValidSDKAnnot(), KillFocusAnnot(), and CPDFSDK_PageView::SetBeingDestroyed().
Referenced by CPDFSDK_PageView::ClearPage(), and FORM_OnBeforeClosePage().
|
inline |
Definition at line 98 of file cpdfsdk_formfillenvironment.h.
Referenced by DoActionHide().
|
overridevirtual |
Implements CFFL_InteractiveFormFiller::CallbackIface.
Definition at line 354 of file cpdfsdk_formfillenvironment.cpp.
|
inline |
Definition at line 232 of file cpdfsdk_formfillenvironment.h.
|
overridevirtual |
Implements CFFL_InteractiveFormFiller::CallbackIface.
Definition at line 733 of file cpdfsdk_formfillenvironment.cpp.
References CPDFSDK_Annot::OnSetFocus().
Referenced by FORM_SetFocusedAnnot(), and CPDFSDK_PageView::OnKeyDown().
|
overridevirtual |
Implements CFX_Timer::HandlerIface.
Definition at line 360 of file cpdfsdk_formfillenvironment.cpp.
References CFX_Timer::HandlerIface::kInvalidTimerID.
void CPDFSDK_FormFillEnvironment::SubmitForm | ( | pdfium::span< const uint8_t > | form_data, |
const WideString & | URL ) |
Definition at line 327 of file cpdfsdk_formfillenvironment.cpp.
References AsFPDFWideString(), _IPDF_JsPlatform::Doc_submitForm, GetJSPlatform(), and fxcrt::WideString::ToUTF16LE().
void CPDFSDK_FormFillEnvironment::UpdateAllViews | ( | CPDFSDK_Annot * | pAnnot | ) |
Definition at line 718 of file cpdfsdk_formfillenvironment.cpp.