Java Mailing List Archive

Home » Home (12/2007) » iText »

Re: [iText-questions] Converting Text into Pdf



Chowdhury, Mo (ITC-ECOM) wrote:
> Greetings,
> I need the API for converting a txt file into pdf. Is it possible by IText?

What's so special about your txt file?
If it's formatted ASCII, you'll need a
monospaced font. If it's an unformatted
text file, you'll just have to read
every line into a Paragraph object.
It's pretty easy to achieve with iText.

If it's not a 'plain text' file, but a
Word or RTF file, you'll have to look


This email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>
iText-questions mailing list
Buy the iText book:
©2008 - Jax Systems, LLC, U.S.A.