DanielBeh Posted February 21, 2007 Share Posted February 21, 2007 Hello everyone! To improve the quality of images exported into RTF, I tired to use the following patch:http://jasperforge.org/sf/go/artf1436?nav=1 Unfortunately I had some problems: The patch seems to rely on a rather old version of the JasperReports library (I'm using 1.2.7, tried with 1.3 as well). Thus, some compile errors occurred. I fixed them manually and finally got the (patched) exporter running. However, exporting images always results in an out of heap space error (exporting reports without images works fine). Does anybody know how to integrate the patch properly? Thanks! Link to comment Share on other sites More sharing options...
meha4692 Posted February 28, 2007 Share Posted February 28, 2007 Hey, did you get a solution to this? I am having the same problem. I am trying to use the new JRRtfExporter.java file in v 1.3.0 of JasperReports. It hogs up my memory while creating the RTF because it is trying to generate really big images with really good resolution. If there was some way to just generate the RTF reports that are reasonably clear (not too blurry nor with the greatest resolution) so that the file size is not huge, that would be great. I also have another question for you. When you were fixing the compile errors in the JRRtfExporter file, did you get errors for these methods below and the 'defaultFont' variable not being found? Where are these coming from?Code:getDefaultFont();getFontIndex(defaultFont);My labels in my chart images are not being displayed probably because I commented these lines out to get rid of compilation errors. Any help is greatly appreciated. Thanks! Link to comment Share on other sites More sharing options...
andfedotov Posted March 19, 2007 Share Posted March 19, 2007 I have the same problem with lines:Code:getDefaultFont();getFontIndex(defaultFont);This methods belonged to class JRBaseReport, but in the newer version there's one... 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