Hello,

I am trying to create a PDF document from data that I pull from a database. 
One of the fields is a text field with has been entered through a Rich Text
Editor.   This editor saves the text as HTML.  I need to take this text and
insert it into a cell in the PDF and keep the formatting.  I've seen two
ways of parsing HTML in iText.  One is the HtmlWorker class which does not
support several tags which I need.  The other way is to use HtmlParser
class.  Although the HtmlParser also supports a subset of HTML, it does what
I need it to do.  The only problem with the HtmlParser is that it parses to
a Document object and I need it to write to a PdfPCell.  Is there a way that
it can write directly to a PdfPCell or is there a way a Document can
entirely be put into a PdfPCell?

Thanks for any help.
-- 
View this message in context: 
http://old.nabble.com/HTML-to-PDF-tp27858013p27858013.html
Sent from the iText - General mailing list archive at Nabble.com.


------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php
Check the site with examples before you ask questions: 
http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/

Reply via email to