Quoting Eric Williams <[EMAIL PROTECTED]>:

> 1. frames (or iframes)
> 2. EMBED, with type="text/html"
> 3. filter out everything before <body> and after </body>, inclusive
> 4. modify HtmlWriter to skip the printing of everything before <body> and
> after </body>, inclusive

My choice would be a fifth option: subclass HtmlWriter.
Overwrite open() en close() to add my own HTML stuff.
Overwrite add(element) to call super in all cases except
when the element.type() is HEADER, SUBJECT, KEYWORDS,...

br,
Bruno


-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to