Lines Matching refs:pFormControl
319 CPDF_FormControl* pFormControl, in UpdateFormControl() argument
323 ASSERT(pFormControl); in UpdateFormControl()
326 CPDFSDK_Widget* pWidget = pForm->GetWidget(pFormControl); in UpdateFormControl()
357 CPDF_FormControl* pFormControl) { in GetWidget() argument
360 return pInterForm ? pInterForm->GetWidget(pFormControl) : nullptr; in GetWidget()
392 CPDF_FormControl* pFormControl = GetSmartFieldControl(pFormField); in get_alignment() local
393 if (!pFormControl) in get_alignment()
396 switch (pFormControl->GetControlAlignment()) { in get_alignment()
500 if (CPDF_FormControl* pFormControl = in SetBorderStyle() local
502 if (CPDFSDK_Widget* pWidget = GetWidget(pFormFillEnv, pFormControl)) { in SetBorderStyle()
505 UpdateFormControl(pFormFillEnv, pFormControl, true, true, true); in SetBorderStyle()
524 CPDF_FormControl* pFormControl = GetSmartFieldControl(pFormField); in get_button_align_x() local
525 if (!pFormControl) in get_button_align_x()
528 CPDF_IconFit IconFit = pFormControl->GetIconFit(); in get_button_align_x()
554 CPDF_FormControl* pFormControl = GetSmartFieldControl(pFormField); in get_button_align_y() local
555 if (!pFormControl) in get_button_align_y()
558 CPDF_IconFit IconFit = pFormControl->GetIconFit(); in get_button_align_y()
584 CPDF_FormControl* pFormControl = GetSmartFieldControl(pFormField); in get_button_fit_bounds() local
585 if (!pFormControl) in get_button_fit_bounds()
589 pRuntime->NewBoolean(pFormControl->GetIconFit().GetFittingBounds())); in get_button_fit_bounds()
609 CPDF_FormControl* pFormControl = GetSmartFieldControl(pFormField); in get_button_position() local
610 if (!pFormControl) in get_button_position()
613 return CJS_Return(pRuntime->NewNumber(pFormControl->GetTextPosition())); in get_button_position()
633 CPDF_FormControl* pFormControl = GetSmartFieldControl(pFormField); in get_button_scale_how() local
634 if (!pFormControl) in get_button_scale_how()
638 pFormControl->GetIconFit().IsProportionalScale() ? 0 : 1)); in get_button_scale_how()
658 CPDF_FormControl* pFormControl = GetSmartFieldControl(pFormField); in get_button_scale_when() local
659 if (!pFormControl) in get_button_scale_when()
662 CPDF_IconFit IconFit = pFormControl->GetIconFit(); in get_button_scale_when()
1000 CPDF_FormControl* pFormControl = pFormField->GetControl(i); in SetDisplay() local
1001 ASSERT(pFormControl); in SetDisplay()
1003 CPDFSDK_Widget* pWidget = pInterForm->GetWidget(pFormControl); in SetDisplay()
1014 CPDF_FormControl* pFormControl = pFormField->GetControl(nControlIndex); in SetDisplay() local
1015 if (!pFormControl) in SetDisplay()
1018 CPDFSDK_Widget* pWidget = pInterForm->GetWidget(pFormControl); in SetDisplay()
1020 UpdateFormControl(pFormFillEnv, pFormControl, true, false, true); in SetDisplay()
1064 CPDF_FormControl* pFormControl = pFormField->GetControl(i); in get_export_values() local
1067 pRuntime->NewString(pFormControl->GetExportValue().c_str())); in get_export_values()
1073 CPDF_FormControl* pFormControl = in get_export_values() local
1075 if (!pFormControl) in get_export_values()
1080 pRuntime->NewString(pFormControl->GetExportValue().c_str())); in get_export_values()
1132 CPDF_FormControl* pFormControl = GetSmartFieldControl(pFormField); in get_fill_color() local
1133 if (!pFormControl) in get_fill_color()
1137 pFormControl->GetBackgroundColor(iColorType); in get_fill_color()
1144 pFormControl->GetOriginalBackgroundColor(0)); in get_fill_color()
1147 CFX_Color(CFX_Color::kRGB, pFormControl->GetOriginalBackgroundColor(0), in get_fill_color()
1148 pFormControl->GetOriginalBackgroundColor(1), in get_fill_color()
1149 pFormControl->GetOriginalBackgroundColor(2)); in get_fill_color()
1152 CFX_Color(CFX_Color::kCMYK, pFormControl->GetOriginalBackgroundColor(0), in get_fill_color()
1153 pFormControl->GetOriginalBackgroundColor(1), in get_fill_color()
1154 pFormControl->GetOriginalBackgroundColor(2), in get_fill_color()
1155 pFormControl->GetOriginalBackgroundColor(3)); in get_fill_color()
1229 CPDF_FormControl* pFormControl = GetSmartFieldControl(pFormField); in get_highlight() local
1230 if (!pFormControl) in get_highlight()
1233 int eHM = pFormControl->GetHighlightingMode(); in get_highlight()
1263 CPDF_FormControl* pFormControl = GetSmartFieldControl(pFormField); in get_line_width() local
1264 if (!pFormControl) in get_line_width()
1303 CPDF_FormControl* pFormControl = pFormField->GetControl(i); in SetLineWidth() local
1304 ASSERT(pFormControl); in SetLineWidth()
1306 if (CPDFSDK_Widget* pWidget = pInterForm->GetWidget(pFormControl)) { in SetLineWidth()
1318 if (CPDF_FormControl* pFormControl = in SetLineWidth() local
1320 if (CPDFSDK_Widget* pWidget = pInterForm->GetWidget(pFormControl)) { in SetLineWidth()
1323 UpdateFormControl(pFormFillEnv, pFormControl, true, true, true); in SetLineWidth()
1513 if (CPDF_FormControl* pFormControl = in set_print() local
1515 if (CPDFSDK_Widget* pWidget = pInterForm->GetWidget(pFormControl)) { in set_print()
1638 CPDF_FormControl* pFormControl = pFormField->GetControl(i); in SetRect() local
1639 ASSERT(pFormControl); in SetRect()
1641 if (CPDFSDK_Widget* pWidget = pInterForm->GetWidget(pFormControl)) { in SetRect()
1666 if (CPDF_FormControl* pFormControl = in SetRect() local
1668 if (CPDFSDK_Widget* pWidget = pInterForm->GetWidget(pFormControl)) { in SetRect()
1679 UpdateFormControl(pFormFillEnv, pFormControl, true, true, true); in SetRect()
1745 CPDF_FormControl* pFormControl = GetSmartFieldControl(pFormField); in get_rotation() local
1746 if (!pFormControl) in get_rotation()
1749 return CJS_Return(pRuntime->NewNumber(pFormControl->GetRotation())); in get_rotation()
1763 CPDF_FormControl* pFormControl = GetSmartFieldControl(pFormField); in get_stroke_color() local
1764 if (!pFormControl) in get_stroke_color()
1768 pFormControl->GetBorderColor(iColorType); in get_stroke_color()
1775 CFX_Color(CFX_Color::kGray, pFormControl->GetOriginalBorderColor(0)); in get_stroke_color()
1777 color = CFX_Color(CFX_Color::kRGB, pFormControl->GetOriginalBorderColor(0), in get_stroke_color()
1778 pFormControl->GetOriginalBorderColor(1), in get_stroke_color()
1779 pFormControl->GetOriginalBorderColor(2)); in get_stroke_color()
1781 color = CFX_Color(CFX_Color::kCMYK, pFormControl->GetOriginalBorderColor(0), in get_stroke_color()
1782 pFormControl->GetOriginalBorderColor(1), in get_stroke_color()
1783 pFormControl->GetOriginalBorderColor(2), in get_stroke_color()
1784 pFormControl->GetOriginalBorderColor(3)); in get_stroke_color()
1817 CPDF_FormControl* pFormControl = GetSmartFieldControl(pFormField); in get_style() local
1818 if (!pFormControl) in get_style()
1821 WideString csWCaption = pFormControl->GetNormalCaption(); in get_style()
1868 CPDF_FormControl* pFormControl = GetSmartFieldControl(pFormField); in get_text_color() local
1869 if (!pFormControl) in get_text_color()
1874 CPDF_DefaultAppearance FieldAppearance = pFormControl->GetDefaultAppearance(); in get_text_color()
1913 CPDF_FormControl* pFormControl = GetSmartFieldControl(pFormField); in get_text_font() local
1914 if (!pFormControl) in get_text_font()
1925 CPDF_Font* pFont = pFormControl->GetDefaultControlFont(); in get_text_font()
1952 CPDF_FormControl* pFormControl = GetSmartFieldControl(pFormField); in get_text_size() local
1953 if (!pFormControl) in get_text_size()
1957 CPDF_DefaultAppearance FieldAppearance = pFormControl->GetDefaultAppearance(); in get_text_size()
2230 CPDF_FormControl* pFormControl = GetSmartFieldControl(pFormField); in buttonGetCaption() local
2231 if (!pFormControl) in buttonGetCaption()
2236 pRuntime->NewString(pFormControl->GetNormalCaption().c_str())); in buttonGetCaption()
2239 pRuntime->NewString(pFormControl->GetDownCaption().c_str())); in buttonGetCaption()
2242 pRuntime->NewString(pFormControl->GetRolloverCaption().c_str())); in buttonGetCaption()
2264 CPDF_FormControl* pFormControl = GetSmartFieldControl(pFormField); in buttonGetIcon() local
2265 if (!pFormControl) in buttonGetIcon()