bob007 Posted April 28, 2009 Share Posted April 28, 2009 Hi, I'm making my reports programmatically with JasperDesign. I use JasperCompileManager to compile my reports then I use JasperRunManager.runReportToPdf to export PDF report. (always by using streams)Unfortunately, JasperRunManager seem only exporting in PDF and HTML. How can I export in other formats ? Thank you,Philippe Link to comment Share on other sites More sharing options...
preetha00 Posted April 29, 2009 Share Posted April 29, 2009 there are seperate exporter API for each type in the jasperreports like net.sf.jasperreports.engine.JasperPrint net.sf.jasperreports.engine.export.JRHtmlExporter net.sf.jasperreports.engine.export.JRPdfExporter net.sf.jasperreports.engine.export.JRXmlExporter net.sf.jasperreports.engine.export.JRXlsExporter net.sf.jasperreports.engine.export.JRCsvExporteryou can use them to export it to different formats. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now