Jump to content
We've recently updated our Privacy Statement, available here ×

muhammad.sarwar

Members
  • 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

Downloads

Everything posted by muhammad.sarwar

  1. 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
×
×
  • Create New...