Lines Matching refs:pFormField
193 if (CPDF_FormField* pFormField = pInterForm->GetField(i, csFieldName)) in GetFormFields() local
194 fields.push_back(pFormField); in GetFormFields()
205 CPDF_FormField* pFormField, in UpdateFormField() argument
211 pInterForm->GetWidgets(pFormField, &widgets); in UpdateFormField()
214 int nFieldType = pFormField->GetFieldType(); in UpdateFormField()
283 FX_BOOL Field::ValueIsOccur(CPDF_FormField* pFormField, in ValueIsOccur() argument
285 for (int i = 0, sz = pFormField->CountOptions(); i < sz; i++) { in ValueIsOccur()
286 if (csOptLabel.Compare(pFormField->GetOptionLabel(i)) == 0) in ValueIsOccur()
293 CPDF_FormControl* Field::GetSmartFieldControl(CPDF_FormField* pFormField) { in GetSmartFieldControl() argument
294 if (!pFormField->CountControls() || in GetSmartFieldControl()
295 m_nFormControlIndex >= pFormField->CountControls()) in GetSmartFieldControl()
299 return pFormField->GetControl(0); in GetSmartFieldControl()
301 return pFormField->GetControl(m_nFormControlIndex); in GetSmartFieldControl()
327 CPDF_FormField* pFormField = FieldArray[0]; in alignment() local
328 if (pFormField->GetFieldType() != FIELDTYPE_TEXTFIELD) in alignment()
331 CPDF_FormControl* pFormControl = GetSmartFieldControl(pFormField); in alignment()
383 CPDF_FormField* pFormField = FieldArray[0]; in borderStyle() local
384 if (!pFormField) in borderStyle()
388 GetWidget(m_pDocument, GetSmartFieldControl(pFormField)); in borderStyle()
442 for (CPDF_FormField* pFormField : FieldArray) { in SetBorderStyle()
445 for (int i = 0, sz = pFormField->CountControls(); i < sz; ++i) { in SetBorderStyle()
447 GetWidget(pDocument, pFormField->GetControl(i))) { in SetBorderStyle()
455 UpdateFormField(pDocument, pFormField, TRUE, TRUE, TRUE); in SetBorderStyle()
457 if (nControlIndex >= pFormField->CountControls()) in SetBorderStyle()
460 pFormField->GetControl(nControlIndex)) { in SetBorderStyle()
495 CPDF_FormField* pFormField = FieldArray[0]; in buttonAlignX() local
496 if (pFormField->GetFieldType() != FIELDTYPE_PUSHBUTTON) in buttonAlignX()
499 CPDF_FormControl* pFormControl = GetSmartFieldControl(pFormField); in buttonAlignX()
544 CPDF_FormField* pFormField = FieldArray[0]; in buttonAlignY() local
545 if (pFormField->GetFieldType() != FIELDTYPE_PUSHBUTTON) in buttonAlignY()
548 CPDF_FormControl* pFormControl = GetSmartFieldControl(pFormField); in buttonAlignY()
593 CPDF_FormField* pFormField = FieldArray[0]; in buttonFitBounds() local
594 if (pFormField->GetFieldType() != FIELDTYPE_PUSHBUTTON) in buttonFitBounds()
597 CPDF_FormControl* pFormControl = GetSmartFieldControl(pFormField); in buttonFitBounds()
638 CPDF_FormField* pFormField = FieldArray[0]; in buttonPosition() local
639 if (pFormField->GetFieldType() != FIELDTYPE_PUSHBUTTON) in buttonPosition()
642 CPDF_FormControl* pFormControl = GetSmartFieldControl(pFormField); in buttonPosition()
681 CPDF_FormField* pFormField = FieldArray[0]; in buttonScaleHow() local
682 if (pFormField->GetFieldType() != FIELDTYPE_PUSHBUTTON) in buttonScaleHow()
685 CPDF_FormControl* pFormControl = GetSmartFieldControl(pFormField); in buttonScaleHow()
729 CPDF_FormField* pFormField = FieldArray[0]; in buttonScaleWhen() local
730 if (pFormField->GetFieldType() != FIELDTYPE_PUSHBUTTON) in buttonScaleWhen()
733 CPDF_FormControl* pFormControl = GetSmartFieldControl(pFormField); in buttonScaleWhen()
788 CPDF_FormField* pFormField = FieldArray[0]; in calcOrderIndex() local
789 if (pFormField->GetFieldType() != FIELDTYPE_COMBOBOX && in calcOrderIndex()
790 pFormField->GetFieldType() != FIELDTYPE_TEXTFIELD) { in calcOrderIndex()
796 vp << (int32_t)pInterForm->FindFieldInCalculationOrder(pFormField); in calcOrderIndex()
831 CPDF_FormField* pFormField = FieldArray[0]; in charLimit() local
832 if (pFormField->GetFieldType() != FIELDTYPE_TEXTFIELD) in charLimit()
835 vp << (int32_t)pFormField->GetMaxLen(); in charLimit()
869 CPDF_FormField* pFormField = FieldArray[0]; in comb() local
870 if (pFormField->GetFieldType() != FIELDTYPE_TEXTFIELD) in comb()
873 if (pFormField->GetFieldFlags() & FIELDFLAG_COMB) in comb()
912 CPDF_FormField* pFormField = FieldArray[0]; in commitOnSelChange() local
913 if (pFormField->GetFieldType() != FIELDTYPE_COMBOBOX && in commitOnSelChange()
914 pFormField->GetFieldType() != FIELDTYPE_LISTBOX) { in commitOnSelChange()
918 if (pFormField->GetFieldFlags() & FIELDFLAG_COMMITONSELCHANGE) in commitOnSelChange()
972 CPDF_FormField* pFormField = FieldArray[0]; in currentValueIndices() local
973 if (pFormField->GetFieldType() != FIELDTYPE_COMBOBOX && in currentValueIndices()
974 pFormField->GetFieldType() != FIELDTYPE_LISTBOX) { in currentValueIndices()
978 if (pFormField->CountSelectedItems() == 1) { in currentValueIndices()
979 vp << pFormField->GetSelectedIndex(0); in currentValueIndices()
980 } else if (pFormField->CountSelectedItems() > 1) { in currentValueIndices()
982 for (int i = 0, sz = pFormField->CountSelectedItems(); i < sz; i++) { in currentValueIndices()
984 i, CJS_Value(pRuntime, pFormField->GetSelectedIndex(i))); in currentValueIndices()
1003 for (CPDF_FormField* pFormField : FieldArray) { in SetCurrentValueIndices()
1004 int nFieldType = pFormField->GetFieldType(); in SetCurrentValueIndices()
1006 FX_DWORD dwFieldFlags = pFormField->GetFieldFlags(); in SetCurrentValueIndices()
1007 pFormField->ClearSelection(TRUE); in SetCurrentValueIndices()
1015 if (iSelecting < pFormField->CountOptions() && in SetCurrentValueIndices()
1016 !pFormField->IsItemSelected(iSelecting)) in SetCurrentValueIndices()
1017 pFormField->SetItemSelection(iSelecting, TRUE); in SetCurrentValueIndices()
1019 UpdateFormField(pDocument, pFormField, TRUE, TRUE, TRUE); in SetCurrentValueIndices()
1059 CPDF_FormField* pFormField = FieldArray[0]; in defaultValue() local
1060 if (pFormField->GetFieldType() == FIELDTYPE_PUSHBUTTON || in defaultValue()
1061 pFormField->GetFieldType() == FIELDTYPE_SIGNATURE) { in defaultValue()
1065 vp << pFormField->GetDefaultValue(); in defaultValue()
1099 CPDF_FormField* pFormField = FieldArray[0]; in doNotScroll() local
1100 if (pFormField->GetFieldType() != FIELDTYPE_TEXTFIELD) in doNotScroll()
1103 if (pFormField->GetFieldFlags() & FIELDFLAG_DONOTSCROLL) in doNotScroll()
1135 CPDF_FormField* pFormField = FieldArray[0]; in doNotSpellCheck() local
1136 if (pFormField->GetFieldType() != FIELDTYPE_TEXTFIELD && in doNotSpellCheck()
1137 pFormField->GetFieldType() != FIELDTYPE_COMBOBOX) { in doNotSpellCheck()
1141 if (pFormField->GetFieldFlags() & FIELDFLAG_DONOTSPELLCHECK) in doNotSpellCheck()
1196 CPDF_FormField* pFormField = FieldArray[0]; in display() local
1197 ASSERT(pFormField); in display()
1201 pInterForm->GetWidget(GetSmartFieldControl(pFormField)); in display()
1232 for (CPDF_FormField* pFormField : FieldArray) { in SetDisplay()
1235 for (int i = 0, sz = pFormField->CountControls(); i < sz; ++i) { in SetDisplay()
1236 CPDF_FormControl* pFormControl = pFormField->GetControl(i); in SetDisplay()
1274 UpdateFormField(pDocument, pFormField, TRUE, FALSE, TRUE); in SetDisplay()
1276 if (nControlIndex >= pFormField->CountControls()) in SetDisplay()
1279 pFormField->GetControl(nControlIndex)) { in SetDisplay()
1338 CPDF_FormField* pFormField = FieldArray[0]; in editable() local
1339 if (pFormField->GetFieldType() != FIELDTYPE_COMBOBOX) in editable()
1342 if (pFormField->GetFieldFlags() & FIELDFLAG_EDIT) in editable()
1358 CPDF_FormField* pFormField = FieldArray[0]; in exportValues() local
1359 if (pFormField->GetFieldType() != FIELDTYPE_CHECKBOX && in exportValues()
1360 pFormField->GetFieldType() != FIELDTYPE_RADIOBUTTON) { in exportValues()
1374 for (int i = 0, sz = pFormField->CountControls(); i < sz; i++) { in exportValues()
1375 CPDF_FormControl* pFormControl = pFormField->GetControl(i); in exportValues()
1380 if (m_nFormControlIndex >= pFormField->CountControls()) in exportValues()
1384 pFormField->GetControl(m_nFormControlIndex); in exportValues()
1403 CPDF_FormField* pFormField = FieldArray[0]; in fileSelect() local
1404 if (pFormField->GetFieldType() != FIELDTYPE_TEXTFIELD) in fileSelect()
1414 if (pFormField->GetFieldFlags() & FIELDFLAG_FILESELECT) in fileSelect()
1448 CPDF_FormField* pFormField = FieldArray[0]; in fillColor() local
1449 ASSERT(pFormField); in fillColor()
1450 CPDF_FormControl* pFormControl = GetSmartFieldControl(pFormField); in fillColor()
1512 CPDF_FormField* pFormField = FieldArray[0]; in hidden() local
1513 ASSERT(pFormField); in hidden()
1517 pInterForm->GetWidget(GetSmartFieldControl(pFormField)); in hidden()
1539 for (CPDF_FormField* pFormField : FieldArray) { in SetHidden()
1542 for (int i = 0, sz = pFormField->CountControls(); i < sz; ++i) { in SetHidden()
1544 pInterForm->GetWidget(pFormField->GetControl(i))) { in SetHidden()
1566 UpdateFormField(pDocument, pFormField, TRUE, FALSE, TRUE); in SetHidden()
1568 if (nControlIndex >= pFormField->CountControls()) in SetHidden()
1571 pFormField->GetControl(nControlIndex)) { in SetHidden()
1619 CPDF_FormField* pFormField = FieldArray[0]; in highlight() local
1620 if (pFormField->GetFieldType() != FIELDTYPE_PUSHBUTTON) in highlight()
1623 CPDF_FormControl* pFormControl = GetSmartFieldControl(pFormField); in highlight()
1678 CPDF_FormField* pFormField = FieldArray[0]; in lineWidth() local
1679 ASSERT(pFormField); in lineWidth()
1680 CPDF_FormControl* pFormControl = GetSmartFieldControl(pFormField); in lineWidth()
1686 if (!pFormField->CountControls()) in lineWidth()
1689 CPDFSDK_Widget* pWidget = pInterForm->GetWidget(pFormField->GetControl(0)); in lineWidth()
1707 for (CPDF_FormField* pFormField : FieldArray) { in SetLineWidth()
1710 for (int i = 0, sz = pFormField->CountControls(); i < sz; ++i) { in SetLineWidth()
1711 CPDF_FormControl* pFormControl = pFormField->GetControl(i); in SetLineWidth()
1722 UpdateFormField(pDocument, pFormField, TRUE, TRUE, TRUE); in SetLineWidth()
1724 if (nControlIndex >= pFormField->CountControls()) in SetLineWidth()
1727 pFormField->GetControl(nControlIndex)) { in SetLineWidth()
1761 CPDF_FormField* pFormField = FieldArray[0]; in multiline() local
1762 if (pFormField->GetFieldType() != FIELDTYPE_TEXTFIELD) in multiline()
1765 if (pFormField->GetFieldFlags() & FIELDFLAG_MULTILINE) in multiline()
1804 CPDF_FormField* pFormField = FieldArray[0]; in multipleSelection() local
1805 if (pFormField->GetFieldType() != FIELDTYPE_LISTBOX) in multipleSelection()
1808 if (pFormField->GetFieldFlags() & FIELDFLAG_MULTISELECT) in multipleSelection()
1849 CPDF_FormField* pFormField = FieldArray[0]; in numItems() local
1850 if (pFormField->GetFieldType() != FIELDTYPE_COMBOBOX && in numItems()
1851 pFormField->GetFieldType() != FIELDTYPE_LISTBOX) { in numItems()
1855 vp << (int32_t)pFormField->CountOptions(); in numItems()
1869 CPDF_FormField* pFormField = FieldArray[0]; in page() local
1870 if (!pFormField) in page()
1874 m_pDocument->GetInterForm()->GetWidgets(pFormField, &widgets); in page()
1918 CPDF_FormField* pFormField = FieldArray[0]; in password() local
1919 if (pFormField->GetFieldType() != FIELDTYPE_TEXTFIELD) in password()
1922 if (pFormField->GetFieldFlags() & FIELDFLAG_PASSWORD) in password()
1954 for (CPDF_FormField* pFormField : FieldArray) { in print()
1957 for (int i = 0, sz = pFormField->CountControls(); i < sz; ++i) { in print()
1959 pInterForm->GetWidget(pFormField->GetControl(i))) { in print()
1974 UpdateFormField(m_pDocument, pFormField, TRUE, FALSE, TRUE); in print()
1976 if (m_nFormControlIndex >= pFormField->CountControls()) in print()
1979 pFormField->GetControl(m_nFormControlIndex)) { in print()
1990 pFormField->GetControl(m_nFormControlIndex), in print()
1998 CPDF_FormField* pFormField = FieldArray[0]; in print() local
2000 pInterForm->GetWidget(GetSmartFieldControl(pFormField)); in print()
2028 CPDF_FormField* pFormField = FieldArray[0]; in radiosInUnison() local
2029 if (pFormField->GetFieldType() != FIELDTYPE_RADIOBUTTON) in radiosInUnison()
2032 if (pFormField->GetFieldFlags() & FIELDFLAG_RADIOSINUNISON) in radiosInUnison()
2056 CPDF_FormField* pFormField = FieldArray[0]; in readonly() local
2057 if (pFormField->GetFieldFlags() & FIELDFLAG_READONLY) in readonly()
2105 CPDF_FormField* pFormField = FieldArray[0]; in rect() local
2109 pInterForm->GetWidget(GetSmartFieldControl(pFormField)); in rect()
2137 for (CPDF_FormField* pFormField : FieldArray) { in SetRect()
2140 for (int i = 0, sz = pFormField->CountControls(); i < sz; ++i) { in SetRect()
2141 CPDF_FormControl* pFormControl = pFormField->GetControl(i); in SetRect()
2162 UpdateFormField(pDocument, pFormField, TRUE, TRUE, TRUE); in SetRect()
2164 if (nControlIndex >= pFormField->CountControls()) in SetRect()
2167 pFormField->GetControl(nControlIndex)) { in SetRect()
2203 CPDF_FormField* pFormField = FieldArray[0]; in required() local
2204 if (pFormField->GetFieldType() == FIELDTYPE_PUSHBUTTON) in required()
2207 if (pFormField->GetFieldFlags() & FIELDFLAG_REQUIRED) in required()
2238 CPDF_FormField* pFormField = FieldArray[0]; in richText() local
2239 if (pFormField->GetFieldType() != FIELDTYPE_TEXTFIELD) in richText()
2242 if (pFormField->GetFieldFlags() & FIELDFLAG_RICHTEXT) in richText()
2292 CPDF_FormField* pFormField = FieldArray[0]; in rotation() local
2293 CPDF_FormControl* pFormControl = GetSmartFieldControl(pFormField); in rotation()
2339 CPDF_FormField* pFormField = FieldArray[0]; in strokeColor() local
2340 CPDF_FormControl* pFormControl = GetSmartFieldControl(pFormField); in strokeColor()
2403 CPDF_FormField* pFormField = FieldArray[0]; in style() local
2404 if (pFormField->GetFieldType() != FIELDTYPE_RADIOBUTTON && in style()
2405 pFormField->GetFieldType() != FIELDTYPE_CHECKBOX) { in style()
2409 CPDF_FormControl* pFormControl = GetSmartFieldControl(pFormField); in style()
2483 CPDF_FormField* pFormField = FieldArray[0]; in textColor() local
2484 CPDF_FormControl* pFormControl = GetSmartFieldControl(pFormField); in textColor()
2540 CPDF_FormField* pFormField = FieldArray[0]; in textFont() local
2541 ASSERT(pFormField); in textFont()
2542 CPDF_FormControl* pFormControl = GetSmartFieldControl(pFormField); in textFont()
2546 int nFieldType = pFormField->GetFieldType(); in textFont()
2593 CPDF_FormField* pFormField = FieldArray[0]; in textSize() local
2594 ASSERT(pFormField); in textSize()
2595 CPDF_FormControl* pFormControl = GetSmartFieldControl(pFormField); in textSize()
2629 CPDF_FormField* pFormField = FieldArray[0]; in type() local
2630 switch (pFormField->GetFieldType()) { in type()
2685 CPDF_FormField* pFormField = FieldArray[0]; in userName() local
2686 vp << (CFX_WideString)pFormField->GetAlternateName(); in userName()
2734 CPDF_FormField* pFormField = FieldArray[0]; in value() local
2735 switch (pFormField->GetFieldType()) { in value()
2740 CFX_WideString swValue = pFormField->GetValue(); in value()
2755 if (pFormField->CountSelectedItems() > 1) { in value()
2759 for (int i = 0, sz = pFormField->CountSelectedItems(); i < sz; i++) { in value()
2760 iIndex = pFormField->GetSelectedIndex(i); in value()
2761 ElementValue = pFormField->GetOptionValue(iIndex).c_str(); in value()
2763 ElementValue = pFormField->GetOptionLabel(iIndex).c_str(); in value()
2768 CFX_WideString swValue = pFormField->GetValue(); in value()
2786 for (int i = 0, sz = pFormField->CountControls(); i < sz; i++) { in value()
2787 if (!pFormField->GetControl(i)->IsChecked()) in value()
2790 CFX_WideString swValue = pFormField->GetControl(i)->GetExportValue(); in value()
2807 vp << pFormField->GetValue(); in value()
2827 for (CPDF_FormField* pFormField : FieldArray) { in SetValue()
2828 if (pFormField->GetFullName().Compare(swFieldName) != 0) in SetValue()
2831 switch (pFormField->GetFieldType()) { in SetValue()
2834 if (pFormField->GetValue() != strArray.GetAt(0)) { in SetValue()
2836 pFormField->SetValue(strArray.GetAt(0), TRUE); in SetValue()
2837 UpdateFormField(pDocument, pFormField, TRUE, FALSE, TRUE); in SetValue()
2842 if (pFormField->GetValue() != strArray.GetAt(0)) { in SetValue()
2843 pFormField->SetValue(strArray.GetAt(0), TRUE); in SetValue()
2844 UpdateFormField(pDocument, pFormField, TRUE, FALSE, TRUE); in SetValue()
2851 int iIndex = pFormField->FindOption(strArray.GetAt(i)); in SetValue()
2853 if (!pFormField->IsItemSelected(iIndex)) { in SetValue()
2860 pFormField->ClearSelection(TRUE); in SetValue()
2862 int iIndex = pFormField->FindOption(strArray.GetAt(i)); in SetValue()
2863 pFormField->SetItemSelection(iIndex, TRUE, TRUE); in SetValue()
2866 UpdateFormField(pDocument, pFormField, TRUE, FALSE, TRUE); in SetValue()
2885 CPDF_FormField* pFormField = FieldArray[0]; in valueAsString() local
2886 if (pFormField->GetFieldType() == FIELDTYPE_PUSHBUTTON) in valueAsString()
2889 if (pFormField->GetFieldType() == FIELDTYPE_CHECKBOX) { in valueAsString()
2890 if (!pFormField->CountControls()) in valueAsString()
2893 if (pFormField->GetControl(0)->IsChecked()) in valueAsString()
2897 } else if (pFormField->GetFieldType() == FIELDTYPE_RADIOBUTTON && in valueAsString()
2898 !(pFormField->GetFieldFlags() & FIELDFLAG_RADIOSINUNISON)) { in valueAsString()
2899 for (int i = 0, sz = pFormField->CountControls(); i < sz; i++) { in valueAsString()
2900 if (pFormField->GetControl(i)->IsChecked()) { in valueAsString()
2901 vp << pFormField->GetControl(i)->GetExportValue().c_str(); in valueAsString()
2907 } else if (pFormField->GetFieldType() == FIELDTYPE_LISTBOX && in valueAsString()
2908 (pFormField->CountSelectedItems() > 1)) { in valueAsString()
2911 vp << pFormField->GetValue().c_str(); in valueAsString()
2925 CPDF_FormField* pFormField = FieldArray[0]; in browseForFileToSubmit() local
2927 if ((pFormField->GetFieldFlags() & FIELDFLAG_FILESELECT) && in browseForFileToSubmit()
2928 (pFormField->GetFieldType() == FIELDTYPE_TEXTFIELD)) { in browseForFileToSubmit()
2931 pFormField->SetValue(wsFileName); in browseForFileToSubmit()
2932 UpdateFormField(m_pDocument, pFormField, TRUE, TRUE, TRUE); in browseForFileToSubmit()
2952 CPDF_FormField* pFormField = FieldArray[0]; in buttonGetCaption() local
2953 if (pFormField->GetFieldType() != FIELDTYPE_PUSHBUTTON) in buttonGetCaption()
2956 CPDF_FormControl* pFormControl = GetSmartFieldControl(pFormField); in buttonGetCaption()
2985 CPDF_FormField* pFormField = FieldArray[0]; in buttonGetIcon() local
2986 if (pFormField->GetFieldType() != FIELDTYPE_PUSHBUTTON) in buttonGetIcon()
2989 CPDF_FormControl* pFormControl = GetSmartFieldControl(pFormField); in buttonGetIcon()
3062 CPDF_FormField* pFormField = FieldArray[0]; in checkThisBox() local
3063 if (pFormField->GetFieldType() != FIELDTYPE_CHECKBOX && in checkThisBox()
3064 pFormField->GetFieldType() != FIELDTYPE_RADIOBUTTON) in checkThisBox()
3066 if (nWidget < 0 || nWidget >= pFormField->CountControls()) in checkThisBox()
3068 if (pFormField->GetFieldType() == FIELDTYPE_RADIOBUTTON) in checkThisBox()
3069 pFormField->CheckControl(nWidget, bCheckit, TRUE); in checkThisBox()
3071 pFormField->CheckControl(nWidget, bCheckit, TRUE); in checkThisBox()
3073 UpdateFormField(m_pDocument, pFormField, TRUE, TRUE, TRUE); in checkThisBox()
3101 CPDF_FormField* pFormField = FieldArray[0]; in defaultIsChecked() local
3102 if (nWidget < 0 || nWidget >= pFormField->CountControls()) { in defaultIsChecked()
3106 vRet = pFormField->GetFieldType() == FIELDTYPE_CHECKBOX || in defaultIsChecked()
3107 pFormField->GetFieldType() == FIELDTYPE_RADIOBUTTON; in defaultIsChecked()
3133 for (CPDF_FormField* pFormField : FieldArray) in getArray()
3134 swSort.Add(new CFX_WideString(pFormField->GetFullName())); in getArray()
3181 CPDF_FormField* pFormField = FieldArray[0]; in getItemAt() local
3182 if ((pFormField->GetFieldType() == FIELDTYPE_LISTBOX) || in getItemAt()
3183 (pFormField->GetFieldType() == FIELDTYPE_COMBOBOX)) { in getItemAt()
3184 if (nIdx == -1 || nIdx > pFormField->CountOptions()) in getItemAt()
3185 nIdx = pFormField->CountOptions() - 1; in getItemAt()
3187 CFX_WideString strval = pFormField->GetOptionValue(nIdx); in getItemAt()
3189 vRet = pFormField->GetOptionLabel(nIdx).c_str(); in getItemAt()
3193 vRet = pFormField->GetOptionLabel(nIdx).c_str(); in getItemAt()
3228 CPDF_FormField* pFormField = FieldArray[0]; in isBoxChecked() local
3229 if (nIndex < 0 || nIndex >= pFormField->CountControls()) { in isBoxChecked()
3234 if ((pFormField->GetFieldType() == FIELDTYPE_CHECKBOX) || in isBoxChecked()
3235 (pFormField->GetFieldType() == FIELDTYPE_RADIOBUTTON)) { in isBoxChecked()
3236 if (pFormField->GetControl(nIndex)->IsChecked() != 0) in isBoxChecked()
3259 CPDF_FormField* pFormField = FieldArray[0]; in isDefaultChecked() local
3260 if (nIndex < 0 || nIndex >= pFormField->CountControls()) { in isDefaultChecked()
3264 if ((pFormField->GetFieldType() == FIELDTYPE_CHECKBOX) || in isDefaultChecked()
3265 (pFormField->GetFieldType() == FIELDTYPE_RADIOBUTTON)) { in isDefaultChecked()
3266 if (pFormField->GetControl(nIndex)->IsDefaultChecked() != 0) in isDefaultChecked()
3292 CPDF_FormField* pFormField = FieldArray[0]; in setFocus() local
3293 int32_t nCount = pFormField->CountControls(); in setFocus()
3301 pWidget = pInterForm->GetWidget(pFormField->GetControl(0)); in setFocus()
3311 pInterForm->GetWidget(pFormField->GetControl(i))) { in setFocus()