Praveen Kumar wrote:

Hi paul,
I am using Itext jar for the pdf generation, it all works fine as of now I am trying to add a <blockquote> tag with in my html contents for producing the indentation as now Itext not make use of this tag I am in need to get this tag work with in the pdf generated . Can you help me with how to introduce a new tag with in the Itext jar.

Extend the HashMap that maps each tag to its XML peer. Map the 'blockquote' tag to a Paragraph. See http://itext.sourceforge.net/src/com/lowagie/text/html/HtmlTagMap.java for an example. Study the Paragraph constructor to discover the attributes that need to be mapped for indentation. br, Bruno


------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. Get your fingers limbered up and give it your best shot. 4 great events, 4 opportunities to win big! Highest score wins.NEC IT Guy Games. Play to win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to