This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach 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 Murach's Java Servlets and JSP this week in the Servlets 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 agree. Here's the link:
subject: PrintFields() using Pdfbox
Similar Threads
Header content extraction from all pages of a pdf using pdfbox.
Print Pdf problem
Need Suggestions-editting word documents.
Replace PDF Content
Inserting text into a textbox in a pdf