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

muhammad.sarwar

Members
  • Posts

    2
  • Joined

  • Last visited

muhammad.sarwar's Achievements

Newbie

Newbie (1/14)

  • Week One Done
  • One Month Later
  • One Year In
  • First Post Rare
  • Conversation Starter Rare

Recent Badges

0

Reputation

  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...