• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • paul wheaton
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:

iText

 
Ranch Hand
Posts: 838
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Bruno and welcome,
I did not know about iText until I saw the banner mentioning win a free book. This is awesome. Now my question, how far does iText go? Can I generate a PDF from an existing HTML file or pretty much create a PDF from scratch using iText? I was thinking about writing a customized app to generate PDFs for my own personal needs and, if this does what I hope it does, I'll be looking further into it. Greatly appreciate any info you can give me in regards to what capabilities it has. Thanks.

Rob
 
Greenhorn
Posts: 9
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Rob Hunter wrote:Can I generate a PDF from an existing HTML file or pretty much create a PDF from scratch using iText?



Both, plus quite a bit more.

iText's HTML->PDF conversion isn't great (CSS support is a bit spotty, but it's been getting some attention lately), but is quite functional. OTOH, the original goal of iText was to generate documents (in HTML, PDF, or RTF). It has since evolved into a more general PDF library (create, manipulate, encrypt, sign, fold, spindle, mutilate), but it is still very much a PDF generator.

 
Rob Hunter
Ranch Hand
Posts: 838
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Awesome. Now if only I had a book to read up on it..... ;-) Thanks for the reply.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic