Two Laptop Bag*
The moose likes Other Open Source Projects and the fly likes pdf object mapping using iText 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 "pdf object mapping using iText" Watch "pdf object mapping using iText" New topic
Author

pdf object mapping using iText

chan Diaz
Greenhorn

Joined: Oct 09, 2008
Posts: 4
hi everybody,

i am a bit clueless how to print a pdf invoice with the data mapped with the user input. for example when a user enters data these need to be mapped to specific locations on a previously designed form. i browsed to find out iText can be used but just cant figure out how.

can some one offer to give me a iText tutorial which can be used to write my program.

thanks in advance.
[ October 09, 2008: Message edited by: Ulf Dittmer ]
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41185
    
  45
Hello "chan95"-

Welcome to JavaRanch.

On your way in you may have missed that we have a policy on screen names here at JavaRanch. Basically, it must consist of a first name, a space, and a last name, and not be obviously fictitious. Since yours does not conform with it, please take a moment to change it, which you can do right here.

If you're at all serious about iText, then you need the book "iText in Action". It explains all the advanced form handling options in great detail with many code examples. You will spend much more time hunting down those details on the web than your employer will pay for the book.

Having said that, the iText tutorial has some examples of form handling. The library has come a long way since that was written, though, so it has lots more capabilities now than are shown in those examples.


Ping & DNS - my free Android networking tools app
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 38107
    
  22
"chan95" you have obviously missed the naming policy when you logged on: we require first name-space-last name not numbers. Your displayed name is not in the right format; please go to "my profile" "update profile" and correct your displayed name to comply.

CR
chan Diaz
Greenhorn

Joined: Oct 09, 2008
Posts: 4
sorry about the naming policy, which i obviously didnt take much notice of while registering.

but i would appreciate if some body could give me a clue at least in broader view of how i could achieve this.

so far i have gathered the facts so that i managed to get the pdf drawn and labeled on the pdf. i got a sample xml and xsl file written. Then as i read and understood XFDF file needs to be generated and jsp/servlet needs to be used for mapping the nodes with the object names on the pdf. which i cant figure out how?

can some body please help!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: pdf object mapping using iText
 
Similar Threads
iText and template.
How to support multiformat document view with the help of iText
jsp to pdf
Appending to PDF form fields using iText APIs
iText issue- how to read filled PDF from from a hashmap.