AidanDiffey Posted November 29, 2006 Share Posted November 29, 2006 Hello. We have an application that uses RTF stored in a database. We want to display the RTF on a Jasper Report, and have implemented a RTF to Styled Text converter. This converter has been proven to be buggy, and we have got an issue is <a></a> tags. Does a newer version of Jasper Reports support RTF, and if not, is there an open source converter to convert RTF to Styled Text (and hopefully HTML). Cheers Link to comment Share on other sites More sharing options...
teodord Posted December 12, 2006 Share Posted December 12, 2006 Hi, Our styled text does not support <a> tags and I'm not aware of any open source tools to convert from RTF to styled text.Actually, it is the first time I hear about such a conversion requirement. Thanks,Teodor Link to comment Share on other sites More sharing options...
AidanDiffey Posted December 12, 2006 Author Share Posted December 12, 2006 Thanks for the reply. If there is no conversion tool, then how am I supposed to print rtf that is stored in a databse to a PDF file using JasperReports? Cheers Link to comment Share on other sites More sharing options...
teodord Posted February 25, 2008 Share Posted February 25, 2008 Hi, A new text element attribute called "markup" was added to support embedding text snippets that contain style information in RTF of HTML format. The former isStyledText boolean attribute was deprecated and is now equivalent to markup="styled". All the modification are committed to SVN and will be part of the next release. A new sample /demo/samples/markup was added to show this new feature. Thank you,Teodor Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now