muhammad.sarwar
-
Posts
2 -
Joined
-
Last visited
Content Type
Profiles
Forum
Events
Featured Visualizations
Knowledge Base
Documentation (PDF Downloads)
Blog
Documentation (Test Area)
Documentation
Dr. Jaspersoft Webinar Series
Security Advisories
Downloads
Posts posted by muhammad.sarwar
-
-
I am using Jasper 5.1 to generate reports in Excel, PDF and Word. Excela and PDF are perfectly ok but the Word file takes too long to open. There are hardly 150 pages and file size is around 1.5 mb.There are no problems with generation of word file but the issue is with opening the file. It takes around 2-5 minutes to open.
Below is a snapshot of the code
ArrayList<AedbMasterDataBean> records=this.getRecords();
JRBeanCollectionDataSource beanColDataSource = new JRBeanCollectionDataSource(records);
JasperPrint print = JasperFillManager.fillReport(jasperMasterReport, parameters, beanColDataSource);
JRDocxExporter docxExporter = new JRDocxExporter();
docxExporter.setParameter(JRExporterParameter.JASPER_PRINT, print);
docxExporter.setParameter(JRExporterParameter.OUTPUT_STREAM, outputStream);docxExporter.exportReport();
Awaiting your responses
MS
JRDocxExporter - DOC Output File taking too long to Open
in Products
Posted
Does anyone has any clue about the above issue