This week's book giveaway is in the Design forum.
We're giving away four copies of Building Microservices and have Sam Newman on-line!
See this thread for details.
The moose likes Other Open Source Projects and the fly likes PrintFields() using Pdfbox Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Building Microservices this week in the Design forum!
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "PrintFields() using Pdfbox" Watch "PrintFields() using Pdfbox" New topic

PrintFields() using Pdfbox

swati basant

Joined: Jan 30, 2011
Posts: 12
I used the PrintFields API to read the data from the textboxes in a acroform in a pdf using pdfbox.

this api lists out all the fields, their values and the type of the field in the pdf..

but the problem is that...
it returns the value as null..even if there is data present in the textbox.

this problem is not there if i first insert the values into the fields using a SetFields api and then perform PrintFields...

but if i enter the data into the pdf without using setFileds..(as in manual entering and saving) ..this api doesnt does list out all the fields and the type...but not the value...
value is returned as null..

please help...
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: PrintFields() using Pdfbox
It's not a secret anymore!