The
title refers to the thread started by Francois Gravel in 2002 when he
found that a multi-line paragraph would run over the page. To remedy
that a fix was inserted in PdfDocument.java at around line 1213. In
trying to get HTMLWorker happy with Images in Paragraphs, I've set up
the Images in a
Just to get this into the archives: the response was correct in that
parseLength returns 0 if the argument does not start with a number. For
line-height: normal this behavior clearly breaks things. I posted a bug
report at:
I need to get images into my PDF doc from HTML and it looks like setting some
interface properties is the ticket. Problem is, my Googling hasn't dispensed
insights as to what the property names are or what they represent. I can and am
burrowing through the code, but if there are docs out there,
Here's the offending auto-generated snippet, part of what I'm trying to convert:
div style=MARGIN: 0in 0in 0pt 0.25in; LINE-HEIGHT: 150%; TEXT-ALIGN:
justifynbsp;img style=WIDTH: 272px; HEIGHT: 68px height=182 width=645
alt= src=/images/Image/TOM3.JPG //div
The thing is, if I add a
Using the most recently released version of iText, we are trying to
allow conversion of autogenerated HTML pages to PDF. A frequent
construct is the use of consecutive div elements, of which the
following is a simplified example:
div style=MARGIN: 0in
0in 0pt; LINE-HEIGHT: normalstrongufont