Closed plentz closed 11 years ago
+1 for odt / rtf and other.
// 1- export to ODT JROdtExporter exporter = new JROdtExporter(); exporter.setParameter(JRExporterParameter.JASPER_PRINT, jasperPrint); exporter.setParameter(JRExporterParameter.OUTPUT_FILE_NAME, "foo.odt" );
// 2- export to HTML JasperExportManager.exportReportToHtmlFile(jasperPrint, "foo.html" );
// 3- export to Excel sheet JRXlsExporter exporter = new JRXlsExporter(); exporter.setParameter(JRExporterParameter.JASPER_PRINT, jasperPrint); exporter.setParameter(JRExporterParameter.OUTPUT_FILE_NAME, "foo.xls" );
@ionosphere you can send a pull request with those changes, it make it easier to the maintainer :)
See #24 or the mailing list for more info.
jasperreports already have the feature, is "just" the effort to use it.