Preparare JasperPrint per l'esportazione

Contents
[ ]

Il seguente frammento di codice dimostra come creare un oggetto JasperPrint per preparare un rapporto per una successiva esportazione in immagine.

Java

JasperReport jasperReport = JasperCompileManager.compileReport("shapesReport.jrxml");
JasperPrint jasperPrint = JasperFillManager.fillReport(jasperReport, null, new JREmptyDataSource());