Home
last modified time | relevance | path

Searched refs:pPageView (Results 1 – 25 of 58) sorted by relevance

123

/external/pdfium/fpdfsdk/formfiller/
Dcffl_formfiller.cpp49 FX_RECT CFFL_FormFiller::GetViewBBox(CPDFSDK_PageView* pPageView, in GetViewBBox() argument
51 ASSERT(pPageView); in GetViewBBox()
55 if (CPWL_Wnd* pWnd = GetPDFWindow(pPageView, false)) in GetViewBBox()
59 CFX_FloatRect rcFocus = GetFocusBox(pPageView); in GetViewBBox()
70 void CFFL_FormFiller::OnDraw(CPDFSDK_PageView* pPageView, in OnDraw() argument
76 if (CPWL_Wnd* pWnd = GetPDFWindow(pPageView, false)) { in OnDraw()
90 void CFFL_FormFiller::OnDrawDeactive(CPDFSDK_PageView* pPageView, in OnDrawDeactive() argument
98 void CFFL_FormFiller::OnMouseEnter(CPDFSDK_PageView* pPageView, in OnMouseEnter() argument
101 void CFFL_FormFiller::OnMouseExit(CPDFSDK_PageView* pPageView, in OnMouseExit() argument
107 bool CFFL_FormFiller::OnLButtonDown(CPDFSDK_PageView* pPageView, in OnLButtonDown() argument
[all …]
Dcffl_interactiveformfiller.cpp34 bool CFFL_InteractiveFormFiller::Annot_HitTest(CPDFSDK_PageView* pPageView, in Annot_HitTest() argument
40 FX_RECT CFFL_InteractiveFormFiller::GetViewBBox(CPDFSDK_PageView* pPageView, in GetViewBBox() argument
43 return pFormFiller->GetViewBBox(pPageView, pAnnot); in GetViewBBox()
45 ASSERT(pPageView); in GetViewBBox()
56 void CFFL_InteractiveFormFiller::OnDraw(CPDFSDK_PageView* pPageView, in OnDraw() argument
60 ASSERT(pPageView); in OnDraw()
67 pFormFiller->OnDraw(pPageView, pAnnot, pDevice, *pUser2Device); in OnDraw()
73 CFX_FloatRect rcFocus = pFormFiller->GetFocusBox(pPageView); in OnDraw()
101 pFormFiller->OnDrawDeactive(pPageView, pAnnot, pDevice, *pUser2Device); in OnDraw()
108 pWidget->DrawShadow(pDevice, pPageView); in OnDraw()
[all …]
Dcffl_formfiller.h29 virtual FX_RECT GetViewBBox(CPDFSDK_PageView* pPageView,
31 virtual void OnDraw(CPDFSDK_PageView* pPageView,
35 virtual void OnDrawDeactive(CPDFSDK_PageView* pPageView,
40 virtual void OnMouseEnter(CPDFSDK_PageView* pPageView, CPDFSDK_Annot* pAnnot);
41 virtual void OnMouseExit(CPDFSDK_PageView* pPageView, CPDFSDK_Annot* pAnnot);
43 virtual bool OnLButtonDown(CPDFSDK_PageView* pPageView,
47 virtual bool OnLButtonUp(CPDFSDK_PageView* pPageView,
51 virtual bool OnLButtonDblClk(CPDFSDK_PageView* pPageView,
55 virtual bool OnMouseMove(CPDFSDK_PageView* pPageView,
59 virtual bool OnMouseWheel(CPDFSDK_PageView* pPageView,
[all …]
Dcffl_textfield.cpp100 CPDFSDK_PageView* pPageView = GetCurPageView(true); in OnChar() local
101 ASSERT(pPageView); in OnChar()
107 if (CPWL_Wnd* pWnd = GetPDFWindow(pPageView, true)) in OnChar()
112 if (!CommitData(pPageView, nFlags)) in OnChar()
115 DestroyPDFWindow(pPageView); in OnChar()
119 CPDFSDK_PageView* pPageView = GetCurPageView(true); in OnChar() local
120 ASSERT(pPageView); in OnChar()
121 EscapeFiller(pPageView, true); in OnChar()
129 bool CFFL_TextField::IsDataChanged(CPDFSDK_PageView* pPageView) { in IsDataChanged() argument
130 CPWL_Edit* pEdit = GetEdit(pPageView, false); in IsDataChanged()
[all …]
Dcffl_interactiveformfiller.h30 bool Annot_HitTest(CPDFSDK_PageView* pPageView,
33 FX_RECT GetViewBBox(CPDFSDK_PageView* pPageView, CPDFSDK_Annot* pAnnot);
34 void OnDraw(CPDFSDK_PageView* pPageView,
41 void OnMouseEnter(CPDFSDK_PageView* pPageView,
44 void OnMouseExit(CPDFSDK_PageView* pPageView,
47 bool OnLButtonDown(CPDFSDK_PageView* pPageView,
51 bool OnLButtonUp(CPDFSDK_PageView* pPageView,
55 bool OnLButtonDblClk(CPDFSDK_PageView* pPageView,
59 bool OnMouseMove(CPDFSDK_PageView* pPageView,
63 bool OnMouseWheel(CPDFSDK_PageView* pPageView,
[all …]
Dcffl_radiobutton.cpp46 CPDFSDK_PageView* pPageView = pAnnot->GetPageView(); in OnChar() local
47 ASSERT(pPageView); in OnChar()
51 &pObserved, pPageView, nFlags) || in OnChar()
57 CPWL_RadioButton* pWnd = GetRadioButton(pPageView, true); in OnChar()
60 return CommitData(pPageView, nFlags); in OnChar()
67 bool CFFL_RadioButton::OnLButtonUp(CPDFSDK_PageView* pPageView, in OnLButtonUp() argument
71 CFFL_Button::OnLButtonUp(pPageView, pAnnot, nFlags, point); in OnLButtonUp()
76 CPWL_RadioButton* pWnd = GetRadioButton(pPageView, true); in OnLButtonUp()
80 return CommitData(pPageView, nFlags); in OnLButtonUp()
83 bool CFFL_RadioButton::IsDataChanged(CPDFSDK_PageView* pPageView) { in IsDataChanged() argument
[all …]
Dcffl_checkbox.cpp45 CPDFSDK_PageView* pPageView = pAnnot->GetPageView(); in OnChar() local
46 ASSERT(pPageView); in OnChar()
50 &pObserved, pPageView, nFlags)) { in OnChar()
62 CPWL_CheckBox* pWnd = GetCheckBox(pPageView, true); in OnChar()
68 return CommitData(pPageView, nFlags); in OnChar()
75 bool CFFL_CheckBox::OnLButtonUp(CPDFSDK_PageView* pPageView, in OnLButtonUp() argument
79 CFFL_Button::OnLButtonUp(pPageView, pAnnot, nFlags, point); in OnLButtonUp()
84 CPWL_CheckBox* pWnd = GetCheckBox(pPageView, true); in OnLButtonUp()
90 return CommitData(pPageView, nFlags); in OnLButtonUp()
93 bool CFFL_CheckBox::IsDataChanged(CPDFSDK_PageView* pPageView) { in IsDataChanged() argument
[all …]
Dcffl_button.cpp15 void CFFL_Button::OnMouseEnter(CPDFSDK_PageView* pPageView, in OnMouseEnter() argument
18 InvalidateRect(GetViewBBox(pPageView, pAnnot)); in OnMouseEnter()
21 void CFFL_Button::OnMouseExit(CPDFSDK_PageView* pPageView, in OnMouseExit() argument
24 InvalidateRect(GetViewBBox(pPageView, pAnnot)); in OnMouseExit()
29 bool CFFL_Button::OnLButtonDown(CPDFSDK_PageView* pPageView, in OnLButtonDown() argument
38 InvalidateRect(GetViewBBox(pPageView, pAnnot)); in OnLButtonDown()
42 bool CFFL_Button::OnLButtonUp(CPDFSDK_PageView* pPageView, in OnLButtonUp() argument
51 InvalidateRect(GetViewBBox(pPageView, pAnnot)); in OnLButtonUp()
55 bool CFFL_Button::OnMouseMove(CPDFSDK_PageView* pPageView, in OnMouseMove() argument
62 void CFFL_Button::OnDraw(CPDFSDK_PageView* pPageView, in OnDraw() argument
[all …]
Dcffl_combobox.cpp76 bool CFFL_ComboBox::IsDataChanged(CPDFSDK_PageView* pPageView) { in IsDataChanged() argument
77 CPWL_ComboBox* pWnd = (CPWL_ComboBox*)GetPDFWindow(pPageView, false); in IsDataChanged()
91 void CFFL_ComboBox::SaveData(CPDFSDK_PageView* pPageView) { in SaveData() argument
93 static_cast<CPWL_ComboBox*>(GetPDFWindow(pPageView, false)); in SaveData()
124 void CFFL_ComboBox::GetActionData(CPDFSDK_PageView* pPageView, in GetActionData() argument
130 static_cast<CPWL_ComboBox*>(GetPDFWindow(pPageView, false))) { in GetActionData()
150 static_cast<CPWL_ComboBox*>(GetPDFWindow(pPageView, false))) { in GetActionData()
165 void CFFL_ComboBox::SetActionData(CPDFSDK_PageView* pPageView, in SetActionData() argument
171 static_cast<CPWL_ComboBox*>(GetPDFWindow(pPageView, false))) { in SetActionData()
198 void CFFL_ComboBox::SaveState(CPDFSDK_PageView* pPageView) { in SaveState() argument
[all …]
Dcffl_textfield.h37 bool IsDataChanged(CPDFSDK_PageView* pPageView) override;
38 void SaveData(CPDFSDK_PageView* pPageView) override;
39 void GetActionData(CPDFSDK_PageView* pPageView,
42 void SetActionData(CPDFSDK_PageView* pPageView,
48 void SaveState(CPDFSDK_PageView* pPageView) override;
49 void RestoreState(CPDFSDK_PageView* pPageView) override;
51 bool IsFieldFull(CPDFSDK_PageView* pPageView) override;
58 CPWL_Edit* GetEdit(CPDFSDK_PageView* pPageView, bool bNew);
Dcffl_listbox.cpp83 bool CFFL_ListBox::IsDataChanged(CPDFSDK_PageView* pPageView) { in IsDataChanged() argument
84 CPWL_ListBox* pListBox = (CPWL_ListBox*)GetPDFWindow(pPageView, false); in IsDataChanged()
104 void CFFL_ListBox::SaveData(CPDFSDK_PageView* pPageView) { in SaveData() argument
106 static_cast<CPWL_ListBox*>(GetPDFWindow(pPageView, false)); in SaveData()
135 void CFFL_ListBox::GetActionData(CPDFSDK_PageView* pPageView, in GetActionData() argument
144 (CPWL_ListBox*)GetPDFWindow(pPageView, false)) { in GetActionData()
166 void CFFL_ListBox::SaveState(CPDFSDK_PageView* pPageView) { in SaveState() argument
167 ASSERT(pPageView); in SaveState()
170 static_cast<CPWL_ListBox*>(GetPDFWindow(pPageView, false)); in SaveState()
180 void CFFL_ListBox::RestoreState(CPDFSDK_PageView* pPageView) { in RestoreState() argument
[all …]
Dcffl_button.h27 void OnMouseEnter(CPDFSDK_PageView* pPageView,
29 void OnMouseExit(CPDFSDK_PageView* pPageView, CPDFSDK_Annot* pAnnot) override;
30 bool OnLButtonDown(CPDFSDK_PageView* pPageView,
34 bool OnLButtonUp(CPDFSDK_PageView* pPageView,
38 bool OnMouseMove(CPDFSDK_PageView* pPageView,
42 void OnDraw(CPDFSDK_PageView* pPageView,
46 void OnDrawDeactive(CPDFSDK_PageView* pPageView,
Dcffl_combobox.h32 bool IsDataChanged(CPDFSDK_PageView* pPageView) override;
33 void SaveData(CPDFSDK_PageView* pPageView) override;
34 void GetActionData(CPDFSDK_PageView* pPageView,
37 void SetActionData(CPDFSDK_PageView* pPageView,
43 void SaveState(CPDFSDK_PageView* pPageView) override;
44 void RestoreState(CPDFSDK_PageView* pPageView) override;
46 bool IsFieldFull(CPDFSDK_PageView* pPageView) override;
Dcffl_textobject.cpp9 CPWL_Wnd* CFFL_TextObject::ResetPDFWindow(CPDFSDK_PageView* pPageView, in ResetPDFWindow() argument
12 SaveState(pPageView); in ResetPDFWindow()
14 DestroyPDFWindow(pPageView); in ResetPDFWindow()
16 RestoreState(pPageView); in ResetPDFWindow()
18 CPWL_Wnd::ObservedPtr pRet(GetPDFWindow(pPageView, !bRestoreValue)); in ResetPDFWindow()
Dcffl_listbox.h26 bool IsDataChanged(CPDFSDK_PageView* pPageView) override;
27 void SaveData(CPDFSDK_PageView* pPageView) override;
28 void GetActionData(CPDFSDK_PageView* pPageView,
31 void SaveState(CPDFSDK_PageView* pPageView) override;
32 void RestoreState(CPDFSDK_PageView* pPageView) override;
/external/pdfium/fpdfsdk/
Dcpdfsdk_annothandlermgr.cpp44 CPDFSDK_PageView* pPageView) { in NewAnnot() argument
45 ASSERT(pPageView); in NewAnnot()
46 return GetAnnotHandler(pAnnot->GetSubtype())->NewAnnot(pAnnot, pPageView); in NewAnnot()
51 CPDFSDK_PageView* pPageView) { in NewAnnot() argument
53 ASSERT(pPageView); in NewAnnot()
56 ->NewAnnot(pAnnot, pPageView); in NewAnnot()
107 void CPDFSDK_AnnotHandlerMgr::Annot_OnDraw(CPDFSDK_PageView* pPageView, in Annot_OnDraw() argument
113 GetAnnotHandler(pAnnot)->OnDraw(pPageView, pAnnot, pDevice, pUser2Device, in Annot_OnDraw()
118 CPDFSDK_PageView* pPageView, in Annot_OnLButtonDown() argument
124 ->OnLButtonDown(pPageView, pAnnot, nFlags, point); in Annot_OnLButtonDown()
[all …]
Dcpdfsdk_xfawidgethandler.cpp49 void CPDFSDK_XFAWidgetHandler::OnDraw(CPDFSDK_PageView* pPageView, in OnDraw() argument
54 ASSERT(pPageView); in OnDraw()
61 if (pPageView->GetFormFillEnv()->GetFocusAnnot() != pAnnot) in OnDraw()
80 CFX_FloatRect CPDFSDK_XFAWidgetHandler::GetViewBBox(CPDFSDK_PageView* pPageView, in GetViewBBox() argument
119 bool CPDFSDK_XFAWidgetHandler::HitTest(CPDFSDK_PageView* pPageView, in HitTest() argument
122 if (!pPageView || !pAnnot) in HitTest()
125 CPDFSDK_FormFillEnvironment* pFormFillEnv = pPageView->GetFormFillEnv(); in HitTest()
146 void CPDFSDK_XFAWidgetHandler::OnMouseEnter(CPDFSDK_PageView* pPageView, in OnMouseEnter() argument
149 if (!pPageView || !(*pAnnot)) in OnMouseEnter()
155 void CPDFSDK_XFAWidgetHandler::OnMouseExit(CPDFSDK_PageView* pPageView, in OnMouseExit() argument
[all …]
Dcpdfsdk_widgethandler.cpp91 void CPDFSDK_WidgetHandler::OnDraw(CPDFSDK_PageView* pPageView, in OnDraw() argument
101 m_pFormFiller->OnDraw(pPageView, pAnnot, pDevice, pUser2Device); in OnDraw()
105 void CPDFSDK_WidgetHandler::OnMouseEnter(CPDFSDK_PageView* pPageView, in OnMouseEnter() argument
109 m_pFormFiller->OnMouseEnter(pPageView, pAnnot, nFlag); in OnMouseEnter()
112 void CPDFSDK_WidgetHandler::OnMouseExit(CPDFSDK_PageView* pPageView, in OnMouseExit() argument
116 m_pFormFiller->OnMouseExit(pPageView, pAnnot, nFlag); in OnMouseExit()
119 bool CPDFSDK_WidgetHandler::OnLButtonDown(CPDFSDK_PageView* pPageView, in OnLButtonDown() argument
124 return m_pFormFiller->OnLButtonDown(pPageView, pAnnot, nFlags, point); in OnLButtonDown()
129 bool CPDFSDK_WidgetHandler::OnLButtonUp(CPDFSDK_PageView* pPageView, in OnLButtonUp() argument
134 return m_pFormFiller->OnLButtonUp(pPageView, pAnnot, nFlags, point); in OnLButtonUp()
[all …]
Dcpdfsdk_baannothandler.cpp26 void UpdateAnnotRects(CPDFSDK_PageView* pPageView, CPDFSDK_BAAnnot* pBAAnnot) { in UpdateAnnotRects() argument
36 pPageView->UpdateRects(rects); in UpdateAnnotRects()
65 void CPDFSDK_BAAnnotHandler::OnDraw(CPDFSDK_PageView* pPageView, in OnDraw() argument
80 void CPDFSDK_BAAnnotHandler::OnMouseEnter(CPDFSDK_PageView* pPageView, in OnMouseEnter() argument
85 UpdateAnnotRects(pPageView, pBAAnnot); in OnMouseEnter()
88 void CPDFSDK_BAAnnotHandler::OnMouseExit(CPDFSDK_PageView* pPageView, in OnMouseExit() argument
93 UpdateAnnotRects(pPageView, pBAAnnot); in OnMouseExit()
96 bool CPDFSDK_BAAnnotHandler::OnLButtonDown(CPDFSDK_PageView* pPageView, in OnLButtonDown() argument
103 bool CPDFSDK_BAAnnotHandler::OnLButtonUp(CPDFSDK_PageView* pPageView, in OnLButtonUp() argument
110 bool CPDFSDK_BAAnnotHandler::OnLButtonDblClk(CPDFSDK_PageView* pPageView, in OnLButtonDblClk() argument
[all …]
Dfpdfformfill.cpp194 if (CPDFSDK_PageView* pPageView = pFormFillEnv->GetPageView(pPage, true)) in FFLCommon() local
195 pPageView->PageView_OnDraw(pDevice.get(), &matrix, &options, clip); in FFLCommon()
199 if (CPDFSDK_PageView* pPageView = FormHandleToPageView(hHandle, pPage)) in FFLCommon() local
200 pPageView->PageView_OnDraw(pDevice.get(), &matrix, &options); in FFLCommon()
236 CXFA_FFPageView* pPageView = pXFAPage->GetXFAPageView(); in FPDFPage_HasFormFieldAtPoint() local
237 if (!pPageView) in FPDFPage_HasFormFieldAtPoint()
240 CXFA_FFDocView* pDocView = pPageView->GetDocView(); in FPDFPage_HasFormFieldAtPoint()
249 pPageView->CreateWidgetIterator(XFA_TRAVERSEWAY_Form, in FPDFPage_HasFormFieldAtPoint()
344 CPDFSDK_PageView* pPageView = FormHandleToPageView(hHandle, page); in FORM_OnMouseMove() local
345 if (!pPageView) in FORM_OnMouseMove()
[all …]
Dcpdfsdk_annothandlermgr.h36 CPDFSDK_Annot* NewAnnot(CPDF_Annot* pAnnot, CPDFSDK_PageView* pPageView);
38 CPDFSDK_Annot* NewAnnot(CXFA_FFWidget* pAnnot, CPDFSDK_PageView* pPageView);
49 void Annot_OnDraw(CPDFSDK_PageView* pPageView,
55 void Annot_OnMouseEnter(CPDFSDK_PageView* pPageView,
58 void Annot_OnMouseExit(CPDFSDK_PageView* pPageView,
61 bool Annot_OnLButtonDown(CPDFSDK_PageView* pPageView,
65 bool Annot_OnLButtonUp(CPDFSDK_PageView* pPageView,
69 bool Annot_OnLButtonDblClk(CPDFSDK_PageView* pPageView,
73 bool Annot_OnMouseMove(CPDFSDK_PageView* pPageView,
77 bool Annot_OnMouseWheel(CPDFSDK_PageView* pPageView,
[all …]
Dipdfsdk_annothandler.h36 virtual CFX_FloatRect GetViewBBox(CPDFSDK_PageView* pPageView,
41 virtual bool HitTest(CPDFSDK_PageView* pPageView,
44 virtual void OnDraw(CPDFSDK_PageView* pPageView,
51 virtual void OnMouseEnter(CPDFSDK_PageView* pPageView,
54 virtual void OnMouseExit(CPDFSDK_PageView* pPageView,
57 virtual bool OnLButtonDown(CPDFSDK_PageView* pPageView,
61 virtual bool OnLButtonUp(CPDFSDK_PageView* pPageView,
65 virtual bool OnLButtonDblClk(CPDFSDK_PageView* pPageView,
69 virtual bool OnMouseMove(CPDFSDK_PageView* pPageView,
73 virtual bool OnMouseWheel(CPDFSDK_PageView* pPageView,
[all …]
Dcpdfsdk_baannothandler.h37 CFX_FloatRect GetViewBBox(CPDFSDK_PageView* pPageView,
41 bool HitTest(CPDFSDK_PageView* pPageView,
44 void OnDraw(CPDFSDK_PageView* pPageView,
51 void OnMouseEnter(CPDFSDK_PageView* pPageView,
54 void OnMouseExit(CPDFSDK_PageView* pPageView,
57 bool OnLButtonDown(CPDFSDK_PageView* pPageView,
61 bool OnLButtonUp(CPDFSDK_PageView* pPageView,
65 bool OnLButtonDblClk(CPDFSDK_PageView* pPageView,
69 bool OnMouseMove(CPDFSDK_PageView* pPageView,
73 bool OnMouseWheel(CPDFSDK_PageView* pPageView,
[all …]
Dcpdfsdk_xfawidgethandler.h33 CFX_FloatRect GetViewBBox(CPDFSDK_PageView* pPageView,
37 bool HitTest(CPDFSDK_PageView* pPageView,
40 void OnDraw(CPDFSDK_PageView* pPageView,
46 void OnMouseEnter(CPDFSDK_PageView* pPageView,
49 void OnMouseExit(CPDFSDK_PageView* pPageView,
52 bool OnLButtonDown(CPDFSDK_PageView* pPageView,
56 bool OnLButtonUp(CPDFSDK_PageView* pPageView,
60 bool OnLButtonDblClk(CPDFSDK_PageView* pPageView,
64 bool OnMouseMove(CPDFSDK_PageView* pPageView,
68 bool OnMouseWheel(CPDFSDK_PageView* pPageView,
[all …]
Dcpdfsdk_widgethandler.h38 CFX_FloatRect GetViewBBox(CPDFSDK_PageView* pPageView,
42 bool HitTest(CPDFSDK_PageView* pPageView,
45 void OnDraw(CPDFSDK_PageView* pPageView,
52 void OnMouseEnter(CPDFSDK_PageView* pPageView,
55 void OnMouseExit(CPDFSDK_PageView* pPageView,
58 bool OnLButtonDown(CPDFSDK_PageView* pPageView,
62 bool OnLButtonUp(CPDFSDK_PageView* pPageView,
66 bool OnLButtonDblClk(CPDFSDK_PageView* pPageView,
70 bool OnMouseMove(CPDFSDK_PageView* pPageView,
74 bool OnMouseWheel(CPDFSDK_PageView* pPageView,
[all …]

123