Lines Matching refs:pWidget
38 CPDFSDK_Widget* pWidget = static_cast<CPDFSDK_Widget*>(pAnnot); in CanAnswer() local
39 if (!pWidget->IsVisible()) in CanAnswer()
42 int nFieldFlags = pWidget->GetFieldFlags(); in CanAnswer()
46 if (pWidget->GetFieldType() == FormFieldType::kPushButton) in CanAnswer()
49 CPDF_Page* pPage = pWidget->GetPDFPage(); in CanAnswer()
63 CPDFSDK_Widget* pWidget = new CPDFSDK_Widget(pAnnot, pPage, pInterForm); in NewAnnot() local
64 pInterForm->AddMap(pCtrl, pWidget); in NewAnnot()
67 pWidget->ResetAppearance(nullptr, false); in NewAnnot()
69 return pWidget; in NewAnnot()
85 std::unique_ptr<CPDFSDK_Widget> pWidget(static_cast<CPDFSDK_Widget*>(pAnnot)); in ReleaseAnnot() local
86 CPDFSDK_InterForm* pInterForm = pWidget->GetInterForm(); in ReleaseAnnot()
87 CPDF_FormControl* pControl = pWidget->GetFormControl(); in ReleaseAnnot()
226 CPDFSDK_Widget* pWidget = static_cast<CPDFSDK_Widget*>(pAnnot); in OnLoad() local
227 if (!pWidget->IsAppearanceValid()) in OnLoad()
228 pWidget->ResetAppearance(nullptr, false); in OnLoad()
230 FormFieldType fieldType = pWidget->GetFieldType(); in OnLoad()
234 CPDFSDK_Annot::ObservedPtr pObserved(pWidget); in OnLoad()
235 WideString sValue = pWidget->OnFormat(bFormatted); in OnLoad()
240 pWidget->ResetAppearance(&sValue, false); in OnLoad()
247 if (!pWidget->IsAppearanceValid() && !pWidget->GetValue().IsEmpty()) in OnLoad()
248 pWidget->ResetAppearance(false); in OnLoad()