Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extract form-filling values from a PDF document that supports Acroform #321

Closed
2 of 3 tasks
hoangthanh283 opened this issue Jul 16, 2024 · 1 comment
Closed
2 of 3 tasks

Comments

@hoangthanh283
Copy link

hoangthanh283 commented Jul 16, 2024

Checklist

  • I confirm this is not a question or feature request. Otherwise, use the Discussions page. Note: Was edited out by reported, added back by @mara004.
  • I confirm this is not an issue encountered with an installed build of pypdfium2, but about some other aspect of the project (specify below). Otherwise, use one of the package templates (PyPA/conda), even if you believe this is not a package-specific issue.
  • I confirm this is not about an unofficial build of pypdfium2. We do not support third-party builds, and they are not eligible for a bug report.

Reason for Generic issue (keyword/topic)

Looks like that pdfium supports to extract values in a form-fill PDF file but there is no visible API to do that

Description

I can check that in this document, the PDFMiner supports to detect if the document contains form-fill values or not. But there is no clearly API from the official document to do the form-fill value extraction.
For example, in this document (attached as below):

pdf = PdfDocument(pdf_path)
print(pdf.get_formtype()) #  = 1

Can you please show me what API should I use to extract the form-fill values.
MedicalAttorney-6.pdf

@mara004
Copy link
Member

mara004 commented Jul 16, 2024

This is a feature request, and you are not supposed to edit the template!
Converting to discussion.

@pypdfium2-team pypdfium2-team locked and limited conversation to collaborators Jul 16, 2024
@mara004 mara004 converted this issue into discussion #322 Jul 16, 2024

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants