Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to edit a editable pdf form using Javascript or Java

I want to develop a kind of software or website to help people fill in a editable pdf form. The user only need to fill in some information and I will collect the information and dynamically fill into the editable pdf form. What kind of Jar or library I need to use in this project? Thanks.

like image 515
user2111801 Avatar asked Jun 11 '26 00:06

user2111801


1 Answers

I have used Apache PDFBox for some small toy projects and it is very easy to use and works pretty well (at least in text extraction). I tried using iTextPDF but it didn't handle columns well.

Regarding forms, check out PDFBook's cookbook where there is an example on how to set the value of a form field in a PDF.

like image 138
vainolo Avatar answered Jun 12 '26 14:06

vainolo



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!