Android Question PDFium does not show PDFBOX form fields

prajinpraveen

Active Member
Licensed User
Longtime User
Good Day,

Thank you @DonManfred for these excellent Libraries.

I am trying to open a pdf document created by PDFBOX library on Android using PDFium.
The pdf opens without the field values. Attached is the pdf form.

Any assistance is greatly appreciated.
 

Attachments

  • acroformtest-mustermann.pdf
    73.5 KB · Views: 13

DonManfred

Expert
Licensed User
Longtime User
You can not use PDFium for this.
You should open PDF documents containing Forms in Adobe Reader. AR supports Formfields als also saving the PDF after filling the form.

You can do both too with PDFBox (in B4J). Extracting .FDF-File, Adding a .FDF to an document and saved that as a new PDF.
 
Upvote 0

prajinpraveen

Active Member
Licensed User
Longtime User
Thank you for your quick response. I am able to extract and generate pdf using FDF file. works perfect.
I want to show the same pdf file on the android device.
 
Upvote 0

DonManfred

Expert
Licensed User
Longtime User
I guess this is something an uptodate pdf viewer should support and what adobe reader does.
PDFium does not have any references in the code regarding form and formfield. Also nothing about .FDF at all.

It is an old project btw.

I guess you have to find another way.
 
Upvote 0
Top