Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

pdf object mapping using iText

 
chan Diaz
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Rancher
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Campbell Ritchie
Sheriff
Pie
Posts: 48949
60
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"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
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic