• Home
  • Raw
  • Download

Lines Matching refs:pWidget

26 bool SetWidgetDisplayStatus(CPDFSDK_Widget* pWidget, int value) {  in SetWidgetDisplayStatus()  argument
27 if (!pWidget) in SetWidgetDisplayStatus()
30 uint32_t dwFlag = pWidget->GetFlags(); in SetWidgetDisplayStatus()
56 if (dwFlag != pWidget->GetFlags()) { in SetWidgetDisplayStatus()
57 pWidget->SetFlags(dwFlag); in SetWidgetDisplayStatus()
307 CPDFSDK_Widget* pWidget = static_cast<CPDFSDK_Widget*>(pObserved.Get()); in UpdateFormField() local
308 pWidget->GetInterForm()->GetFormFillEnv()->UpdateAllViews(nullptr, in UpdateFormField()
309 pWidget); in UpdateFormField()
326 CPDFSDK_Widget* pWidget = pForm->GetWidget(pFormControl); in UpdateFormControl() local
328 if (pWidget) { in UpdateFormControl()
329 CPDFSDK_Widget::ObservedPtr observed_widget(pWidget); in UpdateFormControl()
331 FormFieldType fieldType = pWidget->GetFieldType(); in UpdateFormControl()
335 WideString sValue = pWidget->OnFormat(bFormatted); in UpdateFormControl()
338 pWidget->ResetAppearance(bFormatted ? &sValue : nullptr, false); in UpdateFormControl()
340 pWidget->ResetAppearance(nullptr, false); in UpdateFormControl()
347 CPDFSDK_InterForm* pInterForm = pWidget->GetInterForm(); in UpdateFormControl()
348 pInterForm->GetFormFillEnv()->UpdateAllViews(nullptr, pWidget); in UpdateFormControl()
424 CPDFSDK_Widget* pWidget = in get_border_style() local
426 if (!pWidget) in get_border_style()
429 switch (pWidget->GetBorderStyle()) { in get_border_style()
487 if (CPDFSDK_Widget* pWidget = in SetBorderStyle() local
489 if (pWidget->GetBorderStyle() != nBorderStyle) { in SetBorderStyle()
490 pWidget->SetBorderStyle(nBorderStyle); in SetBorderStyle()
502 if (CPDFSDK_Widget* pWidget = GetWidget(pFormFillEnv, pFormControl)) { in SetBorderStyle() local
503 if (pWidget->GetBorderStyle() != nBorderStyle) { in SetBorderStyle()
504 pWidget->SetBorderStyle(nBorderStyle); in SetBorderStyle()
959 CPDFSDK_Widget* pWidget = in get_display() local
961 if (!pWidget) in get_display()
964 uint32_t dwFlag = pWidget->GetFlags(); in get_display()
1003 CPDFSDK_Widget* pWidget = pInterForm->GetWidget(pFormControl); in SetDisplay() local
1004 if (SetWidgetDisplayStatus(pWidget, number)) in SetDisplay()
1018 CPDFSDK_Widget* pWidget = pInterForm->GetWidget(pFormControl); in SetDisplay() local
1019 if (SetWidgetDisplayStatus(pWidget, number)) in SetDisplay()
1187 CPDFSDK_Widget* pWidget = in get_hidden() local
1189 if (!pWidget) in get_hidden()
1192 uint32_t dwFlags = pWidget->GetFlags(); in get_hidden()
1271 CPDFSDK_Widget* pWidget = pInterForm->GetWidget(pFormField->GetControl(0)); in get_line_width() local
1272 if (!pWidget) in get_line_width()
1275 return CJS_Return(pRuntime->NewNumber(pWidget->GetBorderWidth())); in get_line_width()
1306 if (CPDFSDK_Widget* pWidget = pInterForm->GetWidget(pFormControl)) { in SetLineWidth() local
1307 if (number != pWidget->GetBorderWidth()) { in SetLineWidth()
1308 pWidget->SetBorderWidth(number); in SetLineWidth()
1320 if (CPDFSDK_Widget* pWidget = pInterForm->GetWidget(pFormControl)) { in SetLineWidth() local
1321 if (number != pWidget->GetBorderWidth()) { in SetLineWidth()
1322 pWidget->SetBorderWidth(number); in SetLineWidth()
1423 auto* pWidget = static_cast<CPDFSDK_Widget*>(pObserved.Get()); in get_page() local
1424 CPDFSDK_PageView* pPageView = pWidget->GetPageView(); in get_page()
1467 CPDFSDK_Widget* pWidget = in get_print() local
1469 if (!pWidget) in get_print()
1473 pRuntime->NewBoolean(!!(pWidget->GetFlags() & ANNOTFLAG_PRINT))); in get_print()
1489 if (CPDFSDK_Widget* pWidget = in set_print() local
1491 uint32_t dwFlags = pWidget->GetFlags(); in set_print()
1497 if (dwFlags != pWidget->GetFlags()) { in set_print()
1498 pWidget->SetFlags(dwFlags); in set_print()
1515 if (CPDFSDK_Widget* pWidget = pInterForm->GetWidget(pFormControl)) { in set_print() local
1516 uint32_t dwFlags = pWidget->GetFlags(); in set_print()
1522 if (dwFlags != pWidget->GetFlags()) { in set_print()
1523 pWidget->SetFlags(dwFlags); in set_print()
1578 CPDFSDK_Widget* pWidget = in get_rect() local
1580 if (!pWidget) in get_rect()
1583 CFX_FloatRect crRect = pWidget->GetRect(); in get_rect()
1641 if (CPDFSDK_Widget* pWidget = pInterForm->GetWidget(pFormControl)) { in SetRect() local
1644 CPDF_Page* pPDFPage = pWidget->GetPDFPage(); in SetRect()
1648 CFX_FloatRect rcOld = pWidget->GetRect(); in SetRect()
1651 pWidget->SetRect(crRect); in SetRect()
1668 if (CPDFSDK_Widget* pWidget = pInterForm->GetWidget(pFormControl)) { in SetRect() local
1671 CPDF_Page* pPDFPage = pWidget->GetPDFPage(); in SetRect()
1675 CFX_FloatRect rcOld = pWidget->GetRect(); in SetRect()
1678 pWidget->SetRect(crRect); in SetRect()
2509 CPDFSDK_Widget* pWidget = nullptr; in setFocus() local
2511 pWidget = pInterForm->GetWidget(pFormField->GetControl(0)); in setFocus()
2524 pWidget = pTempWidget; in setFocus()
2532 if (pWidget) { in setFocus()
2533 CPDFSDK_Annot::ObservedPtr pObserved(pWidget); in setFocus()