• Home
  • Raw
  • Download

Lines Matching refs:pWidget

87         CPDFSDK_Widget* pWidget = ToCPDFSDKWidget(pObserved.Get());  in UpdateFormField()  local
88 pWidget->GetInteractiveForm()->GetFormFillEnv()->UpdateAllViews( in UpdateFormField()
89 nullptr, pWidget); in UpdateFormField()
106 CPDFSDK_Widget* pWidget = pForm->GetWidget(pFormControl); in UpdateFormControl() local
108 if (pWidget) { in UpdateFormControl()
109 ObservedPtr<CPDFSDK_Widget> observed_widget(pWidget); in UpdateFormControl()
111 FormFieldType fieldType = pWidget->GetFieldType(); in UpdateFormControl()
114 Optional<WideString> sValue = pWidget->OnFormat(); in UpdateFormControl()
117 pWidget->ResetAppearance(sValue, false); in UpdateFormControl()
119 pWidget->ResetAppearance({}, false); in UpdateFormControl()
126 CPDFSDK_InteractiveForm* pWidgetForm = pWidget->GetInteractiveForm(); in UpdateFormControl()
127 pWidgetForm->GetFormFillEnv()->UpdateAllViews(nullptr, pWidget); in UpdateFormControl()
178 bool SetWidgetDisplayStatus(CPDFSDK_Widget* pWidget, int value) { in SetWidgetDisplayStatus() argument
179 if (!pWidget) in SetWidgetDisplayStatus()
182 uint32_t dwFlag = pWidget->GetFlags(); in SetWidgetDisplayStatus()
209 if (dwFlag != pWidget->GetFlags()) { in SetWidgetDisplayStatus()
210 pWidget->SetFlags(dwFlag); in SetWidgetDisplayStatus()
244 CPDFSDK_Widget* pWidget = pForm->GetWidget(pFormField->GetControl(i)); in SetBorderStyle() local
245 if (pWidget) { in SetBorderStyle()
246 if (pWidget->GetBorderStyle() != nBorderStyle) { in SetBorderStyle()
247 pWidget->SetBorderStyle(nBorderStyle); in SetBorderStyle()
259 CPDFSDK_Widget* pWidget = pForm->GetWidget(pFormControl); in SetBorderStyle() local
260 if (pWidget) { in SetBorderStyle()
261 if (pWidget->GetBorderStyle() != nBorderStyle) { in SetBorderStyle()
262 pWidget->SetBorderStyle(nBorderStyle); in SetBorderStyle()
312 CPDFSDK_Widget* pWidget = pForm->GetWidget(pFormControl); in SetDisplay() local
313 if (SetWidgetDisplayStatus(pWidget, number)) in SetDisplay()
327 CPDFSDK_Widget* pWidget = pForm->GetWidget(pFormControl); in SetDisplay() local
328 if (SetWidgetDisplayStatus(pWidget, number)) in SetDisplay()
356 if (CPDFSDK_Widget* pWidget = pForm->GetWidget(pFormControl)) { in SetLineWidth() local
357 if (number != pWidget->GetBorderWidth()) { in SetLineWidth()
358 pWidget->SetBorderWidth(number); in SetLineWidth()
370 if (CPDFSDK_Widget* pWidget = pForm->GetWidget(pFormControl)) { in SetLineWidth() local
371 if (number != pWidget->GetBorderWidth()) { in SetLineWidth()
372 pWidget->SetBorderWidth(number); in SetLineWidth()
395 if (CPDFSDK_Widget* pWidget = pForm->GetWidget(pFormControl)) { in SetRect() local
398 CPDF_Page* pPDFPage = pWidget->GetPDFPage(); in SetRect()
402 CFX_FloatRect rcOld = pWidget->GetRect(); in SetRect()
405 pWidget->SetRect(crRect); in SetRect()
422 if (CPDFSDK_Widget* pWidget = pForm->GetWidget(pFormControl)) { in SetRect() local
424 CPDF_Page* pPDFPage = pWidget->GetPDFPage(); in SetRect()
427 CFX_FloatRect rcOld = pWidget->GetRect(); in SetRect()
430 pWidget->SetRect(crRect); in SetRect()
699 CPDFSDK_Widget* pWidget = m_pFormFillEnv->GetInteractiveForm()->GetWidget( in get_border_style() local
701 if (!pWidget) in get_border_style()
704 switch (pWidget->GetBorderStyle()) { in get_border_style()
1153 CPDFSDK_Widget* pWidget = pForm->GetWidget(GetSmartFieldControl(pFormField)); in get_display() local
1154 if (!pWidget) in get_display()
1157 uint32_t dwFlag = pWidget->GetFlags(); in get_display()
1347 CPDFSDK_Widget* pWidget = pForm->GetWidget(GetSmartFieldControl(pFormField)); in get_hidden() local
1348 if (!pWidget) in get_hidden()
1351 uint32_t dwFlags = pWidget->GetFlags(); in get_hidden()
1422 CPDFSDK_Widget* pWidget = pForm->GetWidget(pFormField->GetControl(0)); in get_line_width() local
1423 if (!pWidget) in get_line_width()
1426 return CJS_Result::Success(pRuntime->NewNumber(pWidget->GetBorderWidth())); in get_line_width()
1531 auto* pWidget = ToCPDFSDKWidget(pObserved.Get()); in get_page() local
1532 CPDFSDK_PageView* pPageView = pWidget->GetPageView(); in get_page()
1576 CPDFSDK_Widget* pWidget = pForm->GetWidget(GetSmartFieldControl(pFormField)); in get_print() local
1577 if (!pWidget) in get_print()
1581 !!(pWidget->GetFlags() & pdfium::annotation_flags::kPrint))); in get_print()
1598 if (CPDFSDK_Widget* pWidget = in set_print() local
1600 uint32_t dwFlags = pWidget->GetFlags(); in set_print()
1606 if (dwFlags != pWidget->GetFlags()) { in set_print()
1607 pWidget->SetFlags(dwFlags); in set_print()
1624 if (CPDFSDK_Widget* pWidget = pForm->GetWidget(pFormControl)) { in set_print() local
1625 uint32_t dwFlags = pWidget->GetFlags(); in set_print()
1631 if (dwFlags != pWidget->GetFlags()) { in set_print()
1632 pWidget->SetFlags(dwFlags); in set_print()
1691 CPDFSDK_Widget* pWidget = pForm->GetWidget(GetSmartFieldControl(pFormField)); in get_rect() local
1692 if (!pWidget) in get_rect()
1695 CFX_FloatRect crRect = pWidget->GetRect(); in get_rect()
2508 CPDFSDK_Widget* pWidget = nullptr; in setFocus() local
2510 pWidget = pForm->GetWidget(pFormField->GetControl(0)); in setFocus()
2521 pWidget = pTempWidget; in setFocus()
2529 if (pWidget) { in setFocus()
2530 ObservedPtr<CPDFSDK_Annot> pObserved(pWidget); in setFocus()