AJ Weber
Wed, 28 May 2008 08:25:00 -0700
Is it that HTMLWorker can only handle a subset of all the "legitimate" HTML tags at this time, or is it non-well-formed HTML that causes it grief? We can "tidy" the HTML in a pre-processing-method if that's what is required. I will take a look and see if I can move this forward a little. Thanks, AJ ----- Original Message ----- From: Bruno Lowagie To: AJ Weber ; Post all your questions about iText here Sent: Wednesday, May 28, 2008 11:04 AM Subject: Re: [iText-questions] Convert EML (rfc/822 email) file to PDF? AJ Weber wrote: > Has anyone built a class to parse and convert a EML file to a PDF? > > Just curious, before I "reinvent the wheel". I started writing a mailbox parser a while ago: http://itext.ugent.be/wiki/examples/src/com/lowagie/collections/mail/ but it's not finished (for instance: the HTML in a mail can be really ugly and HTMLWorker chokes on it). You can find more information about my initial goal here: http://www.lowagie.com/itextwiki/doku.php/collections:mail Note that the Base64 is not needed anymore, there's a similar class in the current iText distribution. Maybe you can start from my code and see how far you get. I'm very interested to cooperate in the process, but if you're following my blog, you know that I don't have that much time for the moment. Nevertheless, if you want to share the code, I'd be glad to help you out taking some iText or PDF specific hurdles. br, Bruno
------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Do you like iText? Buy the iText book: http://www.1t3xt.com/docs/book.php Or leave a tip: https://tipit.to/itexttipjar