• Home
  • Raw
  • Download

Lines Matching refs:pFormFiller

42   if (CFFL_FormFiller* pFormFiller = GetFormFiller(pAnnot, false))  in GetViewBBox()  local
43 return pFormFiller->GetViewBBox(pPageView, pAnnot); in GetViewBBox()
65 CFFL_FormFiller* pFormFiller = GetFormFiller(pAnnot, false); in OnDraw() local
66 if (pFormFiller && pFormFiller->IsValid()) { in OnDraw()
67 pFormFiller->OnDraw(pPageView, pAnnot, pDevice, *pUser2Device); in OnDraw()
73 CFX_FloatRect rcFocus = pFormFiller->GetFocusBox(pPageView); in OnDraw()
99 pFormFiller = GetFormFiller(pAnnot, false); in OnDraw()
100 if (pFormFiller) { in OnDraw()
101 pFormFiller->OnDrawDeactive(pPageView, pAnnot, pDevice, *pUser2Device); in OnDraw()
138 if (CFFL_FormFiller* pFormFiller = GetFormFiller(pWidget, false)) { in OnMouseEnter() local
139 pFormFiller->ResetPDFWindow(pPageView, in OnMouseEnter()
145 if (CFFL_FormFiller* pFormFiller = GetFormFiller(pAnnot->Get(), true)) in OnMouseEnter() local
146 pFormFiller->OnMouseEnter(pPageView, pAnnot->Get()); in OnMouseEnter()
171 if (CFFL_FormFiller* pFormFiller = GetFormFiller(pWidget, false)) { in OnMouseExit() local
172 pFormFiller->ResetPDFWindow(pPageView, in OnMouseExit()
178 if (CFFL_FormFiller* pFormFiller = GetFormFiller(pAnnot->Get(), false)) in OnMouseExit() local
179 pFormFiller->OnMouseExit(pPageView, pAnnot->Get()); in OnMouseExit()
210 if (CFFL_FormFiller* pFormFiller = GetFormFiller(pWidget, false)) { in OnLButtonDown() local
211 pFormFiller->ResetPDFWindow(pPageView, in OnLButtonDown()
217 CFFL_FormFiller* pFormFiller = GetFormFiller(pAnnot->Get(), false); in OnLButtonDown() local
218 return pFormFiller && in OnLButtonDown()
219 pFormFiller->OnLButtonDown(pPageView, pAnnot->Get(), nFlags, point); in OnLButtonDown()
246 CFFL_FormFiller* pFormFiller = GetFormFiller(pAnnot->Get(), false); in OnLButtonUp() local
247 bool bRet = pFormFiller && in OnLButtonUp()
248 pFormFiller->OnLButtonUp(pPageView, pAnnot->Get(), nFlags, point); in OnLButtonUp()
286 CFFL_FormFiller* pFormFiller = GetFormFiller(pWidget, false); in OnButtonUp() local
287 if (pFormFiller) in OnButtonUp()
288 pFormFiller->ResetPDFWindow(pPageView, nValueAge == pWidget->GetValueAge()); in OnButtonUp()
298 CFFL_FormFiller* pFormFiller = GetFormFiller(pAnnot->Get(), false); in OnLButtonDblClk() local
299 return pFormFiller && in OnLButtonDblClk()
300 pFormFiller->OnLButtonDblClk(pPageView, pAnnot->Get(), nFlags, point); in OnLButtonDblClk()
308 CFFL_FormFiller* pFormFiller = GetFormFiller(pAnnot->Get(), true); in OnMouseMove() local
309 return pFormFiller && in OnMouseMove()
310 pFormFiller->OnMouseMove(pPageView, pAnnot->Get(), nFlags, point); in OnMouseMove()
320 CFFL_FormFiller* pFormFiller = GetFormFiller(pAnnot->Get(), false); in OnMouseWheel() local
321 return pFormFiller && in OnMouseWheel()
322 pFormFiller->OnMouseWheel(pPageView, pAnnot->Get(), nFlags, zDelta, in OnMouseWheel()
332 CFFL_FormFiller* pFormFiller = GetFormFiller(pAnnot->Get(), false); in OnRButtonDown() local
333 return pFormFiller && in OnRButtonDown()
334 pFormFiller->OnRButtonDown(pPageView, pAnnot->Get(), nFlags, point); in OnRButtonDown()
342 CFFL_FormFiller* pFormFiller = GetFormFiller(pAnnot->Get(), false); in OnRButtonUp() local
343 return pFormFiller && in OnRButtonUp()
344 pFormFiller->OnRButtonUp(pPageView, pAnnot->Get(), nFlags, point); in OnRButtonUp()
352 CFFL_FormFiller* pFormFiller = GetFormFiller(pAnnot, false); in OnKeyDown() local
353 return pFormFiller && pFormFiller->OnKeyDown(pAnnot, nKeyCode, nFlags); in OnKeyDown()
363 CFFL_FormFiller* pFormFiller = GetFormFiller(pAnnot, false); in OnChar() local
364 return pFormFiller && pFormFiller->OnChar(pAnnot, nChar, nFlags); in OnChar()
381 CFFL_FormFiller* pFormFiller = GetFormFiller(pWidget, true); in OnSetFocus() local
382 if (!pFormFiller) in OnSetFocus()
391 pFormFiller->GetActionData(pPageView, CPDF_AAction::GetFocus, fa); in OnSetFocus()
406 if (CFFL_FormFiller* pFormFiller = GetFormFiller(pAnnot->Get(), true)) in OnSetFocus() local
407 pFormFiller->SetFocusForAnnot(pAnnot->Get(), nFlag); in OnSetFocus()
418 CFFL_FormFiller* pFormFiller = GetFormFiller(pAnnot->Get(), false); in OnKillFocus() local
419 if (!pFormFiller) in OnKillFocus()
422 pFormFiller->KillFocusForAnnot(pAnnot->Get(), nFlag); in OnKillFocus()
442 pFormFiller->GetActionData(pPageView, CPDF_AAction::LoseFocus, fa); in OnKillFocus()
481 CFFL_FormFiller* pFormFiller; in GetFormFiller() local
484 pFormFiller = new CFFL_PushButton(m_pFormFillEnv.Get(), pWidget); in GetFormFiller()
487 pFormFiller = new CFFL_CheckBox(m_pFormFillEnv.Get(), pWidget); in GetFormFiller()
490 pFormFiller = new CFFL_RadioButton(m_pFormFillEnv.Get(), pWidget); in GetFormFiller()
493 pFormFiller = new CFFL_TextField(m_pFormFillEnv.Get(), pWidget); in GetFormFiller()
496 pFormFiller = new CFFL_ListBox(m_pFormFillEnv.Get(), pWidget); in GetFormFiller()
499 pFormFiller = new CFFL_ComboBox(m_pFormFillEnv.Get(), pWidget); in GetFormFiller()
503 pFormFiller = nullptr; in GetFormFiller()
507 if (!pFormFiller) in GetFormFiller()
510 m_Maps[pAnnot].reset(pFormFiller); in GetFormFiller()
511 return pFormFiller; in GetFormFiller()
516 CFFL_FormFiller* pFormFiller = GetFormFiller(pAnnot, false); in GetSelectedText() local
517 return pFormFiller ? pFormFiller->GetSelectedText(pAnnot) : WideString(); in GetSelectedText()
523 CFFL_FormFiller* pFormFiller = GetFormFiller(pAnnot, false); in ReplaceSelection() local
524 if (!pFormFiller) in ReplaceSelection()
527 pFormFiller->ReplaceSelection(pAnnot, text); in ReplaceSelection()
621 CFFL_FormFiller* pFormFiller = GetFormFiller(pWidget, false); in OnKeyStrokeCommit() local
622 pFormFiller->GetActionData(pPageView, CPDF_AAction::KeyStroke, fa); in OnKeyStrokeCommit()
623 pFormFiller->SaveState(pPageView); in OnKeyStrokeCommit()
652 CFFL_FormFiller* pFormFiller = GetFormFiller(pWidget, false); in OnValidate() local
653 pFormFiller->GetActionData(pPageView, CPDF_AAction::Validate, fa); in OnValidate()
654 pFormFiller->SaveState(pPageView); in OnValidate()
726 if (CFFL_FormFiller* pFormFiller = GetFormFiller(pWidget, false)) in OnClick() local
727 pFormFiller->ResetPDFWindow(pPageView, nValueAge == pWidget->GetValueAge()); in OnClick()
756 if (CFFL_FormFiller* pFormFiller = GetFormFiller(pWidget, false)) in OnFull() local
757 pFormFiller->ResetPDFWindow(pPageView, nValueAge == pWidget->GetValueAge()); in OnFull()
809 if (CFFL_FormFiller* pFormFiller = GetFormFiller(pWidget, false)) in OnPreOpen() local
810 pFormFiller->ResetPDFWindow(pPageView, nValueAge == pWidget->GetValueAge()); in OnPreOpen()
840 if (CFFL_FormFiller* pFormFiller = GetFormFiller(pWidget, false)) in OnPostOpen() local
841 pFormFiller->ResetPDFWindow(pPageView, nValueAge == pWidget->GetValueAge()); in OnPostOpen()
864 CFFL_FormFiller* pFormFiller = GetFormFiller(privateData.pWidget, false); in OnBeforeKeyStroke() local
867 if (pFormFiller->IsFieldFull(privateData.pPageView)) { in OnBeforeKeyStroke()
897 pFormFiller->GetActionData(privateData.pPageView, CPDF_AAction::KeyStroke, in OnBeforeKeyStroke()
899 pFormFiller->SaveState(privateData.pPageView); in OnBeforeKeyStroke()
913 CPWL_Wnd* pWnd = pFormFiller->ResetPDFWindow( in OnBeforeKeyStroke()
921 pFormFiller->SetActionData(privateData.pPageView, CPDF_AAction::KeyStroke, in OnBeforeKeyStroke()
924 pFormFiller->RestoreState(privateData.pPageView); in OnBeforeKeyStroke()
929 pFormFiller->CommitData(privateData.pPageView, nFlag); in OnBeforeKeyStroke()