Summary
In this chapter, we learned how to export reports to all of the formats supported by JasperReports. We learned to export reports to PDF by taking advantage of the JRPdfExporter
class. We also saw how to export reports to RTF/Microsoft Word by taking advantage of the JRRtfExporter
class. Additionally, we saw how reports can be exported to OpenDocument format (the native format for OpenOffice.org and StarOffice) using the JROdtExporter
class. Similarly, to export reports to Microsoft Excel, HTML, and CSV formats we used the JExcelApiExporter
, JRHtmlExporter
, and JRCsvExporter
classes, respectively. The JRXmlExporter
class of JasperReports provided us with the functionality to export our reports to the XML format. Finally, we learned to export ...
Get JasperReports 3.5 for Java Developers now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.