Lines Matching full:pannot
115 CPDFSDK_Annot* pAnnot = pFFL->GetSDKAnnot();
116 ASSERT(pAnnot);
117 CPDF_Page* pPage = pAnnot->GetPDFPage();
473 void CPDFSDK_Document::UpdateAllViews(CPDFSDK_PageView* pSender, CPDFSDK_Annot* pAnnot)
485 pPageView->UpdateView(pAnnot);
495 FX_BOOL CPDFSDK_Document::SetFocusAnnot(CPDFSDK_Annot* pAnnot,FX_UINT nFlag)
498 if(m_pFocusAnnot==pAnnot) return TRUE;
504 CPDFSDK_PageView* pPageView = pAnnot->GetPageView();
505 if(pAnnot && pPageView->IsValid())
511 if (!pAnnotHandler->Annot_OnSetFocus(pAnnot,nFlag))
515 this->m_pFocusAnnot=pAnnot;
622 CPDFSDK_Annot* pAnnot = (CPDFSDK_Annot*)m_fxAnnotArray.GetAt(i);
624 if(pAnnot == m_pSDKDoc->GetFocusAnnot())
628 pAnnotHandlerMgr->ReleaseAnnot(pAnnot);
662 CPDF_Annot* pAnnot = m_pAnnotList->GetAt(i);
664 pAnnot->GetRect(annotRect);
666 return pAnnot;
677 CPDF_Annot* pAnnot = m_pAnnotList->GetAt(i);
678 if(pAnnot->GetSubType() == "Widget")
681 pAnnot->GetRect(annotRect);
683 return pAnnot;
731 FX_BOOL CPDFSDK_PageView::Annot_HasAppearance(CPDF_Annot* pAnnot)
733 CPDF_Dictionary* pAnnotDic = pAnnot->m_pAnnotDict;
777 FX_BOOL CPDFSDK_PageView::DeleteAnnot(CPDFSDK_Annot* pAnnot)
812 CPDFSDK_Annot* pAnnot = (CPDFSDK_Annot*)m_fxAnnotArray.GetAt(i);
813 if(pDict==pAnnot->GetPDFAnnot()->m_pAnnotDict)
814 return pAnnot;
912 if(CPDFSDK_Annot* pAnnot = GetFXWidgetAtPoint(point.x, point.y))
917 return pAnnotHandlerMgr->Annot_OnMouseWheel(this, pAnnot, nFlag, (int)deltaY, point);
925 if(CPDFSDK_Annot* pAnnot = GetFocusAnnot())
930 return pAnnotHandlerMgr->Annot_OnChar(pAnnot, nChar, nFlag);
938 if(CPDFSDK_Annot* pAnnot = GetFocusAnnot())
943 return pAnnotHandlerMgr->Annot_OnKeyDown(pAnnot, nKeyCode, nFlag);
950 // if(CPDFSDK_Annot* pAnnot = GetFocusAnnot())
953 // return pIFormFiller->OnKeyUp(pAnnot, nKeyCode, nFlag);
981 CPDFSDK_Annot* pAnnot = pAnnotHandlerMgr->NewAnnot(pPDFAnnot, this);
982 if(!pAnnot)
984 m_fxAnnotArray.Add(pAnnot);
986 pAnnotHandlerMgr->Annot_OnLoad(pAnnot);
1002 void CPDFSDK_PageView::UpdateView(CPDFSDK_Annot* pAnnot)
1009 rcWindow = pAnnot->GetRect();//pAnnotHandler->Annot_OnGetViewBBox(this,pAnnot);
1049 CPDFSDK_Annot* pAnnot = (CPDFSDK_Annot*)m_fxAnnotArray.GetAt(i);
1050 if(pAnnot == pFocusAnnot)
1051 return pAnnot;