Home
last modified time | relevance | path

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

12

/external/pdfium/core/fpdfdoc/
Dcpdf_formfield.cpp42 bool IsUnison(CPDF_FormField* pField) { in IsUnison()
43 if (pField->GetType() == CPDF_FormField::CheckBox) in IsUnison()
88 CPDF_FormField::CPDF_FormField(CPDF_InterForm* pForm, CPDF_Dictionary* pDict) in CPDF_FormField() function in CPDF_FormField
97 CPDF_FormField::~CPDF_FormField() {} in ~CPDF_FormField()
99 void CPDF_FormField::SyncFieldFlags() { in SyncFieldFlags()
159 CFX_WideString CPDF_FormField::GetFullName() const { in GetFullName()
163 bool CPDF_FormField::ResetField(bool bNotify) { in ResetField()
165 case CPDF_FormField::CheckBox: in ResetField()
166 case CPDF_FormField::RadioButton: { in ResetField()
183 case CPDF_FormField::ComboBox: in ResetField()
[all …]
Dcpdf_interform.h25 class CPDF_FormField; variable
53 CPDF_FormField* GetField(uint32_t index,
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,
94 friend class CPDF_FormField; variable
97 CPDF_FormField* AddTerminalField(CPDF_Dictionary* pFieldDict);
[all …]
Dcpdf_formcontrol.cpp29 CPDF_FormControl::CPDF_FormControl(CPDF_FormField* pField, in CPDF_FormControl()
36 ASSERT(GetType() == CPDF_FormField::CheckBox || in GetOnStateName()
37 GetType() == CPDF_FormField::RadioButton); in GetOnStateName()
55 ASSERT(GetType() == CPDF_FormField::CheckBox || in SetOnStateName()
56 GetType() == CPDF_FormField::RadioButton); in SetOnStateName()
97 ASSERT(GetType() == CPDF_FormField::CheckBox || in GetCheckedAPState()
98 GetType() == CPDF_FormField::RadioButton); in GetCheckedAPState()
100 if (GetType() == CPDF_FormField::RadioButton || in GetCheckedAPState()
101 GetType() == CPDF_FormField::CheckBox) { in GetCheckedAPState()
113 ASSERT(GetType() == CPDF_FormField::CheckBox || in GetExportValue()
[all …]
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.cpp397 Node(const CFX_WideString& short_name, CPDF_FormField* pField) in Node()
408 CPDF_FormField* GetFieldAtIndex(size_t index) { in GetFieldAtIndex()
415 void SetField(CPDF_FormField* pField) { m_pField = pField; } in SetField()
417 CPDF_FormField* GetField() { return m_pField; } in GetField()
418 const CPDF_FormField* GetField() const { return m_pField; } in GetField()
423 CPDF_FormField* GetFieldInternal(size_t* pFieldsToGo) { in GetFieldInternal()
431 CPDF_FormField* pField = GetChildAt(i)->GetFieldInternal(pFieldsToGo); in GetFieldInternal()
453 CPDF_FormField* m_pField;
459 void SetField(const CFX_WideString& full_name, CPDF_FormField* pField);
460 CPDF_FormField* GetField(const CFX_WideString& full_name);
[all …]
Dcpdf_formcontrol.h39 class CPDF_FormField; variable
49 CPDF_FormControl(CPDF_FormField* pField, CPDF_Dictionary* pWidgetDict);
51 CPDF_FormField::Type GetType() const { return m_pField->GetType(); } in GetType()
53 CPDF_FormField* GetField() const { return m_pField; } in GetField()
114 friend class CPDF_FormField; variable
129 CPDF_FormField* const m_pField;
Dcpdf_formfield.h43 class CPDF_FormField {
135 CPDF_FormField(CPDF_InterForm* pForm, CPDF_Dictionary* pDict);
136 ~CPDF_FormField();
158 CPDF_FormField::Type m_Type;
/external/pdfium/fpdfsdk/
Dcpdfsdk_interform.h22 class CPDF_FormField; variable
46 void GetWidgets(CPDF_FormField* pField,
63 void SynchronizeField(CPDF_FormField* pFormField, bool bSynchronizeElse);
66 bool OnKeyStrokeCommit(CPDF_FormField* pFormField,
68 bool OnValidate(CPDF_FormField* pFormField, const CFX_WideString& csValue);
69 void OnCalculate(CPDF_FormField* pFormField = nullptr);
70 CFX_WideString OnFormat(CPDF_FormField* pFormField, bool& bFormatted);
72 void ResetFieldAppearance(CPDF_FormField* pFormField,
75 void UpdateField(CPDF_FormField* pFormField);
82 std::vector<CPDF_FormField*> GetFieldFromObjects(
[all …]
Dcpdfsdk_interform.cpp122 CPDF_FormField* pFormField = m_pInterForm->GetField(i, sFieldName); in GetWidgets()
129 CPDF_FormField* pField, in GetWidgets()
209 void CPDFSDK_InterForm::SynchronizeField(CPDF_FormField* pFormField, in SynchronizeField()
219 void CPDFSDK_InterForm::OnCalculate(CPDF_FormField* pFormField) { in OnCalculate()
236 CPDF_FormField* pField = m_pInterForm->GetFieldInCalculationOrder(i); in OnCalculate()
271 CFX_WideString CPDFSDK_InterForm::OnFormat(CPDF_FormField* pFormField, in OnFormat()
312 void CPDFSDK_InterForm::ResetFieldAppearance(CPDF_FormField* pFormField, in ResetFieldAppearance()
323 void CPDFSDK_InterForm::UpdateField(CPDF_FormField* pFormField) { in UpdateField()
338 bool CPDFSDK_InterForm::OnKeyStrokeCommit(CPDF_FormField* pFormField, in OnKeyStrokeCommit()
358 bool CPDFSDK_InterForm::OnValidate(CPDF_FormField* pFormField, in OnValidate()
[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.cpp287 CPDF_FormField* pFormField = GetFormField(); in Synchronize()
355 CPDF_FormField* pFormField, in SynchronizeXFAValue()
424 CPDF_FormField* pFormField, in SynchronizeXFAItems()
501 CPDF_FormField* pField = GetFormField(); in GetFieldType()
523 CPDF_FormField* pFormField = pFormControl->GetField(); in GetFieldFlags()
531 CPDF_FormField* CPDFSDK_Widget::GetFormField() const { in GetFormField()
555 CPDF_FormField* pFormField = GetFormField(); in GetName()
606 CPDF_FormField* pFormField = GetFormField(); in GetSelectedIndex()
623 CPDF_FormField* pFormField = GetFormField();
628 CPDF_FormField* pFormField = GetFormField();
[all …]
Dcpdfsdk_widget.h25 class CPDF_FormField; variable
54 CPDF_FormField* pFormField,
58 CPDF_FormField* pFormField,
121 CPDF_FormField* GetFormField() const;
Dfsdk_actionhandler.cpp47 CPDF_FormField* pFormField, in DoAction_FieldJavaScript()
106 CPDF_FormField* pFormField, in DoAction_Field()
233 CPDF_FormField* pFormField, in ExecuteFieldAction()
470 CPDF_FormField* pFormField, in RunFieldJavaScript()
/external/pdfium/fpdfsdk/javascript/
Dijs_event_context.h14 class CPDF_FormField; variable
43 CPDF_FormField* pTarget) = 0;
46 CPDF_FormField* pTarget) = 0;
49 CPDF_FormField* pTarget) = 0;
52 CPDF_FormField* pTarget) = 0;
55 CPDF_FormField* pTarget,
59 CPDF_FormField* pTarget,
62 virtual void OnField_Calculate(CPDF_FormField* pSource,
63 CPDF_FormField* pTarget,
66 virtual void OnField_Format(CPDF_FormField* pTarget,
[all …]
DField.cpp244 std::vector<CPDF_FormField*> Field::GetFormFields( in GetFormFields()
247 std::vector<CPDF_FormField*> fields; in GetFormFields()
251 if (CPDF_FormField* pFormField = pInterForm->GetField(i, csFieldName)) in GetFormFields()
257 std::vector<CPDF_FormField*> Field::GetFormFields( in GetFormFields()
263 CPDF_FormField* pFormField, in UpdateFormField()
359 bool Field::ValueIsOccur(CPDF_FormField* pFormField, in ValueIsOccur()
369 CPDF_FormControl* Field::GetSmartFieldControl(CPDF_FormField* pFormField) { in GetSmartFieldControl()
399 std::vector<CPDF_FormField*> FieldArray = GetFormFields(m_FieldName); in alignment()
403 CPDF_FormField* pFormField = FieldArray[0]; in alignment()
455 std::vector<CPDF_FormField*> FieldArray = GetFormFields(m_FieldName); in borderStyle()
[all …]
DJS_EventHandler.h17 class CPDF_FormField; variable
81 void OnField_Calculate(CPDF_FormField* pSource,
82 CPDF_FormField* pTarget,
85 void OnField_Format(CPDF_FormField* pTarget,
95 CPDF_FormField* pTarget,
105 CPDF_FormField* pTarget,
109 void OnField_MouseDown(bool bModifier, bool bShift, CPDF_FormField* pTarget);
110 void OnField_MouseEnter(bool bModifier, bool bShift, CPDF_FormField* pTarget);
111 void OnField_MouseExit(bool bModifier, bool bShift, CPDF_FormField* pTarget);
112 void OnField_MouseUp(bool bModifier, bool bShift, CPDF_FormField* pTarget);
[all …]
Dcjs_event_context.h41 CPDF_FormField* pTarget) override;
44 CPDF_FormField* pTarget) override;
47 CPDF_FormField* pTarget) override;
50 CPDF_FormField* pTarget) override;
53 CPDF_FormField* pTarget,
57 CPDF_FormField* pTarget,
59 void OnField_Calculate(CPDF_FormField* pSource,
60 CPDF_FormField* pTarget,
63 void OnField_Format(CPDF_FormField* pTarget,
73 CPDF_FormField* pTarget,
[all …]
DJS_Runtime_Stub.cpp37 CPDF_FormField* pTarget) override {} in OnField_MouseDown()
40 CPDF_FormField* pTarget) override {} in OnField_MouseEnter()
43 CPDF_FormField* pTarget) override {} in OnField_MouseExit()
46 CPDF_FormField* pTarget) override {} in OnField_MouseUp()
49 CPDF_FormField* pTarget, in OnField_Focus()
53 CPDF_FormField* pTarget, in OnField_Blur()
55 void OnField_Calculate(CPDF_FormField* pSource, in OnField_Calculate()
56 CPDF_FormField* pTarget, in OnField_Calculate()
59 void OnField_Format(CPDF_FormField* pTarget, in OnField_Format()
69 CPDF_FormField* pTarget, in OnField_Keystroke()
[all …]
Dcjs_event_context.cpp118 CPDF_FormField* pTarget) { in OnField_MouseDown()
124 CPDF_FormField* pTarget) { in OnField_MouseEnter()
130 CPDF_FormField* pTarget) { in OnField_MouseExit()
136 CPDF_FormField* pTarget) { in OnField_MouseUp()
142 CPDF_FormField* pTarget, in OnField_Focus()
149 CPDF_FormField* pTarget, in OnField_Blur()
154 void CJS_EventContext::OnField_Calculate(CPDF_FormField* pSource, in OnField_Calculate()
155 CPDF_FormField* pTarget, in OnField_Calculate()
161 void CJS_EventContext::OnField_Format(CPDF_FormField* pTarget, in OnField_Format()
174 CPDF_FormField* pTarget, in OnField_Keystroke()
[all …]
DJS_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 …]
DField.h457 CPDF_FormField* pFormField,
469 static std::vector<CPDF_FormField*> GetFormFields(
483 std::vector<CPDF_FormField*> GetFormFields(
485 CPDF_FormControl* GetSmartFieldControl(CPDF_FormField* pFormField);
486 bool ValueIsOccur(CPDF_FormField* pFormField, CFX_WideString csOptLabel);
DDocument.cpp334 CPDF_FormField* pField = pPDFForm->GetField(nIndex, CFX_WideString()); in getNthFieldName()
564 std::vector<CPDF_FormField*> aFields; in resetForm()
650 std::vector<CPDF_FormField*> fieldObjects; in submitForm()
658 CPDF_FormField* pField = pPDFForm->GetField(j, sName); in submitForm()
/external/pdfium/fpdfsdk/formfiller/
Dcffl_radiobutton.cpp105 CPDF_FormField* pField = m_pWidget->GetFormField(); in SaveData()
Dcffl_checkbox.cpp102 CPDF_FormField* pField = m_pWidget->GetFormField(); in SaveData()
Dcffl_combobox.cpp291 if (CPDF_FormField* pFormField = m_pWidget->GetFormField()) { in GetSelectExportText()

12