File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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 agree. Here's the link:
subject: PrintFields() using Pdfbox
It's not a secret anymore!