/external/pdfium/fxjs/ |
D | cjs_field.cpp | 31 bool IsCheckBoxOrRadioButton(const CPDF_FormField* pFormField) { in IsCheckBoxOrRadioButton() argument 32 return pFormField->GetFieldType() == FormFieldType::kCheckBox || in IsCheckBoxOrRadioButton() 33 pFormField->GetFieldType() == FormFieldType::kRadioButton; in IsCheckBoxOrRadioButton() 36 bool IsComboBoxOrListBox(const CPDF_FormField* pFormField) { in IsComboBoxOrListBox() argument 37 return pFormField->GetFieldType() == FormFieldType::kComboBox || in IsComboBoxOrListBox() 38 pFormField->GetFieldType() == FormFieldType::kListBox; in IsComboBoxOrListBox() 41 bool IsComboBoxOrTextField(const CPDF_FormField* pFormField) { in IsComboBoxOrTextField() argument 42 return pFormField->GetFieldType() == FormFieldType::kComboBox || in IsComboBoxOrTextField() 43 pFormField->GetFieldType() == FormFieldType::kTextField; in IsComboBoxOrTextField() 47 CPDF_FormField* pFormField, in UpdateFormField() argument [all …]
|
D | cjs_publicmethods.cpp | 1303 CPDF_FormField* pFormField = pForm->GetField(j, wsFieldName); in AFSimple_Calculate() local 1304 if (!pFormField) in AFSimple_Calculate() 1308 switch (pFormField->GetFieldType()) { in AFSimple_Calculate() 1311 WideString trimmed = pFormField->GetValue(); in AFSimple_Calculate() 1321 for (int c = 0; c < pFormField->CountControls(); ++c) { in AFSimple_Calculate() 1322 CPDF_FormControl* pFormCtrl = pFormField->GetControl(c); in AFSimple_Calculate() 1323 if (!pFormField || !pFormCtrl->IsChecked()) in AFSimple_Calculate() 1334 if (pFormField->CountSelectedItems() <= 1) { in AFSimple_Calculate() 1335 WideString trimmed = pFormField->GetValue(); in AFSimple_Calculate()
|
D | cjs_field.h | 355 CPDF_FormControl* GetSmartFieldControl(CPDF_FormField* pFormField);
|
/external/pdfium/fpdfsdk/ |
D | cpdfsdk_widget.cpp | 269 CPDF_FormField* pFormField = GetFormField(); in Synchronize() local 280 node->SetValue(XFA_VALUEPICTURE_Edit, pFormField->GetValue()); in Synchronize() 286 for (int i = 0; i < pFormField->CountSelectedItems(); ++i) { in Synchronize() 287 int nIndex = pFormField->GetSelectedIndex(i); in Synchronize() 292 node->SetValue(XFA_VALUEPICTURE_Edit, pFormField->GetValue()); in Synchronize() 446 CPDF_FormField* pFormField = GetFormField(); in GetSelectedIndex() local 447 return pFormField->GetSelectedIndex(nIndex); in GetSelectedIndex() 458 CPDF_FormField* pFormField = GetFormField(); in GetValue() local 459 return pFormField->GetValue(); in GetValue() 463 CPDF_FormField* pFormField = GetFormField(); in GetDefaultValue() local [all …]
|
D | cpdfsdk_interactiveform.cpp | 160 CPDF_FormField* pFormField = m_pInteractiveForm->GetField(i, sFieldName); in GetWidgets() local 161 ASSERT(pFormField); in GetWidgets() 162 GetWidgets(pFormField, widgets); in GetWidgets() 231 void CPDFSDK_InteractiveForm::SynchronizeField(CPDF_FormField* pFormField) { in SynchronizeField() argument 232 for (int i = 0, sz = pFormField->CountControls(); i < sz; i++) { in SynchronizeField() 233 CPDF_FormControl* pFormCtrl = pFormField->GetControl(i); in SynchronizeField() 240 void CPDFSDK_InteractiveForm::OnCalculate(CPDF_FormField* pFormField) { in OnCalculate() argument 280 pContext->OnField_Calculate(pFormField, pField, &sValue, &bRC); in OnCalculate() 289 CPDF_FormField* pFormField) { in OnFormat() argument 293 WideString sValue = pFormField->GetValue(); in OnFormat() [all …]
|
D | cpdfsdk_actionhandler.cpp | 48 CPDF_FormField* pFormField, in DoAction_FieldJavaScript() argument 55 RunFieldJavaScript(pFormFillEnv, pFormField, type, data, swJS); in DoAction_FieldJavaScript() 82 CPDF_FormField* pFormField, in DoAction_Field() argument 85 return ExecuteFieldAction(action, type, pFormFillEnv, pFormField, data, in DoAction_Field() 167 CPDF_FormField* pFormField, in ExecuteFieldAction() argument 181 RunFieldJavaScript(pFormFillEnv, pFormField, type, data, swJS); in ExecuteFieldAction() 182 if (!IsValidField(pFormFillEnv, pFormField->GetFieldDict())) in ExecuteFieldAction() 192 if (!ExecuteFieldAction(subaction, type, pFormFillEnv, pFormField, data, in ExecuteFieldAction() 289 CPDF_FormField* pFormField, in RunFieldJavaScript() argument 297 [type, data, pFormField](IJS_EventContext* context) { in RunFieldJavaScript() [all …]
|
D | cpdfsdk_interactiveform.h | 57 void SynchronizeField(CPDF_FormField* pFormField); 60 bool OnKeyStrokeCommit(CPDF_FormField* pFormField, const WideString& csValue); 61 bool OnValidate(CPDF_FormField* pFormField, const WideString& csValue); 62 void OnCalculate(CPDF_FormField* pFormField); 63 Optional<WideString> OnFormat(CPDF_FormField* pFormField); 65 void ResetFieldAppearance(CPDF_FormField* pFormField, 67 void UpdateField(CPDF_FormField* pFormField);
|
D | fpdf_annot.cpp | 932 CPDF_FormField* pFormField = GetFormField(hHandle, annot); in FPDFAnnot_GetFormFieldFlags() local 933 return pFormField ? pFormField->GetFieldFlags() : FPDF_FORMFLAG_NONE; in FPDFAnnot_GetFormFieldFlags() 965 CPDF_FormField* pFormField = GetFormField(hHandle, annot); in FPDFAnnot_GetFormFieldName() local 966 if (!pFormField) in FPDFAnnot_GetFormFieldName() 968 return Utf16EncodeMaybeCopyAndReturnLength(pFormField->GetFullName(), buffer, in FPDFAnnot_GetFormFieldName() 974 CPDF_FormField* pFormField = GetFormField(hHandle, annot); in FPDFAnnot_GetFormFieldType() local 975 return pFormField ? static_cast<int>(pFormField->GetFieldType()) : -1; in FPDFAnnot_GetFormFieldType() 983 CPDF_FormField* pFormField = GetFormField(hHandle, annot); in FPDFAnnot_GetFormFieldValue() local 984 if (!pFormField) in FPDFAnnot_GetFormFieldValue() 986 return Utf16EncodeMaybeCopyAndReturnLength(pFormField->GetValue(), buffer, in FPDFAnnot_GetFormFieldValue() [all …]
|
D | cpdfsdk_actionhandler.h | 40 CPDF_FormField* pFormField, 45 CPDF_FormField* pFormField, 65 CPDF_FormField* pFormField, 79 CPDF_FormField* pFormField,
|
D | fpdf_formfill.cpp | 249 CPDF_FormField* pFormField = pFormCtrl->GetField(); in FPDFPage_HasFormFieldAtPoint() local 250 return pFormField ? static_cast<int>(pFormField->GetFieldType()) : -1; in FPDFPage_HasFormFieldAtPoint()
|
/external/pdfium/fpdfsdk/formfiller/ |
D | cffl_combobox.cpp | 267 if (CPDF_FormField* pFormField = m_pWidget->GetFormField()) { in GetSelectExportText() local 268 swRet = pFormField->GetOptionValue(nExport); in GetSelectExportText() 270 swRet = pFormField->GetOptionLabel(nExport); in GetSelectExportText()
|