Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
Win a copy of Soft Skills: The software developer's life manual this week in the Jobs Discussion forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

iText and HTML Controls

 
Akhilesh Trivedi
Ranch Hand
Posts: 1599
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
iText helps me convert HTML to PDF. It works cool for most of requirements parsing even tables and borders, I want to have more positioning and HTML controls like text box and radio button tags to be converted into PDFs... is it possible through iText or do I need to switch over to something else?
 
Akhilesh Trivedi
Ranch Hand
Posts: 1599
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This one doesnt work for me.




I am able to compile the code, run it successfully,
the console shows "Textfield" (no exception or or any other messages), the output pdf file is created and shows the text "some start text" .

However the form-field (text box) is no where seen in the output pdf !!!
:roll:

PS: The code was picked up from iText Site
[ April 30, 2008: Message edited by: Akhilesh Trivedi ]
 
Ulf Dittmer
Rancher
Pie
Posts: 42966
73
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Try clicking on the text :-)
 
Akhilesh Trivedi
Ranch Hand
Posts: 1599
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Ulf, clicked it, looks like an editable area. :-)
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic