prakesh_kt Posted August 5, 2008 Share Posted August 5, 2008 Hi ,I am using JrRtfExporter class to created a rtf report from jasperPrint instance.same i am using for the pdf also. Using Jasper reports 3Mb of pdf report is giving me around 100Mb in rtf format. Is this a RTF format problem.What kind of measures i could take to reduce the size of report in rtf format.Thanks in advance.-prakesh Link to comment Share on other sites More sharing options...
alxs Posted August 7, 2008 Share Posted August 7, 2008 Hi.i have a similar problem with the HTML export. the output size is to large compared with a simple handcrafted html file that renders the same.I'm getting 20M output file for a report that contains a crosstab whith 1200 rows and 30 colsI think te exporter overuse <table> an style elements for formating.Is there a way to reduce the output size?BTW i think JR is a great tool, congratulationsthanks jasper version:3.0.0iReport version: 2.0.3 Link to comment Share on other sites More sharing options...
lucianc Posted August 7, 2008 Share Posted August 7, 2008 Using nested tables for HTML crosstab reports can be inhibited by setting the FRAMES_AS_NESTED_TABLES export parameter (or the corresponding property net.sf.jasperreports.export.html.frames.as.nested.tables) to true. This would usually result in smaller HTML exports for crosstab reports.For RTF, there is no option that would result in smaller export files. One thing that one could do is to compress (e.g. zip) the RTF file when storing it; of course, the file would still need to be uncompressed when it needs to be opened by a RTF viewer.Regards,Lucian 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