• Home
  • Raw
  • Download

Lines Matching refs:pAnnot

64   for (CPDFSDK_Annot* pAnnot : m_SDKAnnotArray)  in ~CPDFSDK_PageView()
65 pAnnotHandlerMgr->ReleaseAnnot(pAnnot); in ~CPDFSDK_PageView()
174 bool CPDFSDK_PageView::DeleteAnnot(CPDFSDK_Annot* pAnnot) { argument
175 if (!pAnnot)
178 CPDFXFA_Page* pPage = pAnnot->GetPDFXFAPage();
182 CPDFSDK_Annot::ObservedPtr pObserved(pAnnot);
183 if (GetFocusAnnot() == pAnnot)
193 auto it = std::find(m_SDKAnnotArray.begin(), m_SDKAnnotArray.end(), pAnnot);
196 if (m_pCaptureWidget.Get() == pAnnot)
223 for (CPDFSDK_Annot* pAnnot : m_SDKAnnotArray) {
224 if (pAnnot->GetPDFAnnot()->GetAnnotDict() == pDict)
225 return pAnnot;
235 for (CPDFSDK_Annot* pAnnot : m_SDKAnnotArray) {
236 if (pAnnot->GetXFAWidget() == hWidget)
237 return pAnnot;
244 if (CPDFSDK_Annot* pAnnot = GetFocusAnnot()) { local
247 return pAnnotHandlerMgr->Annot_GetSelectedText(pAnnot);
254 if (CPDFSDK_Annot* pAnnot = GetFocusAnnot()) { local
257 pAnnotHandlerMgr->Annot_ReplaceSelection(pAnnot, text);
262 CPDFSDK_Annot::ObservedPtr pAnnot(GetFXWidgetAtPoint(point)); local
263 if (!pAnnot) {
268 m_pFormFillEnv->SetFocusAnnot(&pAnnot);
273 CPDFSDK_Annot::ObservedPtr pAnnot(GetFXWidgetAtPoint(point)); local
274 if (!pAnnot) {
281 if (!pAnnotHandlerMgr->Annot_OnLButtonDown(this, &pAnnot, nFlag, point))
284 if (!pAnnot)
287 m_pFormFillEnv->SetFocusAnnot(&pAnnot);
293 CPDFSDK_Annot::ObservedPtr pAnnot(GetFXWidgetAtPoint(point)); local
294 if (!pAnnot)
299 bool ok = pAnnotHandlerMgr->Annot_OnRButtonDown(this, &pAnnot, nFlag, point);
300 if (!pAnnot)
304 m_pFormFillEnv->SetFocusAnnot(&pAnnot);
364 CPDFSDK_Annot::ObservedPtr* pAnnot, argument
367 m_pCaptureWidget.Reset(pAnnot->Get());
368 pAnnotHandlerMgr->Annot_OnMouseEnter(this, pAnnot, nFlag);
387 CPDFSDK_Annot::ObservedPtr pAnnot(GetFXWidgetAtPoint(point)); local
388 if (!pAnnot)
393 return pAnnotHandlerMgr->Annot_OnMouseWheel(this, &pAnnot, nFlag,
398 if (CPDFSDK_Annot* pAnnot = GetFocusAnnot()) { local
401 return pAnnotHandlerMgr->Annot_OnChar(pAnnot, nChar, nFlag);
408 if (CPDFSDK_Annot* pAnnot = GetFocusAnnot()) { local
411 return pAnnotHandlerMgr->Annot_OnKeyDown(pAnnot, nKeyCode, nFlag);
440 CPDFSDK_Annot* pAnnot = pAnnotHandlerMgr->NewAnnot(pXFAAnnot, this); local
441 if (!pAnnot)
443 m_SDKAnnotArray.push_back(pAnnot);
444 pAnnotHandlerMgr->Annot_OnLoad(pAnnot);
463 CPDFSDK_Annot* pAnnot = pAnnotHandlerMgr->NewAnnot(pPDFAnnot, this); local
464 if (!pAnnot)
466 m_SDKAnnotArray.push_back(pAnnot);
467 pAnnotHandlerMgr->Annot_OnLoad(pAnnot);
476 void CPDFSDK_PageView::UpdateView(CPDFSDK_Annot* pAnnot) { argument
477 CFX_FloatRect rcWindow = pAnnot->GetRect();