Ok. So being new to iText, I read all of the postings that I could find
regarding generating PDFs from HTML. Basically, I'm trying to implement
a printer friendly view as a pdf for one particular dynamic page in a
site.

I changed the SAXiTextHandler.handleEndingTags() method as recommended
by Naidu Satheesh but still get resulting PDFs will all of the table
cells scrunched (to use a technical term) to the right side of the page.
Scrubbing the html and replacing all the widths with percentages does
help a little but is not practical for my application. Additionally, the
parser does not appear to transfer any of the table cell border,
alignment, or padding attributes to the iText document.

I'm looking for some guidance in terms of best practices for parsing
html with the SAXiTextHandler or perhaps a recommendation for another
open source html parser to translate the html into an iText document for
pdf generation.

Thanks,
Troy


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to