Hello all, 
     It's been a while since I worked on our project
that makes use of the itext open source project.
However I'm back at it. I noticed I am using
paragraphs.

while ((line = in.readLine()) != null) {
  if (srctemplate != null) { 
     if (srctemplate.endsWith("_22")) 
        doc.add(new Paragraph(14, line, new Font(bf,8)));
     else if (srctemplate != null) 
        doc.add(new Paragraph(17, line, new
Font(bf,9))); }

Is there a way... I can just change the output to
write it out line by line? The reason is, in my text
documents that I convert to pdf documents, we have
carriage returns, however they get lost when
converting to pdf. This wasn't an issue before as we
were converting single pages. Now we have multi pages,
and if there are carriage returns, then the pdf
display is just plain hosed.  Thanks for any thoughts. B

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to