Home
last modified time | relevance | path

Searched refs:CPDF_FormField (Results 1 – 25 of 29) sorted by relevance

12

/external/pdfium/core/fpdfdoc/
Dcpdf_formfield.cpp40 bool IsUnison(CPDF_FormField* pField) { in IsUnison()
41 if (pField->GetType() == CPDF_FormField::CheckBox) in IsUnison()
91 CPDF_FormField::CPDF_FormField(CPDF_InterForm* pForm, CPDF_Dictionary* pDict) in CPDF_FormField() function in CPDF_FormField
100 CPDF_FormField::~CPDF_FormField() {} in ~CPDF_FormField()
102 void CPDF_FormField::SyncFieldFlags() { in SyncFieldFlags()
160 WideString CPDF_FormField::GetFullName() const { in GetFullName()
164 bool CPDF_FormField::ResetField(bool bNotify) { in ResetField()
166 case CPDF_FormField::CheckBox: in ResetField()
167 case CPDF_FormField::RadioButton: { in ResetField()
184 case CPDF_FormField::ComboBox: in ResetField()
[all …]
Dcpdf_formcontrol.cpp29 CPDF_FormControl::CPDF_FormControl(CPDF_FormField* pField, in CPDF_FormControl()
38 ASSERT(GetType() == CPDF_FormField::CheckBox || in GetOnStateName()
39 GetType() == CPDF_FormField::RadioButton); in GetOnStateName()
57 ASSERT(GetType() == CPDF_FormField::CheckBox || in SetOnStateName()
58 GetType() == CPDF_FormField::RadioButton); in SetOnStateName()
99 ASSERT(GetType() == CPDF_FormField::CheckBox || in GetCheckedAPState()
100 GetType() == CPDF_FormField::RadioButton); in GetCheckedAPState()
102 if (GetType() == CPDF_FormField::RadioButton || in GetCheckedAPState()
103 GetType() == CPDF_FormField::CheckBox) { in GetCheckedAPState()
113 ASSERT(GetType() == CPDF_FormField::CheckBox || in GetExportValue()
[all …]
Dcpdf_interform.h26 class CPDF_FormField; variable
54 CPDF_FormField* GetField(uint32_t index, const WideString& csFieldName) const;
55 CPDF_FormField* GetFieldByDict(CPDF_Dictionary* pFieldDict) const;
64 CPDF_FormField* GetFieldInCalculationOrder(int index);
65 int FindFieldInCalculationOrder(const CPDF_FormField* pField);
71 bool CheckRequiredFields(const std::vector<CPDF_FormField*>* fields,
79 const std::vector<CPDF_FormField*>& fields,
83 bool ResetForm(const std::vector<CPDF_FormField*>& fields,
99 CPDF_FormControl* AddControl(CPDF_FormField* pField,
Dipdf_formnotify.h12 class CPDF_FormField; variable
19 virtual int BeforeValueChange(CPDF_FormField* pField,
21 virtual void AfterValueChange(CPDF_FormField* pField) = 0;
22 virtual int BeforeSelectionChange(CPDF_FormField* pField,
24 virtual void AfterSelectionChange(CPDF_FormField* pField) = 0;
25 virtual void AfterCheckedStatusChange(CPDF_FormField* pField) = 0;
Dcpdf_interform.cpp393 CPDF_FormField* GetFieldAtIndex(size_t index) { in GetFieldAtIndex()
400 void SetField(std::unique_ptr<CPDF_FormField> pField) { in SetField()
404 CPDF_FormField* GetField() const { return m_pField.get(); } in GetField()
411 CPDF_FormField* GetFieldInternal(size_t* pFieldsToGo) { in GetFieldInternal()
419 CPDF_FormField* pField = GetChildAt(i)->GetFieldInternal(pFieldsToGo); in GetFieldInternal()
438 std::unique_ptr<CPDF_FormField> m_pField;
446 std::unique_ptr<CPDF_FormField> pField);
447 CPDF_FormField* GetField(const WideString& full_name);
490 std::unique_ptr<CPDF_FormField> pField) { in SetField()
518 CPDF_FormField* CFieldTree::GetField(const WideString& full_name) { in GetField()
[all …]
Dcpdf_formcontrol.h34 class CPDF_FormField; variable
44 CPDF_FormControl(CPDF_FormField* pField, CPDF_Dictionary* pWidgetDict);
47 CPDF_FormField::Type GetType() const { return m_pField->GetType(); } in GetType()
49 CPDF_FormField* GetField() const { return m_pField; } in GetField()
123 CPDF_FormField* const m_pField;
Dcpdf_formfield.h87 class CPDF_FormField {
102 CPDF_FormField(CPDF_InterForm* pForm, CPDF_Dictionary* pDict);
103 ~CPDF_FormField();
211 CPDF_FormField::Type m_Type;
/external/pdfium/fpdfsdk/
Dcpdfsdk_interform.h22 class CPDF_FormField; variable
48 void GetWidgets(CPDF_FormField* pField,
65 void SynchronizeField(CPDF_FormField* pFormField, bool bSynchronizeElse);
68 bool OnKeyStrokeCommit(CPDF_FormField* pFormField, const WideString& csValue);
69 bool OnValidate(CPDF_FormField* pFormField, const WideString& csValue);
70 void OnCalculate(CPDF_FormField* pFormField = nullptr);
71 WideString OnFormat(CPDF_FormField* pFormField, bool& bFormatted);
73 void ResetFieldAppearance(CPDF_FormField* pFormField,
76 void UpdateField(CPDF_FormField* pFormField);
83 std::vector<CPDF_FormField*> GetFieldFromObjects(
[all …]
Dcpdfsdk_interform.cpp153 CPDF_FormField* pFormField = m_pInterForm->GetField(i, sFieldName); in GetWidgets()
160 CPDF_FormField* pField, in GetWidgets()
240 void CPDFSDK_InterForm::SynchronizeField(CPDF_FormField* pFormField, in SynchronizeField()
250 void CPDFSDK_InterForm::OnCalculate(CPDF_FormField* pFormField) { in OnCalculate()
267 CPDF_FormField* pField = m_pInterForm->GetFieldInCalculationOrder(i); in OnCalculate()
302 WideString CPDFSDK_InterForm::OnFormat(CPDF_FormField* pFormField, in OnFormat()
343 void CPDFSDK_InterForm::ResetFieldAppearance(CPDF_FormField* pFormField, in ResetFieldAppearance()
354 void CPDFSDK_InterForm::UpdateField(CPDF_FormField* pFormField) { in UpdateField()
371 bool CPDFSDK_InterForm::OnKeyStrokeCommit(CPDF_FormField* pFormField, in OnKeyStrokeCommit()
391 bool CPDFSDK_InterForm::OnValidate(CPDF_FormField* pFormField, in OnValidate()
[all …]
Dcpdfsdk_widget.cpp287 CPDF_FormField* pFormField = GetFormField(); in Synchronize()
359 CPDF_FormField* pFormField, in SynchronizeXFAValue()
427 CPDF_FormField* pFormField, in SynchronizeXFAItems()
505 CPDF_FormField* pField = GetFormField(); in GetFieldType()
527 CPDF_FormField* pFormField = pFormControl->GetField(); in GetFieldFlags()
535 CPDF_FormField* CPDFSDK_Widget::GetFormField() const { in GetFormField()
559 CPDF_FormField* pFormField = GetFormField(); in GetName()
608 CPDF_FormField* pFormField = GetFormField(); in GetSelectedIndex()
623 CPDF_FormField* pFormField = GetFormField();
628 CPDF_FormField* pFormField = GetFormField();
[all …]
Dfsdk_actionhandler.h22 class CPDF_FormField; variable
50 CPDF_FormField* pFormField,
55 CPDF_FormField* pFormField,
69 CPDF_FormField* pFormField,
94 CPDF_FormField* pFormField,
Dcpdfsdk_widget.h26 class CPDF_FormField; variable
55 CPDF_FormField* pFormField,
59 CPDF_FormField* pFormField,
122 CPDF_FormField* GetFormField() const;
Dfsdk_actionhandler.cpp49 CPDF_FormField* pFormField, in DoAction_FieldJavaScript()
108 CPDF_FormField* pFormField, in DoAction_Field()
235 CPDF_FormField* pFormField, in ExecuteFieldAction()
466 CPDF_FormField* pFormField, in RunFieldJavaScript()
/external/pdfium/fxjs/
Dcjs_field.cpp242 std::vector<CPDF_FormField*> Field::GetFormFields( in GetFormFields()
245 std::vector<CPDF_FormField*> fields; in GetFormFields()
249 if (CPDF_FormField* pFormField = pInterForm->GetField(i, csFieldName)) in GetFormFields()
255 std::vector<CPDF_FormField*> Field::GetFormFields( in GetFormFields()
261 CPDF_FormField* pFormField, in UpdateFormField()
363 bool Field::ValueIsOccur(CPDF_FormField* pFormField, WideString csOptLabel) { in ValueIsOccur()
372 CPDF_FormControl* Field::GetSmartFieldControl(CPDF_FormField* pFormField) { in GetSmartFieldControl()
384 std::vector<CPDF_FormField*> FieldArray = GetFormFields(m_FieldName); in get_alignment()
388 CPDF_FormField* pFormField = FieldArray[0]; in get_alignment()
416 std::vector<CPDF_FormField*> FieldArray = GetFormFields(m_FieldName); in get_border_style()
[all …]
Dijs_event_context.h14 class CPDF_FormField; variable
42 CPDF_FormField* pTarget) = 0;
45 CPDF_FormField* pTarget) = 0;
48 CPDF_FormField* pTarget) = 0;
51 CPDF_FormField* pTarget) = 0;
54 CPDF_FormField* pTarget,
58 CPDF_FormField* pTarget,
61 virtual void OnField_Calculate(CPDF_FormField* pSource,
62 CPDF_FormField* pTarget,
65 virtual void OnField_Format(CPDF_FormField* pTarget,
[all …]
Dcjs_event_context_stub.h34 CPDF_FormField* pTarget) override {} in OnField_MouseDown()
37 CPDF_FormField* pTarget) override {} in OnField_MouseEnter()
40 CPDF_FormField* pTarget) override {} in OnField_MouseExit()
43 CPDF_FormField* pTarget) override {} in OnField_MouseUp()
46 CPDF_FormField* pTarget, in OnField_Focus()
50 CPDF_FormField* pTarget, in OnField_Blur()
52 void OnField_Calculate(CPDF_FormField* pSource, in OnField_Calculate()
53 CPDF_FormField* pTarget, in OnField_Calculate()
56 void OnField_Format(CPDF_FormField* pTarget, in OnField_Format()
66 CPDF_FormField* pTarget, in OnField_Keystroke()
[all …]
Dcjs_event_context.h42 CPDF_FormField* pTarget) override;
45 CPDF_FormField* pTarget) override;
48 CPDF_FormField* pTarget) override;
51 CPDF_FormField* pTarget) override;
54 CPDF_FormField* pTarget,
58 CPDF_FormField* pTarget,
60 void OnField_Calculate(CPDF_FormField* pSource,
61 CPDF_FormField* pTarget,
64 void OnField_Format(CPDF_FormField* pTarget,
74 CPDF_FormField* pTarget,
[all …]
Dcjs_eventhandler.h18 class CPDF_FormField; variable
82 void OnField_Calculate(CPDF_FormField* pSource,
83 CPDF_FormField* pTarget,
86 void OnField_Format(CPDF_FormField* pTarget,
96 CPDF_FormField* pTarget,
106 CPDF_FormField* pTarget,
110 void OnField_MouseDown(bool bModifier, bool bShift, CPDF_FormField* pTarget);
111 void OnField_MouseEnter(bool bModifier, bool bShift, CPDF_FormField* pTarget);
112 void OnField_MouseExit(bool bModifier, bool bShift, CPDF_FormField* pTarget);
113 void OnField_MouseUp(bool bModifier, bool bShift, CPDF_FormField* pTarget);
[all …]
Dcjs_event_context.cpp119 CPDF_FormField* pTarget) { in OnField_MouseDown()
125 CPDF_FormField* pTarget) { in OnField_MouseEnter()
131 CPDF_FormField* pTarget) { in OnField_MouseExit()
137 CPDF_FormField* pTarget) { in OnField_MouseUp()
143 CPDF_FormField* pTarget, in OnField_Focus()
150 CPDF_FormField* pTarget, in OnField_Blur()
155 void CJS_EventContext::OnField_Calculate(CPDF_FormField* pSource, in OnField_Calculate()
156 CPDF_FormField* pTarget, in OnField_Calculate()
162 void CJS_EventContext::OnField_Format(CPDF_FormField* pTarget, in OnField_Format()
175 CPDF_FormField* pTarget, in OnField_Keystroke()
[all …]
Dcjs_eventhandler.cpp106 CPDF_FormField* pTarget) { in OnField_MouseEnter()
117 CPDF_FormField* pTarget) { in OnField_MouseExit()
127 CPDF_FormField* pTarget) { in OnField_MouseDown()
138 CPDF_FormField* pTarget) { in OnField_MouseUp()
148 CPDF_FormField* pTarget, in OnField_Focus()
160 CPDF_FormField* pTarget, in OnField_Blur()
177 CPDF_FormField* pTarget, in OnField_Keystroke()
204 CPDF_FormField* pTarget, in OnField_Validate()
219 void CJS_EventHandler::OnField_Calculate(CPDF_FormField* pSource, in OnField_Calculate()
220 CPDF_FormField* pTarget, in OnField_Calculate()
[all …]
Dcjs_field.h299 CPDF_FormField* pFormField,
311 static std::vector<CPDF_FormField*> GetFormFields(
319 std::vector<CPDF_FormField*> GetFormFields(
321 CPDF_FormControl* GetSmartFieldControl(CPDF_FormField* pFormField);
322 bool ValueIsOccur(CPDF_FormField* pFormField, WideString csOptLabel);
Dcjs_document.cpp282 CPDF_FormField* pField = pPDFForm->GetField(nIndex, WideString()); in getNthFieldName()
494 std::vector<CPDF_FormField*> aFields; in resetForm()
566 std::vector<CPDF_FormField*> fieldObjects; in submitForm()
572 CPDF_FormField* pField = pPDFForm->GetField(j, sName); in submitForm()
/external/pdfium/fpdfsdk/formfiller/
Dcffl_radiobutton.cpp96 CPDF_FormField* pField = m_pWidget->GetFormField(); in SaveData()
Dcffl_checkbox.cpp105 CPDF_FormField* pField = m_pWidget->GetFormField(); in SaveData()
Dcffl_combobox.cpp261 if (CPDF_FormField* pFormField = m_pWidget->GetFormField()) { in GetSelectExportText()

12