biofly wrote:
> Hi Friends,
> 
> I am using iText for my pdf creation. I am accessing text data from database
> and using servlet to create the pdf. My text data (from database) has html
> tags, like <em>, <sub>, <strong> etc. Presently all these tags are
> displaying as it is. 

Of course, what else did you expect?

> How can I process html tags in to the pdf output?

Use HTMLWorker:
http://www.1t3xt.info/examples/browse/?page=example&id=232
http://www.1t3xt.info/examples/browse/?page=example&id=233
http://www.1t3xt.info/examples/browse/?page=example&id=347
http://www.1t3xt.info/examples/browse/?page=example&id=417

-- 
This answer is provided by 1T3XT BVBA
http://www.1t3xt.com/ - http://www.1t3xt.info

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php

Reply via email to