|
HI,
I am just getiing started with iText. I have text
file which I want to convert to pdf, I read the contents from the text file
and write into pdf
For EACH line of the file I do the
following
BufferedReader buf_reader = new BufferedReader(new
FileReader(in_file));
String line = null; document.add(new Paragraph(line));
By doing this I lose my formatting
(alignment) of the text, how do I solve this.
Thank you very much for your help.
regards
Don S
|
