To use Aspose.Cells for JasperReports from your application, copy Aspose.Cells.Jasperreports.jar from the \lib folder of aspose.cells.jasperreports.zip to the JasperReports\lib directory or to a library folder of your application. After that, you can access the exporters programmatically.
The following example shows the typical code needed to export a report to an XLS file using Aspose.Cells for JasperReports. More examples can be found in the demo reports included in the product download.
import com.aspose.cells.jasperreports.*;
ACXlsExporter exporter = new ACXlsExporter ();
File sourceFile = new File(fileName);
JasperPrint jasperPrint = (JasperPrint)JRLoader.loadObject(sourceFile);
exporter.setParameter(JRExporterParameter.JASPER_PRINT, jasperPrint);
File destFile = new File(sourceFile.getParent(), jasperPrint.getName() + ".xls");
exporter.setParameter(JRExporterParameter.OUTPUT_FILE_NAME, destFile.toString());
exporter.exportReport();