Lines Matching refs:hWidget

73 void CPDFXFA_DocEnvironment::DisplayCaret(CXFA_FFWidget* hWidget,  in DisplayCaret()  argument
76 if (!hWidget || !pRtAnchor || !m_pContext->GetXFADoc() || in DisplayCaret()
88 CXFA_FFPageView* pPageView = hWidget->GetPageView(); in DisplayCaret()
105 bool CPDFXFA_DocEnvironment::GetPopupPos(CXFA_FFWidget* hWidget, in GetPopupPos() argument
110 if (!hWidget) in GetPopupPos()
113 CXFA_FFPageView* pXFAPageView = hWidget->GetPageView(); in GetPopupPos()
131 int nRotate = hWidget->GetNode()->GetRotate(); in GetPopupPos()
220 bool CPDFXFA_DocEnvironment::PopupMenu(CXFA_FFWidget* hWidget, in PopupMenu() argument
222 if (!hWidget) in PopupMenu()
225 CXFA_FFPageView* pXFAPageView = hWidget->GetPageView(); in PopupMenu()
238 if (hWidget->CanUndo()) in PopupMenu()
240 if (hWidget->CanRedo()) in PopupMenu()
242 if (hWidget->CanPaste()) in PopupMenu()
244 if (hWidget->CanCopy()) in PopupMenu()
246 if (hWidget->CanCut()) in PopupMenu()
248 if (hWidget->CanSelectAll()) in PopupMenu()
251 return pFormFillEnv->PopupMenu(pPage.Get(), hWidget, menuFlag, ptPopup); in PopupMenu()
291 void CPDFXFA_DocEnvironment::WidgetPostAdd(CXFA_FFWidget* hWidget, in WidgetPostAdd() argument
293 if (m_pContext->GetFormType() != FormType::kXFAFull || !hWidget) in WidgetPostAdd()
296 CXFA_FFPageView* pPageView = hWidget->GetPageView(); in WidgetPostAdd()
306 ->AddAnnot(hWidget); in WidgetPostAdd()
309 void CPDFXFA_DocEnvironment::WidgetPreRemove(CXFA_FFWidget* hWidget, in WidgetPreRemove() argument
311 if (m_pContext->GetFormType() != FormType::kXFAFull || !hWidget) in WidgetPreRemove()
314 CXFA_FFPageView* pPageView = hWidget->GetPageView(); in WidgetPreRemove()
324 CPDFSDK_Annot* pAnnot = pSdkPageView->GetAnnotByXFAWidget(hWidget); in WidgetPreRemove()
546 CXFA_FFWidget* hWidget) { in SetFocusWidget() argument
550 if (!hWidget) { in SetFocusWidget()
562 CPDFSDK_Annot::ObservedPtr pAnnot(pPageView->GetAnnotByXFAWidget(hWidget)); in SetFocusWidget()