[iText-questions] Paragraph not respecting bottom margin revisited

2009-03-09 Thread Steve Carrow
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

[iText-questions] HTML to PDF: div with line height attribute value of normal

2009-02-04 Thread Steve Carrow
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:

[iText-questions] Any info on interfaceProps for HtmlWorker?

2009-02-04 Thread Steve Carrow
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,

[iText-questions] HTMLWorker.startElement : IMG w/o align treated far differently than with align

2009-02-04 Thread Steve Carrow
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

[iText-questions] HTML to PDF: div with line height attribute value of normal

2009-01-25 Thread Steve Carrow
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