>Quoting [EMAIL PROTECTED]:
>
>> i have a XML template with some tags
>> and i would like to \'hide\' content of my_paragraph2 tag
>
>Map myParagraph2 to ElementTags.IGNORE.
>(http://www.lowagie.com/iText/tutorial/ch07.html#customtags)
>br,
>Bruno
>

Thanks for your answer - it works great.

 

I have one more question.

Im using iText to generate PDF file from an XML template where some tags are
replaced by values from my java class.

 

I would like to display latin-2 characters in both XML template and in those
tags which are replaced by values in java class.

 

How to do this?

How to set emded font (which supports latin2 characters) in XmlPeer object?

 

XmlPeer peer =  new XmlPeer(ElementTags.PARAGRAPH, "text");

peer.setContent("ęóąśłżźćń ĘÓĄŚŁŻŹĆŃ");

 

Reply via email to