Hi.everyone:
I am
a new user of IText. For some reason,I have to transform xhtml docs to rtf docs.
I used such simple codes below to handle it:
public static void convertXhtml2Rtf( String content,
OutputStream os
)
{
ByteArrayInputStream in = new
ByteArrayInputStream(content.getBytes());
com.lowagie.text.Document doc = new
com.lowagie.text.Document();
RtfWriter2 rw = RtfWriter2.getInstance(doc,
os);
HtmlParser.parse(rw,
in);
}
But the
effect was not so satisfied. Could anyone give me some help? Any
hints will be great helpful, Thanks a lot!
王元
2007-08-07
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
iText-questions mailing list
iText-questions@(protected)
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/