JasperPrintをエクスポートのために準備する

Contents
[ ]

以下のコードスニペットは、画像のエクスポートのためにレポートを準備するJasperPrintオブジェクトを作成する方法を示しています。

Java

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