• Home
  • Raw
  • Download

Lines Matching refs:pPageView

36 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()
115 CPDFSDK_PageView* pPageView, in OnMouseEnter() argument
126 ASSERT(pPageView); in OnMouseEnter()
131 pWidget->OnAAction(CPDF_AAction::kCursorEnter, &fa, pPageView); in OnMouseEnter()
138 pFormFiller->ResetPWLWindow(pPageView, in OnMouseEnter()
145 pFormFiller->OnMouseEnter(pPageView); in OnMouseEnter()
148 void CFFL_InteractiveFormFiller::OnMouseExit(CPDFSDK_PageView* pPageView, in OnMouseExit() argument
159 ASSERT(pPageView); in OnMouseExit()
164 pWidget->OnAAction(CPDF_AAction::kCursorExit, &fa, pPageView); in OnMouseExit()
171 pFormFiller->ResetPWLWindow(pPageView, in OnMouseExit()
178 pFormFiller->OnMouseExit(pPageView); in OnMouseExit()
182 CPDFSDK_PageView* pPageView, in OnLButtonDown() argument
189 if (Annot_HitTest(pPageView, pAnnot->Get(), point) && in OnLButtonDown()
195 ASSERT(pPageView); in OnLButtonDown()
200 pWidget->OnAAction(CPDF_AAction::kButtonDown, &fa, pPageView); in OnLButtonDown()
205 if (!IsValidAnnot(pPageView, pAnnot->Get())) in OnLButtonDown()
210 pFormFiller->ResetPWLWindow(pPageView, in OnLButtonDown()
218 pFormFiller->OnLButtonDown(pPageView, pAnnot->Get(), nFlags, point); in OnLButtonDown()
221 bool CFFL_InteractiveFormFiller::OnLButtonUp(CPDFSDK_PageView* pPageView, in OnLButtonUp() argument
233 FX_RECT bbox = GetViewBBox(pPageView, pAnnot->Get()); in OnLButtonUp()
247 pFormFiller->OnLButtonUp(pPageView, pAnnot->Get(), nFlags, point); in OnLButtonUp()
250 if (OnButtonUp(pAnnot, pPageView, nFlags) || !pAnnot) in OnLButtonUp()
253 if (OnClick(pAnnot, pPageView, nFlags) || !pAnnot) in OnLButtonUp()
260 CPDFSDK_PageView* pPageView, in OnButtonUp() argument
273 ASSERT(pPageView); in OnButtonUp()
278 pWidget->OnAAction(CPDF_AAction::kButtonUp, &fa, pPageView); in OnButtonUp()
280 if (!pAnnot->HasObservable() || !IsValidAnnot(pPageView, pWidget)) in OnButtonUp()
287 pFormFiller->ResetPWLWindow(pPageView, nValueAge == pWidget->GetValueAge()); in OnButtonUp()
311 CPDFSDK_PageView* pPageView, in OnLButtonDblClk() argument
317 return pFormFiller && pFormFiller->OnLButtonDblClk(pPageView, nFlags, point); in OnLButtonDblClk()
320 bool CFFL_InteractiveFormFiller::OnMouseMove(CPDFSDK_PageView* pPageView, in OnMouseMove() argument
326 return pFormFiller && pFormFiller->OnMouseMove(pPageView, nFlags, point); in OnMouseMove()
330 CPDFSDK_PageView* pPageView, in OnMouseWheel() argument
338 pFormFiller->OnMouseWheel(pPageView, nFlags, zDelta, point); in OnMouseWheel()
342 CPDFSDK_PageView* pPageView, in OnRButtonDown() argument
348 return pFormFiller && pFormFiller->OnRButtonDown(pPageView, nFlags, point); in OnRButtonDown()
351 bool CFFL_InteractiveFormFiller::OnRButtonUp(CPDFSDK_PageView* pPageView, in OnRButtonUp() argument
357 return pFormFiller && pFormFiller->OnRButtonUp(pPageView, nFlags, point); in OnRButtonUp()
398 CPDFSDK_PageView* pPageView = (*pAnnot)->GetPageView(); in OnSetFocus() local
399 ASSERT(pPageView); in OnSetFocus()
404 pFormFiller->GetActionData(pPageView, CPDF_AAction::kGetFocus, fa); in OnSetFocus()
405 pWidget->OnAAction(CPDF_AAction::kGetFocus, &fa, pPageView); in OnSetFocus()
412 pFiller->ResetPWLWindow(pPageView, in OnSetFocus()
449 CPDFSDK_PageView* pPageView = pWidget->GetPageView(); in OnKillFocus() local
450 ASSERT(pPageView); in OnKillFocus()
455 pFormFiller->GetActionData(pPageView, CPDF_AAction::kLoseFocus, fa); in OnKillFocus()
456 pWidget->OnAAction(CPDF_AAction::kLoseFocus, &fa, pPageView); in OnKillFocus()
646 CPDFSDK_PageView* pPageView, in OnKeyStrokeCommit() argument
655 ASSERT(pPageView); in OnKeyStrokeCommit()
667 pFormFiller->GetActionData(pPageView, CPDF_AAction::kKeyStroke, fa); in OnKeyStrokeCommit()
668 pFormFiller->SaveState(pPageView); in OnKeyStrokeCommit()
669 pWidget->OnAAction(CPDF_AAction::kKeyStroke, &fa, pPageView); in OnKeyStrokeCommit()
678 CPDFSDK_PageView* pPageView, in OnValidate() argument
687 ASSERT(pPageView); in OnValidate()
698 pFormFiller->GetActionData(pPageView, CPDF_AAction::kValidate, fa); in OnValidate()
699 pFormFiller->SaveState(pPageView); in OnValidate()
700 pWidget->OnAAction(CPDF_AAction::kValidate, &fa, pPageView); in OnValidate()
709 CPDFSDK_PageView* pPageView, in OnCalculate() argument
717 pPageView->GetFormFillEnv()->GetInteractiveForm(); in OnCalculate()
724 CPDFSDK_PageView* pPageView, in OnFormat() argument
732 pPageView->GetFormFillEnv()->GetInteractiveForm(); in OnFormat()
748 CPDFSDK_PageView* pPageView, in OnClick() argument
765 pWidget->OnXFAAAction(PDFSDK_XFA_Click, &fa, pPageView); in OnClick()
767 if (!pAnnot->HasObservable() || !IsValidAnnot(pPageView, pWidget)) in OnClick()
773 pFormFiller->ResetPWLWindow(pPageView, nValueAge == pWidget->GetValueAge()); in OnClick()
778 CPDFSDK_PageView* pPageView, in OnFull() argument
795 pWidget->OnXFAAAction(PDFSDK_XFA_Full, &fa, pPageView); in OnFull()
797 if (!pAnnot->HasObservable() || !IsValidAnnot(pPageView, pWidget)) in OnFull()
803 pFormFiller->ResetPWLWindow(pPageView, nValueAge == pWidget->GetValueAge()); in OnFull()
809 CPDFSDK_PageView* pPageView, in OnPreOpen() argument
826 pWidget->OnXFAAAction(PDFSDK_XFA_PreOpen, &fa, pPageView); in OnPreOpen()
828 if (!pAnnot->HasObservable() || !IsValidAnnot(pPageView, pWidget)) in OnPreOpen()
834 pFormFiller->ResetPWLWindow(pPageView, nValueAge == pWidget->GetValueAge()); in OnPreOpen()
840 CPDFSDK_PageView* pPageView, in OnPostOpen() argument
857 pWidget->OnXFAAAction(PDFSDK_XFA_PostOpen, &fa, pPageView); in OnPostOpen()
859 if (!pAnnot->HasObservable() || !IsValidAnnot(pPageView, pWidget)) in OnPostOpen()
865 pFormFiller->ResetPWLWindow(pPageView, nValueAge == pWidget->GetValueAge()); in OnPostOpen()
871 bool CFFL_InteractiveFormFiller::IsValidAnnot(CPDFSDK_PageView* pPageView, in IsValidAnnot() argument
873 return pPageView && pPageView->IsValidAnnot(pAnnot->GetPDFAnnot()); in IsValidAnnot()
892 if (pFormFiller->IsFieldFull(privateData.pPageView)) { in OnBeforeKeyStroke()
894 if (OnFull(&pObserved, privateData.pPageView, nFlag) || !pObserved) in OnBeforeKeyStroke()
910 privateData.pPageView->GetFormFillEnv(); in OnBeforeKeyStroke()
922 pFormFiller->GetActionData(privateData.pPageView, CPDF_AAction::kKeyStroke, in OnBeforeKeyStroke()
924 pFormFiller->SaveState(privateData.pPageView); in OnBeforeKeyStroke()
928 CPDF_AAction::kKeyStroke, &fa, privateData.pPageView); in OnBeforeKeyStroke()
931 !IsValidAnnot(privateData.pPageView, privateData.GetWidget())) { in OnBeforeKeyStroke()
940 privateData.pPageView, nValueAge == privateData.pWidget->GetValueAge()); in OnBeforeKeyStroke()
948 pFormFiller->SetActionData(privateData.pPageView, CPDF_AAction::kKeyStroke, in OnBeforeKeyStroke()
951 pFormFiller->RestoreState(privateData.pPageView); in OnBeforeKeyStroke()
956 pFormFiller->CommitData(privateData.pPageView, nFlag); in OnBeforeKeyStroke()
968 return OnPreOpen(&pObserved, pData->pPageView, nFlag) || !pObserved; in OnPopupPreOpen()
982 return OnPostOpen(&pObserved, pData->pPageView, nFlag) || !pObserved; in OnPopupPostOpen()