Home
last modified time | relevance | path

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

12

/external/pdfium/core/fpdfapi/page/
Dcpdf_contentparser.cpp53 CPDF_ContentParser::CPDF_ContentParser(CPDF_Form* pForm, in CPDF_ContentParser() argument
59 m_pObjectHolder(pForm), in CPDF_ContentParser()
61 ASSERT(pForm); in CPDF_ContentParser()
62 CFX_Matrix form_matrix = pForm->GetDict()->GetMatrixFor("Matrix"); in CPDF_ContentParser()
66 CPDF_Array* pBBox = pForm->GetDict()->GetArrayFor("BBox"); in CPDF_ContentParser()
82 CPDF_Dictionary* pResources = pForm->GetDict()->GetDictFor("Resources"); in CPDF_ContentParser()
84 pForm->GetDocument(), pForm->m_pPageResources.Get(), in CPDF_ContentParser()
85 pForm->m_pResources.Get(), pParentMatrix, pForm, pResources, form_bbox, in CPDF_ContentParser()
93 if (pForm->GetTransparency().IsGroup()) { in CPDF_ContentParser()
100 m_pSingleStream = pdfium::MakeRetain<CPDF_StreamAcc>(pForm->GetStream()); in CPDF_ContentParser()
Dcpdf_formobject.cpp14 std::unique_ptr<CPDF_Form> pForm, in CPDF_FormObject() argument
17 m_pForm(std::move(pForm)), in CPDF_FormObject()
Dcpdf_formobject.h20 std::unique_ptr<CPDF_Form> pForm,
Dcpdf_contentparser.h32 CPDF_ContentParser(CPDF_Form* pForm,
/external/pdfium/fpdfsdk/
Dfpdf_annot.cpp160 void UpdateContentStream(CPDF_Form* pForm, CPDF_Stream* pStream) { in UpdateContentStream() argument
161 ASSERT(pForm); in UpdateContentStream()
164 CPDF_PageContentGenerator generator(pForm); in UpdateContentStream()
264 CPDFSDK_InteractiveForm* pForm = FormHandleToInteractiveForm(hHandle); in GetFormField() local
265 if (!pForm) in GetFormField()
268 CPDF_InteractiveForm* pPDFForm = pForm->GetInteractiveForm(); in GetFormField()
415 CPDF_Form* pForm = pAnnot->GetForm(); in FPDFAnnot_UpdateObject() local
417 std::find_if(pForm->begin(), pForm->end(), in FPDFAnnot_UpdateObject()
421 if (it == pForm->end()) in FPDFAnnot_UpdateObject()
425 UpdateContentStream(pForm, pStream); in FPDFAnnot_UpdateObject()
[all …]
Dfpdf_formfill.cpp238 CPDFSDK_InteractiveForm* pForm = FormHandleToInteractiveForm(hHandle); in FPDFPage_HasFormFieldAtPoint() local
239 if (!pForm) in FPDFPage_HasFormFieldAtPoint()
242 CPDF_InteractiveForm* pPDFForm = pForm->GetInteractiveForm(); in FPDFPage_HasFormFieldAtPoint()
269 CPDFSDK_InteractiveForm* pForm = FormHandleToInteractiveForm(hHandle); in FPDFPage_FormFieldZOrderAtPoint() local
270 if (!pForm) in FPDFPage_FormFieldZOrderAtPoint()
277 CPDF_InteractiveForm* pPDFForm = pForm->GetInteractiveForm(); in FPDFPage_FormFieldZOrderAtPoint()
597 CPDFSDK_InteractiveForm* pForm = FormHandleToInteractiveForm(hHandle); in FPDF_SetFormFieldHighlightColor() local
598 if (!pForm) in FPDF_SetFormFieldHighlightColor()
607 pForm->SetAllHighlightColors(color); in FPDF_SetFormFieldHighlightColor()
609 pForm->SetHighlightColor(color, cast_input.value()); in FPDF_SetFormFieldHighlightColor()
[all …]
Dcpdfsdk_actionhandler.cpp158 CPDFSDK_InteractiveForm* pForm = pFormFillEnv->GetInteractiveForm(); in IsValidField() local
159 CPDF_InteractiveForm* pPDFForm = pForm->GetInteractiveForm(); in IsValidField()
397 CPDFSDK_InteractiveForm* pForm = pFormFillEnv->GetInteractiveForm(); in DoAction_Hide() local
398 if (pForm->DoAction_Hide(action)) { in DoAction_Hide()
408 CPDFSDK_InteractiveForm* pForm = pFormFillEnv->GetInteractiveForm(); in DoAction_SubmitForm() local
409 return pForm->DoAction_SubmitForm(action); in DoAction_SubmitForm()
415 CPDFSDK_InteractiveForm* pForm = pFormFillEnv->GetInteractiveForm(); in DoAction_ResetForm() local
416 pForm->DoAction_ResetForm(action); in DoAction_ResetForm()
Dcpdfsdk_widgethandler.cpp56 CPDFSDK_InteractiveForm* pForm = m_pFormFillEnv->GetInteractiveForm(); in NewAnnot() local
57 CPDF_InteractiveForm* pPDFForm = pForm->GetInteractiveForm(); in NewAnnot()
62 CPDFSDK_Widget* pWidget = new CPDFSDK_Widget(pAnnot, pPage, pForm); in NewAnnot()
63 pForm->AddMap(pCtrl, pWidget); in NewAnnot()
75 CPDFSDK_InteractiveForm* pForm = pWidget->GetInteractiveForm(); in ReleaseAnnot() local
77 pForm->RemoveMap(pControl); in ReleaseAnnot()
Dcpdfsdk_interactiveform.h102 void AfterFormReset(CPDF_InteractiveForm* pForm) override;
Dfpdf_editpage.cpp501 const CPDF_Form* pForm = pPageObj->AsForm()->form(); in FPDFPageObj_HasTransparency() local
502 if (!pForm) in FPDFPageObj_HasTransparency()
505 const CPDF_Transparency& trans = pForm->GetTransparency(); in FPDFPageObj_HasTransparency()
Dcpdfsdk_pageview.cpp39 CPDFSDK_InteractiveForm* pForm = pFormFillEnv->GetInteractiveForm(); in CPDFSDK_PageView() local
40 CPDF_InteractiveForm* pPDFForm = pForm->GetInteractiveForm(); in CPDFSDK_PageView()
/external/pdfium/core/fpdfapi/font/
Dcpdf_type3char.cpp66 void CPDF_Type3Char::Transform(CPDF_Font::FormIface* pForm, in Transform() argument
72 char_rect = pForm->CalcBoundingBox(); in Transform()
81 void CPDF_Type3Char::SetForm(std::unique_ptr<CPDF_Font::FormIface> pForm) { in SetForm() argument
82 m_pForm = std::move(pForm); in SetForm()
Dcpdf_type3font.cpp122 std::unique_ptr<CPDF_Font::FormIface> pForm = m_pFormFactory->CreateForm( in LoadChar() local
135 pForm->ParseContentForType3Char(pNewChar.get()); in LoadChar()
141 pNewChar->Transform(pForm.get(), m_FontMatrix); in LoadChar()
142 if (pForm->HasPageObjects()) in LoadChar()
143 pNewChar->SetForm(std::move(pForm)); in LoadChar()
Dcpdf_type3char.h31 void Transform(CPDF_Font::FormIface* pForm, const CFX_Matrix& matrix);
43 void SetForm(std::unique_ptr<CPDF_Font::FormIface> pForm);
/external/pdfium/core/fpdfdoc/
Dcpdf_annot.cpp46 CPDF_Form* pForm = pAnnot->GetAPForm(pPage, mode); in AnnotGetMatrix() local
47 if (!pForm) in AnnotGetMatrix()
50 CFX_Matrix form_matrix = pForm->GetDict()->GetMatrixFor("Matrix"); in AnnotGetMatrix()
52 form_matrix.TransformRect(pForm->GetDict()->GetRectFor("BBox")); in AnnotGetMatrix()
55 return pForm; in AnnotGetMatrix()
399 CPDF_Form* pForm = AnnotGetMatrix(pPage, this, mode, &mtUser2Device, &matrix); in DrawAppearance() local
400 if (!pForm) in DrawAppearance()
406 context.AppendLayer(pForm, &matrix); in DrawAppearance()
426 CPDF_Form* pForm = AnnotGetMatrix(pPage, this, mode, pUser2Device, &matrix); in DrawInContext() local
427 if (!pForm) in DrawInContext()
[all …]
Dcpdf_interactiveform.h48 virtual void AfterFormReset(CPDF_InteractiveForm* pForm) = 0;
Dcpdf_formfield.h72 CPDF_FormField(CPDF_InteractiveForm* pForm, CPDF_Dictionary* pDict);
Dcpdf_formfield.cpp96 CPDF_FormField::CPDF_FormField(CPDF_InteractiveForm* pForm, in CPDF_FormField() argument
98 : m_pForm(pForm), m_pDict(pDict) { in CPDF_FormField()
/external/pdfium/fxjs/
Dcjs_field.cpp51 CPDFSDK_InteractiveForm* pForm = pFormFillEnv->GetInteractiveForm(); in UpdateFormField() local
55 pForm->GetWidgets(pFormField, &widgets); in UpdateFormField()
80 pForm->GetWidgets(pFormField, &widgets); in UpdateFormField()
105 CPDFSDK_InteractiveForm* pForm = pFormFillEnv->GetInteractiveForm(); in UpdateFormControl() local
106 CPDFSDK_Widget* pWidget = pForm->GetWidget(pFormControl); in UpdateFormControl()
170 CPDF_InteractiveForm* pForm = pReaderForm->GetInteractiveForm(); in GetFormFieldsForName() local
171 for (int i = 0, sz = pForm->CountFields(csFieldName); i < sz; ++i) { in GetFormFieldsForName()
172 if (CPDF_FormField* pFormField = pForm->GetField(i, csFieldName)) in GetFormFieldsForName()
239 auto* pForm = pFormFillEnv->GetInteractiveForm(); in SetBorderStyle() local
244 CPDFSDK_Widget* pWidget = pForm->GetWidget(pFormField->GetControl(i)); in SetBorderStyle()
[all …]
Dcjs_publicmethods.cpp1294 CPDF_InteractiveForm* pForm = pReaderForm->GetInteractiveForm(); in AFSimple_Calculate() local
1302 for (size_t j = 0; j < pForm->CountFields(wsFieldName); ++j) { in AFSimple_Calculate()
1303 CPDF_FormField* pFormField = pForm->GetField(j, wsFieldName); in AFSimple_Calculate()
/external/pdfium/xfa/fwl/
Dcfwl_notedriver.cpp172 CFWL_Widget* pForm = GetMessageForm(pMsg->GetDstTarget()); in DoKey() local
174 if (m_pFocus && pWidgetMgr->GetSystemFormWidget(m_pFocus.Get()) != pForm) in DoKey()
178 if (pForm) { in DoKey()
179 pNextTabStop = CFWL_WidgetMgr::NextTab(pForm, pFocus); in DoKey()
181 pNextTabStop = CFWL_WidgetMgr::NextTab(pForm, nullptr); in DoKey()
/external/pdfium/fpdfsdk/fpdfxfa/
Dcpdfxfa_docenvironment.cpp380 auto* pForm = m_pContext->GetFormFillEnv()->GetInteractiveForm(); in IsCalculationsEnabled() local
381 return pForm->IsXfaCalculateEnabled(); in IsCalculationsEnabled()
527 auto* pForm = m_pContext->GetFormFillEnv()->GetInteractiveForm(); in IsValidationsEnabled() local
528 return pForm->IsXfaValidationsEnabled(); in IsValidationsEnabled()
591 CPDFSDK_InteractiveForm* pForm = in GetHighlightColor() local
593 return AlphaAndColorRefToArgb(pForm->GetHighlightAlpha(), in GetHighlightColor()
594 pForm->GetHighlightColor(FormFieldType::kXFA)); in GetHighlightColor()
Dcpdfxfa_widgethandler.cpp225 CPDFSDK_InteractiveForm* pForm = m_pFormFillEnv->GetInteractiveForm(); in NewAnnotForXFA() local
226 return pdfium::MakeUnique<CPDFXFA_Widget>(pAnnot, pPage, pForm); in NewAnnotForXFA()
/external/pdfium/fpdfsdk/formfiller/
Dcffl_interactiveformfiller.cpp716 CPDFSDK_InteractiveForm* pForm = in OnCalculate() local
718 pForm->OnCalculate(pWidget->GetFormField()); in OnCalculate()
731 CPDFSDK_InteractiveForm* pForm = in OnFormat() local
734 Optional<WideString> sValue = pForm->OnFormat(pWidget->GetFormField()); in OnFormat()
739 pForm->ResetFieldAppearance(pWidget->GetFormField(), sValue); in OnFormat()
740 pForm->UpdateField(pWidget->GetFormField()); in OnFormat()
/external/pdfium/core/fpdfapi/render/
Dcpdf_renderstatus.cpp1003 const auto* pForm = static_cast<const CPDF_Form*>(pType3Char->form()); in ProcessType3Text() local
1005 pForm->GetDict()->GetDictFor("Resources"); in ProcessType3Text()
1010 status.SetTransparency(pForm->GetTransparency()); in ProcessType3Text()
1020 status.RenderObjectList(pForm, matrix); in ProcessType3Text()
1023 matrix.TransformRect(pForm->CalcBoundingBox()).GetOuterRect(); in ProcessType3Text()
1035 status.SetTransparency(pForm->GetTransparency()); in ProcessType3Text()
1044 status.RenderObjectList(pForm, matrix); in ProcessType3Text()

12