Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » iText »

Re: [iText-questions] Converting Text into Pdf

Bruno

2007-09-01


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
elsewhere.

br,
Bruno

-------------------------------------------------------------------------
This SF.net 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 >> http://get.splunk.com/
_______________________________________________
iText-questions mailing list
iText-questions@(protected)
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/
©2008 junlu.com - Jax Systems, LLC, U.S.A.