Home
last modified time | relevance | path

Searched refs:pFormFillEnv (Results 1 – 25 of 48) sorted by relevance

12

/external/pdfium/fpdfsdk/
Dcpdfsdk_actionhandler.cpp24 CPDFSDK_FormFillEnvironment* pFormFillEnv) { in DoAction_DocOpen() argument
26 return ExecuteDocumentOpenAction(action, pFormFillEnv, &visited); in DoAction_DocOpen()
32 CPDFSDK_FormFillEnvironment* pFormFillEnv) { in DoAction_JavaScript() argument
36 RunDocumentOpenJavaScript(pFormFillEnv, csJSName, swJS); in DoAction_JavaScript()
47 CPDFSDK_FormFillEnvironment* pFormFillEnv, in DoAction_FieldJavaScript() argument
50 ASSERT(pFormFillEnv); in DoAction_FieldJavaScript()
51 if (pFormFillEnv->IsJSPlatformPresent() && in DoAction_FieldJavaScript()
55 RunFieldJavaScript(pFormFillEnv, pFormField, type, data, swJS); in DoAction_FieldJavaScript()
65 CPDFSDK_FormFillEnvironment* pFormFillEnv) { in DoAction_Page() argument
67 return ExecuteDocumentPageAction(action, eType, pFormFillEnv, &visited); in DoAction_Page()
[all …]
Dcpdfsdk_actionhandler.h27 CPDFSDK_FormFillEnvironment* pFormFillEnv);
30 CPDFSDK_FormFillEnvironment* pFormFillEnv);
33 CPDFSDK_FormFillEnvironment* pFormFillEnv);
36 CPDFSDK_FormFillEnvironment* pFormFillEnv);
39 CPDFSDK_FormFillEnvironment* pFormFillEnv,
44 CPDFSDK_FormFillEnvironment* pFormFillEnv,
51 void RunScript(CPDFSDK_FormFillEnvironment* pFormFillEnv,
56 CPDFSDK_FormFillEnvironment* pFormFillEnv,
60 CPDFSDK_FormFillEnvironment* pFormFillEnv,
64 CPDFSDK_FormFillEnvironment* pFormFillEnv,
[all …]
Dfpdf_formfill.cpp169 CPDFSDK_FormFillEnvironment* pFormFillEnv = in FormHandleToPageView() local
171 return pFormFillEnv ? pFormFillEnv->GetPageView(pPage, true) : nullptr; in FormHandleToPageView()
320 auto pFormFillEnv = pdfium::MakeUnique<CPDFSDK_FormFillEnvironment>( in FPDFDOC_InitFormFillEnvironment() local
328 pContext->SetFormFillEnv(pFormFillEnv.get()); in FPDFDOC_InitFormFillEnvironment()
334 pFormFillEnv.release()); // Caller takes ownership. in FPDFDOC_InitFormFillEnvironment()
344 std::unique_ptr<CPDFSDK_FormFillEnvironment> pFormFillEnv( in FPDFDOC_ExitFormFillEnvironment() local
350 pFormFillEnv->ClearAllFocusedAnnots(); in FPDFDOC_ExitFormFillEnvironment()
354 static_cast<CPDFXFA_Context*>(pFormFillEnv->GetDocExtension()); in FPDFDOC_ExitFormFillEnvironment()
558 CPDFSDK_FormFillEnvironment* pFormFillEnv = in FORM_ForceToKillFocus() local
560 if (!pFormFillEnv) in FORM_ForceToKillFocus()
[all …]
Dcpdfsdk_baannothandler_embeddertest.cpp33 CPDFSDK_FormFillEnvironment* pFormFillEnv = in SetUpBAAnnotHandler() local
35 ASSERT_TRUE(pFormFillEnv); in SetUpBAAnnotHandler()
36 m_pPageView = pFormFillEnv->GetPageView(IPDFPageFromFPDFPage(m_page), true); in SetUpBAAnnotHandler()
40 pFormFillEnv->GetAnnotHandlerMgr(); in SetUpBAAnnotHandler()
Dcpdfsdk_annotiterator_embeddertest.cpp42 CPDFSDK_FormFillEnvironment* pFormFillEnv = in TEST_F() local
47 CPDFSDK_AnnotIterator iter(pFormFillEnv->GetPageView(0), in TEST_F()
73 CPDFSDK_AnnotIterator iter(pFormFillEnv->GetPageView(1), in TEST_F()
99 CPDFSDK_AnnotIterator iter(pFormFillEnv->GetPageView(2), in TEST_F()
Dcpdfsdk_annothandlermgr.cpp46 CPDFSDK_FormFillEnvironment* pFormFillEnv) { in SetFormFillEnv() argument
47 m_pBAAnnotHandler->SetFormFillEnvironment(pFormFillEnv); in SetFormFillEnv()
48 m_pWidgetHandler->SetFormFillEnvironment(pFormFillEnv); in SetFormFillEnv()
50 m_pXFAWidgetHandler->SetFormFillEnvironment(pFormFillEnv); in SetFormFillEnv()
Dcpdfsdk_helpers.cpp191 CPDFSDK_FormFillEnvironment* pFormFillEnv = in FormHandleToInteractiveForm() local
193 return pFormFillEnv ? pFormFillEnv->GetInteractiveForm() : nullptr; in FormHandleToInteractiveForm()
/external/pdfium/fxjs/
Dcjs_event_context.cpp72 auto* pFormFillEnv = m_pEventRecorder->GetFormFillEnvironment(); in SourceField() local
73 if (!pFormFillEnv) in SourceField()
74 pFormFillEnv = GetFormFillEnv(); in SourceField()
78 pJSDocument->SetFormFillEnv(pFormFillEnv); in SourceField()
97 auto* pFormFillEnv = m_pEventRecorder->GetFormFillEnvironment(); in TargetField() local
98 if (!pFormFillEnv) in TargetField()
99 pFormFillEnv = GetFormFillEnv(); in TargetField()
103 pJSDocument->SetFormFillEnv(pFormFillEnv); in TargetField()
115 void CJS_EventContext::OnDoc_Open(CPDFSDK_FormFillEnvironment* pFormFillEnv, in OnDoc_Open() argument
117 m_pEventRecorder->OnDoc_Open(pFormFillEnv, strTargetName); in OnDoc_Open()
[all …]
Dcjs_event_context_stub.h21 void OnDoc_Open(CPDFSDK_FormFillEnvironment* pFormFillEnv, in OnDoc_Open() argument
23 void OnDoc_WillPrint(CPDFSDK_FormFillEnvironment* pFormFillEnv) override {} in OnDoc_WillPrint() argument
24 void OnDoc_DidPrint(CPDFSDK_FormFillEnvironment* pFormFillEnv) override {} in OnDoc_DidPrint() argument
25 void OnDoc_WillSave(CPDFSDK_FormFillEnvironment* pFormFillEnv) override {} in OnDoc_WillSave() argument
26 void OnDoc_DidSave(CPDFSDK_FormFillEnvironment* pFormFillEnv) override {} in OnDoc_DidSave() argument
27 void OnDoc_WillClose(CPDFSDK_FormFillEnvironment* pFormFillEnv) override {} in OnDoc_WillClose() argument
28 void OnPage_Open(CPDFSDK_FormFillEnvironment* pFormFillEnv) override {} in OnPage_Open() argument
29 void OnPage_Close(CPDFSDK_FormFillEnvironment* pFormFillEnv) override {} in OnPage_Close() argument
30 void OnPage_InView(CPDFSDK_FormFillEnvironment* pFormFillEnv) override {} in OnPage_InView() argument
31 void OnPage_OutView(CPDFSDK_FormFillEnvironment* pFormFillEnv) override {} in OnPage_OutView() argument
[all …]
Dijs_event_context.h32 virtual void OnDoc_Open(CPDFSDK_FormFillEnvironment* pFormFillEnv,
34 virtual void OnDoc_WillPrint(CPDFSDK_FormFillEnvironment* pFormFillEnv) = 0;
35 virtual void OnDoc_DidPrint(CPDFSDK_FormFillEnvironment* pFormFillEnv) = 0;
36 virtual void OnDoc_WillSave(CPDFSDK_FormFillEnvironment* pFormFillEnv) = 0;
37 virtual void OnDoc_DidSave(CPDFSDK_FormFillEnvironment* pFormFillEnv) = 0;
38 virtual void OnDoc_WillClose(CPDFSDK_FormFillEnvironment* pFormFillEnv) = 0;
40 virtual void OnPage_Open(CPDFSDK_FormFillEnvironment* pFormFillEnv) = 0;
41 virtual void OnPage_Close(CPDFSDK_FormFillEnvironment* pFormFillEnv) = 0;
42 virtual void OnPage_InView(CPDFSDK_FormFillEnvironment* pFormFillEnv) = 0;
43 virtual void OnPage_OutView(CPDFSDK_FormFillEnvironment* pFormFillEnv) = 0;
[all …]
Dcjs_event_context.h30 void OnDoc_Open(CPDFSDK_FormFillEnvironment* pFormFillEnv,
32 void OnDoc_WillPrint(CPDFSDK_FormFillEnvironment* pFormFillEnv) override;
33 void OnDoc_DidPrint(CPDFSDK_FormFillEnvironment* pFormFillEnv) override;
34 void OnDoc_WillSave(CPDFSDK_FormFillEnvironment* pFormFillEnv) override;
35 void OnDoc_DidSave(CPDFSDK_FormFillEnvironment* pFormFillEnv) override;
36 void OnDoc_WillClose(CPDFSDK_FormFillEnvironment* pFormFillEnv) override;
37 void OnPage_Open(CPDFSDK_FormFillEnvironment* pFormFillEnv) override;
38 void OnPage_Close(CPDFSDK_FormFillEnvironment* pFormFillEnv) override;
39 void OnPage_InView(CPDFSDK_FormFillEnvironment* pFormFillEnv) override;
40 void OnPage_OutView(CPDFSDK_FormFillEnvironment* pFormFillEnv) override;
[all …]
Dcjs_eventrecorder.h67 void OnDoc_Open(CPDFSDK_FormFillEnvironment* pFormFillEnv,
69 void OnDoc_WillPrint(CPDFSDK_FormFillEnvironment* pFormFillEnv);
70 void OnDoc_DidPrint(CPDFSDK_FormFillEnvironment* pFormFillEnv);
71 void OnDoc_WillSave(CPDFSDK_FormFillEnvironment* pFormFillEnv);
72 void OnDoc_DidSave(CPDFSDK_FormFillEnvironment* pFormFillEnv);
73 void OnDoc_WillClose(CPDFSDK_FormFillEnvironment* pFormFillEnv);
75 void OnPage_Open(CPDFSDK_FormFillEnvironment* pFormFillEnv);
76 void OnPage_Close(CPDFSDK_FormFillEnvironment* pFormFillEnv);
77 void OnPage_InView(CPDFSDK_FormFillEnvironment* pFormFillEnv);
78 void OnPage_OutView(CPDFSDK_FormFillEnvironment* pFormFillEnv);
[all …]
Dcjs_eventrecorder.cpp20 void CJS_EventRecorder::OnDoc_Open(CPDFSDK_FormFillEnvironment* pFormFillEnv, in OnDoc_Open() argument
23 m_pTargetFormFillEnv.Reset(pFormFillEnv); in OnDoc_Open()
28 CPDFSDK_FormFillEnvironment* pFormFillEnv) { in OnDoc_WillPrint() argument
30 m_pTargetFormFillEnv.Reset(pFormFillEnv); in OnDoc_WillPrint()
34 CPDFSDK_FormFillEnvironment* pFormFillEnv) { in OnDoc_DidPrint() argument
36 m_pTargetFormFillEnv.Reset(pFormFillEnv); in OnDoc_DidPrint()
40 CPDFSDK_FormFillEnvironment* pFormFillEnv) { in OnDoc_WillSave() argument
42 m_pTargetFormFillEnv.Reset(pFormFillEnv); in OnDoc_WillSave()
46 CPDFSDK_FormFillEnvironment* pFormFillEnv) { in OnDoc_DidSave() argument
48 m_pTargetFormFillEnv.Reset(pFormFillEnv); in OnDoc_DidSave()
[all …]
Dijs_runtime.cpp38 CPDFSDK_FormFillEnvironment* pFormFillEnv) { in Create() argument
40 if (pFormFillEnv->IsJSPlatformPresent()) in Create()
41 return pdfium::MakeUnique<CJS_Runtime>(pFormFillEnv); in Create()
43 return pdfium::MakeUnique<CJS_RuntimeStub>(pFormFillEnv); in Create()
Dcjs_field.cpp46 void UpdateFormField(CPDFSDK_FormFillEnvironment* pFormFillEnv, in UpdateFormField() argument
51 CPDFSDK_InteractiveForm* pForm = pFormFillEnv->GetInteractiveForm(); in UpdateFormField()
95 pFormFillEnv->SetChangeMark(); in UpdateFormField()
98 void UpdateFormControl(CPDFSDK_FormFillEnvironment* pFormFillEnv, in UpdateFormControl() argument
105 CPDFSDK_InteractiveForm* pForm = pFormFillEnv->GetInteractiveForm(); in UpdateFormControl()
132 pFormFillEnv->SetChangeMark(); in UpdateFormControl()
166 CPDFSDK_FormFillEnvironment* pFormFillEnv, in GetFormFieldsForName() argument
169 CPDFSDK_InteractiveForm* pReaderForm = pFormFillEnv->GetInteractiveForm(); in GetFormFieldsForName()
217 void SetBorderStyle(CPDFSDK_FormFillEnvironment* pFormFillEnv, in SetBorderStyle() argument
221 ASSERT(pFormFillEnv); in SetBorderStyle()
[all …]
Dcjs_runtimestub.cpp12 CJS_RuntimeStub::CJS_RuntimeStub(CPDFSDK_FormFillEnvironment* pFormFillEnv) in CJS_RuntimeStub() argument
13 : m_pFormFillEnv(pFormFillEnv) {} in CJS_RuntimeStub()
Dcjs_app.cpp161 CPDFSDK_FormFillEnvironment* pFormFillEnv = pRuntime->GetFormFillEnv(); in get_platform() local
162 if (pFormFillEnv) { in get_platform()
163 WideString platform = pFormFillEnv->GetPlatform(); in get_platform()
176 CPDFSDK_FormFillEnvironment* pFormFillEnv = pRuntime->GetFormFillEnv(); in get_language() local
177 if (pFormFillEnv) { in get_language()
178 WideString language = pFormFillEnv->GetLanguage(); in get_language()
219 CPDFSDK_FormFillEnvironment* pFormFillEnv = pRuntime->GetFormFillEnv(); in alert() local
220 if (!pFormFillEnv) in alert()
253 pFormFillEnv->KillFocusAnnot(0); in alert()
255 pFormFillEnv->JS_appAlert(swMsg, swTitle, iType, iIcon)); in alert()
Dcjs_runtimestub.h21 explicit CJS_RuntimeStub(CPDFSDK_FormFillEnvironment* pFormFillEnv);
Dijs_runtime.h51 CPDFSDK_FormFillEnvironment* pFormFillEnv);
Dcjs_runtime.cpp42 CJS_Runtime::CJS_Runtime(CPDFSDK_FormFillEnvironment* pFormFillEnv) in CJS_Runtime() argument
43 : m_pFormFillEnv(pFormFillEnv) { in CJS_Runtime()
Dcjs_runtime.h30 explicit CJS_Runtime(CPDFSDK_FormFillEnvironment* pFormFillEnv);
/external/pdfium/fpdfsdk/fpdfxfa/
Dcpdfxfa_docenvironment.cpp70 CPDFSDK_FormFillEnvironment* pFormFillEnv = m_pContext->GetFormFillEnv(); in InvalidateRect() local
71 if (!pFormFillEnv) in InvalidateRect()
74 pFormFillEnv->Invalidate(pPage.Get(), rt.ToFloatRect().ToFxRect()); in InvalidateRect()
100 CPDFSDK_FormFillEnvironment* pFormFillEnv = m_pContext->GetFormFillEnv(); in DisplayCaret() local
101 if (!pFormFillEnv) in DisplayCaret()
105 pFormFillEnv->DisplayCaret(pPage.Get(), bVisible, rcCaret.left, rcCaret.top, in DisplayCaret()
125 CPDFSDK_FormFillEnvironment* pFormFillEnv = m_pContext->GetFormFillEnv(); in GetPopupPos() local
126 if (!pFormFillEnv) in GetPopupPos()
129 FS_RECTF page_view_rect = pFormFillEnv->GetPageViewRect(pPage.Get()); in GetPopupPos()
251 CPDFSDK_FormFillEnvironment* pFormFillEnv = m_pContext->GetFormFillEnv(); in PopupMenu() local
[all …]
Dcpdfxfa_widgethandler.cpp208 CPDFSDK_FormFillEnvironment* pFormFillEnv) { in SetFormFillEnvironment() argument
209 m_pFormFillEnv = pFormFillEnv; in SetFormFillEnvironment()
344 CPDFSDK_FormFillEnvironment* pFormFillEnv = pPageView->GetFormFillEnv(); in HitTest() local
345 if (!pFormFillEnv) in HitTest()
349 static_cast<CPDFXFA_Context*>(pFormFillEnv->GetDocExtension()); in HitTest()
635 CPDFSDK_FormFillEnvironment* pFormFillEnv = pPageView->GetFormFillEnv(); in GetXFAFFWidgetHandler() local
636 if (!pFormFillEnv) in GetXFAFFWidgetHandler()
639 auto* pDoc = static_cast<CPDFXFA_Context*>(pFormFillEnv->GetDocExtension()); in GetXFAFFWidgetHandler()
/external/pdfium/fpdfsdk/formfiller/
Dcffl_button.cpp11 CFFL_Button::CFFL_Button(CPDFSDK_FormFillEnvironment* pFormFillEnv, in CFFL_Button() argument
13 : CFFL_FormFiller(pFormFillEnv, pWidget), in CFFL_Button()
Dcffl_button.h22 CFFL_Button(CPDFSDK_FormFillEnvironment* pFormFillEnv,

12