• 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
  • Ron McLeod
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Junilu Lacar
  • Rob Spoor
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Tim Moores
  • Jesse Silverman
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Piet Souris
  • Frits Walraven

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.
 
WHAT is your favorite color? Blue, no yellow, ahhhhhhh! Tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic