Citeren Lum�r N�vrat <[EMAIL PROTECTED]>:

> Hi,
> 
> I create report with PDFWriter, now i needed conver it ti html. I use
> HtmlWriter, but i don't know 
> how inser Meta tag <meta http-equiv name="ContentType"
> value="text/html;charset=UTF-8" />. without 
> it I get in Mozilla bad characters. In servlet response header is setted.

If it's just <META NAME="myMeta" CONTENT="myContent">
you can use Document.add(new Meta("myMeta", "myContent"));
but if it's something special, you need an instance of HtmlWriter
and you can do something like this (at the right moment, BEFORE you
call document.open()):
writer.add("<!-- and now for something completely different -->");

Bruno


-------------------------------------------------------
This SF.net email is sponsored by: Microsoft Visual Studio.NET 
comprehensive development tool, built to increase your 
productivity. Try a free online hosted session at:
http://ads.sourceforge.net/cgi-bin/redirect.pl?micr0003en
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to