hi,

> 2. parse HTML tags.
>   I think you will have to do this yourself.
>   OK, iText can parse HTML, but for the moment
>   you can't use the HTML parser in combination
>   with class ColumnText. 

you could extend javax.swing.text.html.HTMLEditorKit.ParserCallback and
use Sun's javax.swing.text.html.parser.ParserDelegator().parse() to
parse HTML Tags, split your text into chunks and apply styles joining
Chunks into Phrases or Paragraphs.

Pros: you don't have to worry too much about HTML parsing
Cons: Sun's parser is only HTML 3.2 (with some extensions) compliant

--Mattia

_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to