Quoting Scott Hamilton <[EMAIL PROTECTED]>:
> I'm using the HtmlWriter to write out Tables. Naturally I'm also using
> Cells, Phrases, etc. to write out data.
>
> However, if I want to write out a specific HTML tag that is not already
> supported by the iText API, I can't figure out how to do this.
You can do this with HtmlWriter.add(String string)
HtmlWriter writer = HtmlWriter.getInstance(...)
writer.add("<tag>my custom tag</tag>");
> How can I output raw HTML to the document within the context of a table
> cell?
That will be difficult.
A Table is added as a whole.
You can't add raw HTML in a Cell.
The simplest solution would be to write HR support.
I remember that I added a Horizontal Rule tag to the XML part,
but I don't remember why I didn't write support for HTML:
http://itext.sourceforge.net/docs/com/lowagie/text/ElementTags.html#HORIZONTALRULE
-------------------------------------------------------
This SF.NET email is sponsored by: eBay
Great deals on office technology -- on eBay now! Click here:
http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions