Hello,
I'm experiencing problems
converting paragraph "<p>" tags to pdf. The text, when converted to PDF,
appears all on the same line for paragraphs. If the paragraph spans multiple
lines the text wraps and starts overwriting on the same line that the previous
text was on. If I change the paragraph tags to "<br>" tags, then proper
paragraphs are created but then obviously loose the paragraph properties (i.e.
align="right").
I downloaded the latest code as of
Nov 16th and am still experiencing this. Just wondering if anyone
else has experienced this or knows a work around. I have taken a quick glance
at the HtmlWorker source and it seems at the highlevel that its calling
FractoryProperties and using the standard iText Paragraph(() so I'm not sure
what would be causing it to overwrite on the same line without delving deeper.
The following is the sample HTML
that I am using for testing this. I'm not sure how this mailing list would
handle html (i.e. interpret or spit out raw... presuming it would be raw but
just in case I have left out the angle brackets and replaced them with quotes
).
"html"
"body"
"p" This is a sample paragraph
that spans multiple lines but wraps over the same line there blah blah blah
blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah
blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah
blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah
blah blah blah blah blah blah "/p"
"p" This is a sample paragraph
that spans multiple lines but wraps over the same line there blah blah blah
blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah
blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah
blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah
blah blah blah blah blah blah "/p"
"ul"
"li" test list item1
"/li"
"li" test list item2
"/li"
"/ul"
"/body"
"/html"
If you need more info feel free to
contact me. Thx for any help you can provide.
DM
Danny Molloy
[EMAIL PROTECTED]