Home
last modified time | relevance | path

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

123

/external/pdfium/fpdfsdk/formfiller/
Dcffl_formfiller.cpp38 FX_RECT CFFL_FormFiller::GetViewBBox(CPDFSDK_PageView* pPageView) { in GetViewBBox() argument
39 CPWL_Wnd* pWnd = GetPWLWindow(pPageView, false); in GetViewBBox()
42 CFX_FloatRect rcFocus = GetFocusBox(pPageView); in GetViewBBox()
55 void CFFL_FormFiller::OnDraw(CPDFSDK_PageView* pPageView, in OnDraw() argument
59 CPWL_Wnd* pWnd = GetPWLWindow(pPageView, false); in OnDraw()
72 void CFFL_FormFiller::OnDrawDeactive(CPDFSDK_PageView* pPageView, in OnDrawDeactive() argument
80 void CFFL_FormFiller::OnMouseEnter(CPDFSDK_PageView* pPageView) {} in OnMouseEnter() argument
82 void CFFL_FormFiller::OnMouseExit(CPDFSDK_PageView* pPageView) { in OnMouseExit() argument
87 bool CFFL_FormFiller::OnLButtonDown(CPDFSDK_PageView* pPageView, in OnLButtonDown() argument
91 CPWL_Wnd* pWnd = GetPWLWindow(pPageView, true); in OnLButtonDown()
[all …]
Dcffl_formfiller.h32 virtual void OnDraw(CPDFSDK_PageView* pPageView,
36 virtual void OnDrawDeactive(CPDFSDK_PageView* pPageView,
41 virtual void OnMouseEnter(CPDFSDK_PageView* pPageView);
42 virtual void OnMouseExit(CPDFSDK_PageView* pPageView);
44 virtual bool OnLButtonDown(CPDFSDK_PageView* pPageView,
48 virtual bool OnLButtonUp(CPDFSDK_PageView* pPageView,
52 virtual bool OnLButtonDblClk(CPDFSDK_PageView* pPageView,
55 virtual bool OnMouseMove(CPDFSDK_PageView* pPageView,
58 virtual bool OnMouseWheel(CPDFSDK_PageView* pPageView,
62 virtual bool OnRButtonDown(CPDFSDK_PageView* pPageView,
[all …]
Dcffl_interactiveformfiller.cpp36 bool CFFL_InteractiveFormFiller::Annot_HitTest(CPDFSDK_PageView* pPageView, in Annot_HitTest() argument
42 FX_RECT CFFL_InteractiveFormFiller::GetViewBBox(CPDFSDK_PageView* pPageView, in GetViewBBox() argument
45 return pFormFiller->GetViewBBox(pPageView); in GetViewBBox()
47 ASSERT(pPageView); in GetViewBBox()
58 void CFFL_InteractiveFormFiller::OnDraw(CPDFSDK_PageView* pPageView, in OnDraw() argument
62 ASSERT(pPageView); in OnDraw()
69 pFormFiller->OnDraw(pPageView, pAnnot, pDevice, mtUser2Device); in OnDraw()
74 CFX_FloatRect rcFocus = pFormFiller->GetFocusBox(pPageView); in OnDraw()
100 pFormFiller->OnDrawDeactive(pPageView, pAnnot, pDevice, mtUser2Device); in OnDraw()
107 pWidget->DrawShadow(pDevice, pPageView); in OnDraw()
[all …]
Dcffl_textfield.cpp114 CPDFSDK_PageView* pPageView = GetCurPageView(true); in OnChar() local
115 ASSERT(pPageView); in OnChar()
121 if (CPWL_Wnd* pWnd = GetPWLWindow(pPageView, true)) in OnChar()
126 if (!CommitData(pPageView, nFlags)) in OnChar()
129 DestroyPWLWindow(pPageView); in OnChar()
133 CPDFSDK_PageView* pPageView = GetCurPageView(true); in OnChar() local
134 ASSERT(pPageView); in OnChar()
135 EscapeFiller(pPageView, true); in OnChar()
143 bool CFFL_TextField::IsDataChanged(CPDFSDK_PageView* pPageView) { in IsDataChanged() argument
144 CPWL_Edit* pEdit = GetEdit(pPageView, false); in IsDataChanged()
[all …]
Dcffl_interactiveformfiller.h32 bool Annot_HitTest(CPDFSDK_PageView* pPageView,
35 FX_RECT GetViewBBox(CPDFSDK_PageView* pPageView, CPDFSDK_Annot* pAnnot);
36 void OnDraw(CPDFSDK_PageView* pPageView,
43 void OnMouseEnter(CPDFSDK_PageView* pPageView,
46 void OnMouseExit(CPDFSDK_PageView* pPageView,
49 bool OnLButtonDown(CPDFSDK_PageView* pPageView,
53 bool OnLButtonUp(CPDFSDK_PageView* pPageView,
57 bool OnLButtonDblClk(CPDFSDK_PageView* pPageView,
61 bool OnMouseMove(CPDFSDK_PageView* pPageView,
65 bool OnMouseWheel(CPDFSDK_PageView* pPageView,
[all …]
Dcffl_radiobutton.cpp50 CPDFSDK_PageView* pPageView = pAnnot->GetPageView(); in OnChar() local
51 ASSERT(pPageView); in OnChar()
55 &pObserved, pPageView, nFlags) || in OnChar()
61 CPWL_RadioButton* pWnd = GetRadioButton(pPageView, true); in OnChar()
64 return CommitData(pPageView, nFlags); in OnChar()
71 bool CFFL_RadioButton::OnLButtonUp(CPDFSDK_PageView* pPageView, in OnLButtonUp() argument
75 CFFL_Button::OnLButtonUp(pPageView, pAnnot, nFlags, point); in OnLButtonUp()
80 CPWL_RadioButton* pWnd = GetRadioButton(pPageView, true); in OnLButtonUp()
84 return CommitData(pPageView, nFlags); in OnLButtonUp()
87 bool CFFL_RadioButton::IsDataChanged(CPDFSDK_PageView* pPageView) { in IsDataChanged() argument
[all …]
Dcffl_checkbox.cpp49 CPDFSDK_PageView* pPageView = pAnnot->GetPageView(); in OnChar() local
50 ASSERT(pPageView); in OnChar()
54 &pObserved, pPageView, nFlags)) { in OnChar()
66 CPWL_CheckBox* pWnd = GetCheckBox(pPageView, true); in OnChar()
72 return CommitData(pPageView, nFlags); in OnChar()
79 bool CFFL_CheckBox::OnLButtonUp(CPDFSDK_PageView* pPageView, in OnLButtonUp() argument
83 CFFL_Button::OnLButtonUp(pPageView, pAnnot, nFlags, point); in OnLButtonUp()
88 CPWL_CheckBox* pWnd = GetCheckBox(pPageView, true); in OnLButtonUp()
94 return CommitData(pPageView, nFlags); in OnLButtonUp()
97 bool CFFL_CheckBox::IsDataChanged(CPDFSDK_PageView* pPageView) { in IsDataChanged() argument
[all …]
Dcffl_button.cpp19 void CFFL_Button::OnMouseEnter(CPDFSDK_PageView* pPageView) { in OnMouseEnter() argument
21 InvalidateRect(GetViewBBox(pPageView)); in OnMouseEnter()
24 void CFFL_Button::OnMouseExit(CPDFSDK_PageView* pPageView) { in OnMouseExit() argument
26 InvalidateRect(GetViewBBox(pPageView)); in OnMouseExit()
31 bool CFFL_Button::OnLButtonDown(CPDFSDK_PageView* pPageView, in OnLButtonDown() argument
40 InvalidateRect(GetViewBBox(pPageView)); in OnLButtonDown()
44 bool CFFL_Button::OnLButtonUp(CPDFSDK_PageView* pPageView, in OnLButtonUp() argument
53 InvalidateRect(GetViewBBox(pPageView)); in OnLButtonUp()
57 bool CFFL_Button::OnMouseMove(CPDFSDK_PageView* pPageView, in OnMouseMove() argument
63 void CFFL_Button::OnDraw(CPDFSDK_PageView* pPageView, in OnDraw() argument
[all …]
Dcffl_textfield.h35 bool IsDataChanged(CPDFSDK_PageView* pPageView) override;
36 void SaveData(CPDFSDK_PageView* pPageView) override;
37 void GetActionData(CPDFSDK_PageView* pPageView,
40 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;
53 CPWL_Edit* GetEdit(CPDFSDK_PageView* pPageView, bool bNew);
Dcffl_combobox.cpp76 bool CFFL_ComboBox::IsDataChanged(CPDFSDK_PageView* pPageView) { in IsDataChanged() argument
77 auto* pWnd = GetComboBox(pPageView, false); in IsDataChanged()
91 void CFFL_ComboBox::SaveData(CPDFSDK_PageView* pPageView) { in SaveData() argument
92 CPWL_ComboBox* pWnd = GetComboBox(pPageView, false); in SaveData()
123 void CFFL_ComboBox::GetActionData(CPDFSDK_PageView* pPageView, in GetActionData() argument
128 if (CPWL_ComboBox* pComboBox = GetComboBox(pPageView, false)) { in GetActionData()
147 if (CPWL_ComboBox* pComboBox = GetComboBox(pPageView, false)) { in GetActionData()
162 void CFFL_ComboBox::SetActionData(CPDFSDK_PageView* pPageView, in SetActionData() argument
167 if (CPWL_ComboBox* pComboBox = GetComboBox(pPageView, false)) { in SetActionData()
179 void CFFL_ComboBox::SaveState(CPDFSDK_PageView* pPageView) { in SaveState() argument
[all …]
Dcffl_combobox.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,
45 void SaveState(CPDFSDK_PageView* pPageView) override;
46 void RestoreState(CPDFSDK_PageView* pPageView) override;
50 bool IsFieldFull(CPDFSDK_PageView* pPageView) override;
58 CPWL_ComboBox* GetComboBox(CPDFSDK_PageView* pPageView, bool bNew);
Dcffl_button.h27 void OnMouseEnter(CPDFSDK_PageView* pPageView) override;
28 void OnMouseExit(CPDFSDK_PageView* pPageView) override;
29 bool OnLButtonDown(CPDFSDK_PageView* pPageView,
33 bool OnLButtonUp(CPDFSDK_PageView* pPageView,
37 bool OnMouseMove(CPDFSDK_PageView* pPageView,
40 void OnDraw(CPDFSDK_PageView* pPageView,
44 void OnDrawDeactive(CPDFSDK_PageView* pPageView,
Dcffl_listbox.cpp86 bool CFFL_ListBox::IsDataChanged(CPDFSDK_PageView* pPageView) { in IsDataChanged() argument
87 CPWL_ListBox* pListBox = GetListBox(pPageView); in IsDataChanged()
107 void CFFL_ListBox::SaveData(CPDFSDK_PageView* pPageView) { in SaveData() argument
108 CPWL_ListBox* pListBox = GetListBox(pPageView); in SaveData()
142 void CFFL_ListBox::GetActionData(CPDFSDK_PageView* pPageView, in GetActionData() argument
150 CPWL_ListBox* pListBox = GetListBox(pPageView); in GetActionData()
173 void CFFL_ListBox::SaveState(CPDFSDK_PageView* pPageView) { in SaveState() argument
174 CPWL_ListBox* pListBox = GetListBox(pPageView); in SaveState()
184 void CFFL_ListBox::RestoreState(CPDFSDK_PageView* pPageView) { in RestoreState() argument
185 CPWL_ListBox* pListBox = GetListBox(pPageView); in RestoreState()
[all …]
Dcffl_listbox.h30 bool IsDataChanged(CPDFSDK_PageView* pPageView) override;
31 void SaveData(CPDFSDK_PageView* pPageView) override;
32 void GetActionData(CPDFSDK_PageView* pPageView,
35 void SaveState(CPDFSDK_PageView* pPageView) override;
36 void RestoreState(CPDFSDK_PageView* pPageView) override;
41 CPWL_ListBox* GetListBox(CPDFSDK_PageView* pPageView);
/external/pdfium/fpdfsdk/
Dfpdf_formfill.cpp192 CPDFSDK_PageView* pPageView = FormHandleToPageView(hHandle, fpdf_page); in FFLCommon() local
219 if (pPageView) in FFLCommon()
220 pPageView->PageView_OnDraw(pDevice.get(), matrix, &options, rect); in FFLCommon()
365 CPDFSDK_PageView* pPageView = FormHandleToPageView(hHandle, page); in FORM_OnMouseMove() local
366 if (!pPageView) in FORM_OnMouseMove()
368 return pPageView->OnMouseMove(CFX_PointF(page_x, page_y), modifier); in FORM_OnMouseMove()
376 CPDFSDK_PageView* pPageView = FormHandleToPageView(hHandle, page); in FORM_OnFocus() local
377 if (!pPageView) in FORM_OnFocus()
379 return pPageView->OnFocus(CFX_PointF(page_x, page_y), modifier); in FORM_OnFocus()
387 CPDFSDK_PageView* pPageView = FormHandleToPageView(hHandle, page); in FORM_OnLButtonDown() local
[all …]
Dcpdfsdk_widgethandler.cpp80 void CPDFSDK_WidgetHandler::OnDraw(CPDFSDK_PageView* pPageView, in OnDraw() argument
89 m_pFormFiller->OnDraw(pPageView, pAnnot, pDevice, mtUser2Device); in OnDraw()
93 void CPDFSDK_WidgetHandler::OnMouseEnter(CPDFSDK_PageView* pPageView, in OnMouseEnter() argument
97 m_pFormFiller->OnMouseEnter(pPageView, pAnnot, nFlag); in OnMouseEnter()
100 void CPDFSDK_WidgetHandler::OnMouseExit(CPDFSDK_PageView* pPageView, in OnMouseExit() argument
104 m_pFormFiller->OnMouseExit(pPageView, pAnnot, nFlag); in OnMouseExit()
107 bool CPDFSDK_WidgetHandler::OnLButtonDown(CPDFSDK_PageView* pPageView, in OnLButtonDown() argument
112 m_pFormFiller->OnLButtonDown(pPageView, pAnnot, nFlags, point); in OnLButtonDown()
115 bool CPDFSDK_WidgetHandler::OnLButtonUp(CPDFSDK_PageView* pPageView, in OnLButtonUp() argument
120 m_pFormFiller->OnLButtonUp(pPageView, pAnnot, nFlags, point); in OnLButtonUp()
[all …]
Dcpdfsdk_annothandlermgr.cpp54 CPDFSDK_PageView* pPageView) { in NewAnnot() argument
55 ASSERT(pPageView); in NewAnnot()
57 ->NewAnnot(pAnnot, pPageView); in NewAnnot()
63 CPDFSDK_PageView* pPageView) { in NewXFAAnnot() argument
65 ASSERT(pPageView); in NewXFAAnnot()
67 ->NewAnnotForXFA(pAnnot, pPageView); in NewXFAAnnot()
130 void CPDFSDK_AnnotHandlerMgr::Annot_OnDraw(CPDFSDK_PageView* pPageView, in Annot_OnDraw() argument
136 GetAnnotHandler(pAnnot)->OnDraw(pPageView, pAnnot, pDevice, mtUser2Device, in Annot_OnDraw()
141 CPDFSDK_PageView* pPageView, in Annot_OnLButtonDown() argument
147 ->OnLButtonDown(pPageView, pAnnot, nFlags, point); in Annot_OnLButtonDown()
[all …]
Dcpdfsdk_baannothandler.cpp22 void UpdateAnnotRects(CPDFSDK_PageView* pPageView, CPDFSDK_BAAnnot* pBAAnnot) { in UpdateAnnotRects() argument
32 pPageView->UpdateRects(rects); in UpdateAnnotRects()
60 void CPDFSDK_BAAnnotHandler::OnDraw(CPDFSDK_PageView* pPageView, in OnDraw() argument
74 void CPDFSDK_BAAnnotHandler::OnMouseEnter(CPDFSDK_PageView* pPageView, in OnMouseEnter() argument
79 UpdateAnnotRects(pPageView, pBAAnnot); in OnMouseEnter()
82 void CPDFSDK_BAAnnotHandler::OnMouseExit(CPDFSDK_PageView* pPageView, in OnMouseExit() argument
87 UpdateAnnotRects(pPageView, pBAAnnot); in OnMouseExit()
90 bool CPDFSDK_BAAnnotHandler::OnLButtonDown(CPDFSDK_PageView* pPageView, in OnLButtonDown() argument
97 bool CPDFSDK_BAAnnotHandler::OnLButtonUp(CPDFSDK_PageView* pPageView, in OnLButtonUp() argument
104 bool CPDFSDK_BAAnnotHandler::OnLButtonDblClk(CPDFSDK_PageView* pPageView, in OnLButtonDblClk() argument
[all …]
Dcpdfsdk_annothandlermgr.h39 CPDFSDK_Annot* NewAnnot(CPDF_Annot* pAnnot, CPDFSDK_PageView* pPageView);
42 CPDFSDK_PageView* pPageView);
57 void Annot_OnDraw(CPDFSDK_PageView* pPageView,
63 void Annot_OnMouseEnter(CPDFSDK_PageView* pPageView,
66 void Annot_OnMouseExit(CPDFSDK_PageView* pPageView,
69 bool Annot_OnLButtonDown(CPDFSDK_PageView* pPageView,
73 bool Annot_OnLButtonUp(CPDFSDK_PageView* pPageView,
77 bool Annot_OnLButtonDblClk(CPDFSDK_PageView* pPageView,
81 bool Annot_OnMouseMove(CPDFSDK_PageView* pPageView,
85 bool Annot_OnMouseWheel(CPDFSDK_PageView* pPageView,
[all …]
Dipdfsdk_annothandler.h31 virtual CFX_FloatRect GetViewBBox(CPDFSDK_PageView* pPageView,
41 virtual bool HitTest(CPDFSDK_PageView* pPageView,
44 virtual void OnDraw(CPDFSDK_PageView* pPageView,
50 virtual void OnMouseEnter(CPDFSDK_PageView* pPageView,
53 virtual void OnMouseExit(CPDFSDK_PageView* pPageView,
56 virtual bool OnLButtonDown(CPDFSDK_PageView* pPageView,
60 virtual bool OnLButtonUp(CPDFSDK_PageView* pPageView,
64 virtual bool OnLButtonDblClk(CPDFSDK_PageView* pPageView,
68 virtual bool OnMouseMove(CPDFSDK_PageView* pPageView,
72 virtual bool OnMouseWheel(CPDFSDK_PageView* pPageView,
[all …]
Dcpdfsdk_baannothandler.h34 CFX_FloatRect GetViewBBox(CPDFSDK_PageView* pPageView,
43 bool HitTest(CPDFSDK_PageView* pPageView,
46 void OnDraw(CPDFSDK_PageView* pPageView,
53 void OnMouseEnter(CPDFSDK_PageView* pPageView,
56 void OnMouseExit(CPDFSDK_PageView* pPageView,
59 bool OnLButtonDown(CPDFSDK_PageView* pPageView,
63 bool OnLButtonUp(CPDFSDK_PageView* pPageView,
67 bool OnLButtonDblClk(CPDFSDK_PageView* pPageView,
71 bool OnMouseMove(CPDFSDK_PageView* pPageView,
75 bool OnMouseWheel(CPDFSDK_PageView* pPageView,
[all …]
Dcpdfsdk_widgethandler.h34 CFX_FloatRect GetViewBBox(CPDFSDK_PageView* pPageView,
43 bool HitTest(CPDFSDK_PageView* pPageView,
46 void OnDraw(CPDFSDK_PageView* pPageView,
53 void OnMouseEnter(CPDFSDK_PageView* pPageView,
56 void OnMouseExit(CPDFSDK_PageView* pPageView,
59 bool OnLButtonDown(CPDFSDK_PageView* pPageView,
63 bool OnLButtonUp(CPDFSDK_PageView* pPageView,
67 bool OnLButtonDblClk(CPDFSDK_PageView* pPageView,
71 bool OnMouseMove(CPDFSDK_PageView* pPageView,
75 bool OnMouseWheel(CPDFSDK_PageView* pPageView,
[all …]
/external/pdfium/fpdfsdk/fpdfxfa/
Dcpdfxfa_page.cpp86 CXFA_FFPageView* pPageView = GetXFAPageView(); in GetPageWidth() local
87 if (!m_pPDFPage && !pPageView) in GetPageWidth()
99 if (pPageView) in GetPageWidth()
100 return pPageView->GetPageViewRect().width; in GetPageWidth()
108 CXFA_FFPageView* pPageView = GetXFAPageView(); in GetPageHeight() local
109 if (!m_pPDFPage && !pPageView) in GetPageHeight()
121 if (pPageView) in GetPageHeight()
122 return pPageView->GetPageViewRect().height; in GetPageHeight()
133 CXFA_FFPageView* pPageView = GetXFAPageView(); in DeviceToPage() local
134 if (!m_pPDFPage && !pPageView) in DeviceToPage()
[all …]
Dcpdfxfa_widgethandler.h36 CFX_FloatRect GetViewBBox(CPDFSDK_PageView* pPageView,
45 bool HitTest(CPDFSDK_PageView* pPageView,
48 void OnDraw(CPDFSDK_PageView* pPageView,
54 void OnMouseEnter(CPDFSDK_PageView* pPageView,
57 void OnMouseExit(CPDFSDK_PageView* pPageView,
60 bool OnLButtonDown(CPDFSDK_PageView* pPageView,
64 bool OnLButtonUp(CPDFSDK_PageView* pPageView,
68 bool OnLButtonDblClk(CPDFSDK_PageView* pPageView,
72 bool OnMouseMove(CPDFSDK_PageView* pPageView,
76 bool OnMouseWheel(CPDFSDK_PageView* pPageView,
[all …]
Dcpdfxfa_widgethandler.cpp229 void CPDFXFA_WidgetHandler::OnDraw(CPDFSDK_PageView* pPageView, in OnDraw() argument
238 if (pPageView->GetFormFillEnv()->GetFocusAnnot() != pAnnot) in OnDraw()
254 CFX_FloatRect CPDFXFA_WidgetHandler::GetViewBBox(CPDFSDK_PageView* pPageView, in GetViewBBox() argument
334 bool CPDFXFA_WidgetHandler::HitTest(CPDFSDK_PageView* pPageView, in HitTest() argument
337 if (!pPageView) in HitTest()
344 CPDFSDK_FormFillEnvironment* pFormFillEnv = pPageView->GetFormFillEnv(); in HitTest()
363 void CPDFXFA_WidgetHandler::OnMouseEnter(CPDFSDK_PageView* pPageView, in OnMouseEnter() argument
366 if (!pPageView) in OnMouseEnter()
377 void CPDFXFA_WidgetHandler::OnMouseExit(CPDFSDK_PageView* pPageView, in OnMouseExit() argument
380 if (!pPageView) in OnMouseExit()
[all …]

123