Home
last modified time | relevance | path

Searched refs:pField (Results 1 – 16 of 16) sorted by relevance

/external/pdfium/fpdfsdk/
Dcpdfsdk_interform.cpp160 CPDF_FormField* pField, in GetWidgets() argument
162 for (int i = 0, sz = pField->CountControls(); i < sz; ++i) { in GetWidgets()
163 CPDF_FormControl* pFormCtrl = pField->GetControl(i); in GetWidgets()
267 CPDF_FormField* pField = m_pInterForm->GetFieldInCalculationOrder(i); in OnCalculate() local
268 if (!pField) in OnCalculate()
271 FormFieldType fieldType = pField->GetFieldType(); in OnCalculate()
275 CPDF_AAction aAction = pField->GetAdditionalAction(); in OnCalculate()
288 WideString sOldValue = pField->GetValue(); in OnCalculate()
291 pContext->OnField_Calculate(pFormField, pField, sValue, bRC); in OnCalculate()
297 pField->SetValue(sValue, true); in OnCalculate()
[all …]
Dcpdfsdk_interform.h48 void GetWidgets(CPDF_FormField* pField,
106 int BeforeValueChange(CPDF_FormField* pField,
108 void AfterValueChange(CPDF_FormField* pField) override;
109 int BeforeSelectionChange(CPDF_FormField* pField,
111 void AfterSelectionChange(CPDF_FormField* pField) override;
112 void AfterCheckedStatusChange(CPDF_FormField* pField) override;
Dcpdfsdk_widget.cpp505 CPDF_FormField* pField = GetFormField(); in GetFieldType() local
506 return pField ? pField->GetFieldType() : FormFieldType::kUnknown; in GetFieldType()
1036 CPDF_FormField* pField = GetFormField(); local
1037 if (pField->GetAdditionalAction().GetDict())
1038 return pField->GetAdditionalAction().GetAction(eAAT);
/external/pdfium/core/fpdfdoc/
Dcpdf_interform.cpp400 void SetField(std::unique_ptr<CPDF_FormField> pField) { in SetField() argument
401 m_pField = std::move(pField); in SetField()
419 CPDF_FormField* pField = GetChildAt(i)->GetFieldInternal(pFieldsToGo); in GetFieldInternal() local
420 if (pField) in GetFieldInternal()
421 return pField; in GetFieldInternal()
446 std::unique_ptr<CPDF_FormField> pField);
490 std::unique_ptr<CPDF_FormField> pField) { in SetField() argument
514 pNode->SetField(std::move(pField)); in SetField()
871 int CPDF_InterForm::FindFieldInCalculationOrder(const CPDF_FormField* pField) { in FindFieldInCalculationOrder() argument
872 if (!m_pFormDict || !pField) in FindFieldInCalculationOrder()
[all …]
Dipdf_formnotify.h19 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.h65 int FindFieldInCalculationOrder(const CPDF_FormField* pField);
99 CPDF_FormControl* AddControl(CPDF_FormField* pField,
101 void FDF_ImportField(CPDF_Dictionary* pField,
Dcpdf_formcontrol.cpp29 CPDF_FormControl::CPDF_FormControl(CPDF_FormField* pField, in CPDF_FormControl() argument
31 : m_pField(pField), in CPDF_FormControl()
Dcpdf_formcontrol.h44 CPDF_FormControl(CPDF_FormField* pField, CPDF_Dictionary* pWidgetDict);
Dcpdf_formfield.cpp40 bool IsUnison(CPDF_FormField* pField) { in IsUnison() argument
41 if (pField->GetType() == CPDF_FormField::CheckBox) in IsUnison()
43 return (pField->GetFieldFlags() & 0x2000000) != 0; in IsUnison()
/external/pdfium/xfa/fxfa/
Dcxfa_ffwidgethandler.cpp322 CXFA_Node* pField = CreateField(XFA_Element::Button, pParent, pBefore); in CreatePushButton() local
323 CXFA_Node* pCaption = CreateCopyNode(XFA_Element::Caption, pField); in CreatePushButton()
335 CXFA_Node* pBorder = CreateCopyNode(XFA_Element::Border, pField); in CreatePushButton()
348 CXFA_Node* pBind = CreateCopyNode(XFA_Element::Bind, pField); in CreatePushButton()
352 return pField; in CreatePushButton()
367 CXFA_Node* pField = CreateField(XFA_Element::CheckButton, pParent, pBefore); in CreateRadioButton() local
368 CXFA_Ui* pUi = pField->GetFirstChildByClass<CXFA_Ui>(XFA_Element::Ui); in CreateRadioButton()
373 return pField; in CreateRadioButton()
378 CXFA_Node* pField = CreateField(XFA_Element::DateTimeEdit, pParent, pBefore); in CreateDatetimeEdit() local
379 CreateValueNode(XFA_Element::Date, pField); in CreateDatetimeEdit()
[all …]
/external/pdfium/fpdfsdk/formfiller/
Dcffl_radiobutton.cpp96 CPDF_FormField* pField = m_pWidget->GetFormField(); in SaveData() local
97 for (int32_t i = 0, sz = pField->CountControls(); i < sz; i++) { in SaveData()
98 if (CPDF_FormControl* pCtrl = pField->GetControl(i)) { in SaveData()
Dcffl_checkbox.cpp105 CPDF_FormField* pField = m_pWidget->GetFormField(); in SaveData() local
106 for (int32_t i = 0, sz = pField->CountControls(); i < sz; i++) { in SaveData()
107 if (CPDF_FormControl* pCtrl = pField->GetControl(i)) { in SaveData()
/external/pdfium/fxjs/
Dcjs_eventhandler.cpp612 Field* pField = static_cast<Field*>(pJSField->GetEmbedObject()); in Source() local
613 pField->AttachField(pDocument, m_strSourceName); in Source()
614 return pField; in Source()
639 Field* pField = static_cast<Field*>(pJSField->GetEmbedObject()); in Target_Field() local
640 pField->AttachField(pDocument, m_strTargetName); in Target_Field()
641 return pField; in Target_Field()
Dcjs_document.cpp259 Field* pField = static_cast<Field*>(pJSField->GetEmbedObject()); in getField() local
260 pField->AttachField(this, wideName); in getField()
282 CPDF_FormField* pField = pPDFForm->GetField(nIndex, WideString()); in getNthFieldName() local
283 if (!pField) in getNthFieldName()
285 return CJS_Return(pRuntime->NewString(pField->GetFullName().c_str())); in getNthFieldName()
572 CPDF_FormField* pField = pPDFForm->GetField(j, sName); in submitForm() local
573 if (!bEmpty && pField->GetValue().IsEmpty()) in submitForm()
576 fieldObjects.push_back(pField); in submitForm()
Dcjs_field.cpp2395 Field* pField = static_cast<Field*>(pJSField->GetEmbedObject()); in getArray() local
2396 pField->AttachField(m_pJSDoc, *pStr); in getArray()
/external/pdfium/fpdfsdk/pwl/
Dcpwl_appstream.cpp1585 CPDF_FormField* pField = pControl->GetField(); in SetAsComboBox() local
1619 int32_t nCurSel = pField->GetSelectedIndex(0); in SetAsComboBox()
1621 pEdit->SetText(pField->GetValue()); in SetAsComboBox()
1623 pEdit->SetText(pField->GetOptionLabel(nCurSel)); in SetAsComboBox()
1655 CPDF_FormField* pField = pControl->GetField(); in SetAsListBox() local
1675 int32_t nTop = pField->GetTopVisibleIndex(); in SetAsListBox()
1676 int32_t nCount = pField->CountOptions(); in SetAsListBox()
1677 int32_t nSelCount = pField->CountSelectedItems(); in SetAsListBox()
1682 if (pField->GetSelectedIndex(j) == i) { in SetAsListBox()
1688 pEdit->SetText(pField->GetOptionLabel(i)); in SetAsListBox()
[all …]