Thanks for the initial response. I have worked some basic examples of using tagmap to convert some XHTML into Rtf; but can this work for a complex set of HTML with complex nesting of tags. The documentation seems to indicate that "lot of tags are not supported".
We basically have a WYSIWYG Editor that end users use to generate HTML. Now we want to convert that into Rtf and Pdf. Is this practical to achieve with itext? and how much customization is needed. Here is a sample HTML text: <DIV class=title>As easy as...</DIV> <P><BR> <STRONG> One<BR> <IMG alt=Two src="images/2.gif" border=0> Two<BR> <IMG alt=Three src="images/3.gif" border=0> Three<BR> </STRONG></P> <P><STRONG> Lets start to add some text here. This is the place where we need to test out how we have something bold <IMG alt=One src="images/1.gif" border=0> and the image is enclosed inside the bold... </STRONG><A href="http://www.rwjf.org"><STRONG>http://www.rwjf.org</STRONG></A><STRONG>& nbsp;is also here . now this is just regular text...</STRONG></P> -----Original Message----- From: Mark Hall [mailto:[EMAIL PROTECTED] Sent: Friday, May 30, 2003 3:45 AM To: Sikri, Yugan; '[EMAIL PROTECTED]' Subject: Re: [iText-questions] Generate Rtf/Pdf from XHTML -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Thursday 29 May 2003 22:58, Sikri, Yugan wrote: > Hi, > We need to accomplish this feature: > > - We have data in XHTML form (Well formatted HTML, but many tags) using a > Content Management tool. > - We need to generate Rtf file from this source. > - Can itext help in performing this; ie. convert HTML to DOM (or document), > then converting that to Rtf. Have a look at http://www.lowagie.com/iText/tutorial/ch07.html . Using a tagmap you should be able to achieve what you want. Greetings, Mark ------------------------------------------------------- This SF.net email is sponsored by: eBay Get office equipment for less on eBay! http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ iText-questions mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/itext-questions
