Home
last modified time | relevance | path

Searched refs:FormFieldType (Results 1 – 25 of 31) sorted by relevance

12

/external/pdfium/core/fpdfdoc/
Dcpdf_formfield.h21 enum class FormFieldType : uint8_t { enum
42 Optional<FormFieldType> IntToFormFieldType(int value);
51 constexpr FormFieldType kFormFieldTypes[kFormFieldTypeCount] = {
52 FormFieldType::kUnknown,
53 FormFieldType::kPushButton,
54 FormFieldType::kCheckBox,
55 FormFieldType::kRadioButton,
56 FormFieldType::kComboBox,
57 FormFieldType::kListBox,
58 FormFieldType::kTextField,
[all …]
Dcpdf_formfield.cpp48 Optional<FormFieldType> IntToFormFieldType(int value) { in IntToFormFieldType()
49 if (value >= static_cast<int>(FormFieldType::kUnknown) && in IntToFormFieldType()
51 return {static_cast<FormFieldType>(value)}; in IntToFormFieldType()
249 FormFieldType CPDF_FormField::GetFieldType() const { in GetFieldType()
252 return FormFieldType::kPushButton; in GetFieldType()
254 return FormFieldType::kCheckBox; in GetFieldType()
256 return FormFieldType::kRadioButton; in GetFieldType()
258 return FormFieldType::kComboBox; in GetFieldType()
260 return FormFieldType::kListBox; in GetFieldType()
264 return FormFieldType::kTextField; in GetFieldType()
[all …]
Dcpdf_interform.cpp1209 FormFieldType fieldType = pField->GetFieldType(); in FDF_ImportField()
1211 if (fieldType == FormFieldType::kListBox) { in FDF_ImportField()
1214 } else if (fieldType == FormFieldType::kComboBox || in FDF_ImportField()
1215 fieldType == FormFieldType::kTextField) { in FDF_ImportField()
1228 if (fieldType == FormFieldType::kCheckBox || in FDF_ImportField()
1229 fieldType == FormFieldType::kRadioButton) { in FDF_ImportField()
1231 } else if (fieldType == FormFieldType::kListBox) { in FDF_ImportField()
1233 } else if (fieldType == FormFieldType::kComboBox || in FDF_ImportField()
1234 fieldType == FormFieldType::kTextField) { in FDF_ImportField()
/external/pdfium/fpdfsdk/
Dcpdfsdk_widget.cpp80 if (GetFieldType() == FormFieldType::kRadioButton) { in GetMixXFAWidget()
209 GetFieldType() == FormFieldType::kRadioButton) { in HasXFAAAction()
258 GetFieldType() == FormFieldType::kRadioButton) { in OnXFAAAction()
289 case FormFieldType::kCheckBox: in Synchronize()
290 case FormFieldType::kRadioButton: { in Synchronize()
297 case FormFieldType::kTextField: in Synchronize()
300 case FormFieldType::kListBox: { in Synchronize()
310 case FormFieldType::kComboBox: { in Synchronize()
365 case FormFieldType::kCheckBox: { in SynchronizeXFAValue()
373 case FormFieldType::kRadioButton: { in SynchronizeXFAValue()
[all …]
Dcpdfsdk_interform.cpp49 bool IsFormFieldTypeComboOrText(FormFieldType fieldType) { in IsFormFieldTypeComboOrText()
51 case FormFieldType::kComboBox: in IsFormFieldTypeComboOrText()
52 case FormFieldType::kTextField: in IsFormFieldTypeComboOrText()
60 bool IsFormFieldTypeXFA(FormFieldType fieldType) { in IsFormFieldTypeXFA()
62 case FormFieldType::kXFA: in IsFormFieldTypeXFA()
63 case FormFieldType::kXFA_CheckBox: in IsFormFieldTypeXFA()
64 case FormFieldType::kXFA_ComboBox: in IsFormFieldTypeXFA()
65 case FormFieldType::kXFA_ImageField: in IsFormFieldTypeXFA()
66 case FormFieldType::kXFA_ListBox: in IsFormFieldTypeXFA()
67 case FormFieldType::kXFA_PushButton: in IsFormFieldTypeXFA()
[all …]
Dfpdfformfill.cpp47 static_assert(static_cast<int>(FormFieldType::kUnknown) ==
50 static_assert(static_cast<int>(FormFieldType::kPushButton) ==
53 static_assert(static_cast<int>(FormFieldType::kCheckBox) ==
56 static_assert(static_cast<int>(FormFieldType::kRadioButton) ==
59 static_assert(static_cast<int>(FormFieldType::kComboBox) ==
62 static_assert(static_cast<int>(FormFieldType::kListBox) ==
65 static_assert(static_cast<int>(FormFieldType::kTextField) ==
68 static_assert(static_cast<int>(FormFieldType::kSignature) ==
72 static_assert(static_cast<int>(FormFieldType::kXFA) == FPDF_FORMFIELD_XFA,
74 static_assert(static_cast<int>(FormFieldType::kXFA_CheckBox) ==
[all …]
Dcpdfsdk_widgethandler.cpp46 if (pWidget->GetFieldType() == FormFieldType::kPushButton) in CanAnswer()
230 FormFieldType fieldType = pWidget->GetFieldType(); in OnLoad()
231 if (fieldType == FormFieldType::kTextField || in OnLoad()
232 fieldType == FormFieldType::kComboBox) { in OnLoad()
239 if (bFormatted && fieldType == FormFieldType::kComboBox) in OnLoad()
Dcpdfsdk_interform.h96 bool IsNeedHighLight(FormFieldType fieldType);
100 void SetHighlightColor(FX_COLORREF clr, FormFieldType fieldType);
102 FX_COLORREF GetHighlightColor(FormFieldType fieldType);
/external/pdfium/fxjs/
Dcjs_field.cpp271 FormFieldType fieldType = pFormField->GetFieldType(); in UpdateFormField()
272 if (fieldType == FormFieldType::kComboBox || in UpdateFormField()
273 fieldType == FormFieldType::kTextField) { in UpdateFormField()
331 FormFieldType fieldType = pWidget->GetFieldType(); in UpdateFormControl()
332 if (fieldType == FormFieldType::kComboBox || in UpdateFormControl()
333 fieldType == FormFieldType::kTextField) { in UpdateFormControl()
389 if (pFormField->GetFieldType() != FormFieldType::kTextField) in get_alignment()
521 if (pFormField->GetFieldType() != FormFieldType::kPushButton) in get_button_align_x()
551 if (pFormField->GetFieldType() != FormFieldType::kPushButton) in get_button_align_y()
581 if (pFormField->GetFieldType() != FormFieldType::kPushButton) in get_button_fit_bounds()
[all …]
/external/pdfium/fpdfsdk/formfiller/
Dcffl_interactiveformfiller.cpp231 case FormFieldType::kPushButton: in OnLButtonUp()
232 case FormFieldType::kCheckBox: in OnLButtonUp()
233 case FormFieldType::kRadioButton: { in OnLButtonUp()
458 if (pWidget->GetFieldType() == FormFieldType::kPushButton) in IsFillingAllowed()
480 FormFieldType fieldType = pWidget->GetFieldType(); in GetFormFiller()
483 case FormFieldType::kPushButton: in GetFormFiller()
486 case FormFieldType::kCheckBox: in GetFormFiller()
489 case FormFieldType::kRadioButton: in GetFormFiller()
492 case FormFieldType::kTextField: in GetFormFiller()
495 case FormFieldType::kListBox: in GetFormFiller()
[all …]
Dcffl_formfiller.cpp271 case FormFieldType::kPushButton: in KillFocusForAnnot()
272 case FormFieldType::kCheckBox: in KillFocusForAnnot()
273 case FormFieldType::kRadioButton: in KillFocusForAnnot()
/external/pdfium/xfa/fxfa/
Dcxfa_ffsignature.cpp114 FormFieldType CXFA_FFSignature::GetFormFieldType() { in GetFormFieldType()
115 return FormFieldType::kXFA_Signature; in GetFormFieldType()
Dcxfa_ffimageedit.cpp151 FormFieldType CXFA_FFImageEdit::GetFormFieldType() { in GetFormFieldType()
152 return FormFieldType::kXFA_ImageField; in GetFormFieldType()
Dcxfa_fflistbox.cpp212 FormFieldType CXFA_FFListBox::GetFormFieldType() { in GetFormFieldType()
213 return FormFieldType::kXFA_ListBox; in GetFormFieldType()
Dcxfa_ffimageedit.h28 FormFieldType GetFormFieldType() override;
Dcxfa_fflistbox.h24 FormFieldType GetFormFieldType() override;
Dcxfa_ffpushbutton.cpp243 FormFieldType CXFA_FFPushButton::GetFormFieldType() { in GetFormFieldType()
244 return FormFieldType::kXFA_PushButton; in GetFormFieldType()
Dcxfa_ffcheckbutton.h32 FormFieldType GetFormFieldType() override;
Dcxfa_ffpushbutton.h37 FormFieldType GetFormFieldType() override;
Dcxfa_ffsignature.h40 FormFieldType GetFormFieldType() override;
Dcxfa_ffcombobox.h38 FormFieldType GetFormFieldType() override;
Dcxfa_fftextedit.h60 FormFieldType GetFormFieldType() override;
Dcxfa_ffcombobox.cpp269 FormFieldType CXFA_FFComboBox::GetFormFieldType() { in GetFormFieldType()
270 return FormFieldType::kXFA_ComboBox; in GetFormFieldType()
Dcxfa_ffcheckbutton.cpp346 FormFieldType CXFA_FFCheckButton::GetFormFieldType() { in GetFormFieldType()
347 return FormFieldType::kXFA_CheckBox; in GetFormFieldType()
Dcxfa_fftextedit.cpp427 FormFieldType CXFA_FFTextEdit::GetFormFieldType() { in GetFormFieldType()
428 return FormFieldType::kXFA_TextField; in GetFormFieldType()

12