Aspose.CAD for JasperReports is an exclusive extension library for JasperReports server that makes it possible to export reports from JasperReports to different CAD, BIM image files such as FBX, DXF, OBJ, DWFX, DWF and other formats including WebP, BMP, GIF, JPEG, PNG, TIFF as well as in PDF, SVG, WMF and more formats. All report features are projected with the highest precision.
At a Glance
Features overview of conversion and rendering capabilities of Aspose.CAD API for JasperReports.
Aspose.CAD for JasperReports supports J2SE, JasperReports and JasperServer.
Supported File Formats
Aspose.CAD for JasperReports supported file formats are listed below.
- CAD and BIM: DXF, DWF, DWFX, OBJ, FBX, PLT
- Fixed Layout: PDF, SVG, WMF, EMF
- Raster Images: PNG, BMP, TIFF, JPEG, GIF, DICOM, WEBP, JP2, PSD
Support for Multipage and Batch Export
Aspose.CAD for JasperReports allows exporting reports as multipage or batch export. Multipage export supported for formats: GIF, DICOM, TIFF, WebP, PDF, PSD. In batch mode, each page of the report will be saved as a separate file. Other supported file formats are: DXF, DWF, DWFX, FBX, OBJ, PDF, WMF, SVG, EMF, BMP, JPG, JPEG, DICOM, JP2, JPEG2000, PNG
High Fidelity, Identical to Report Design
Aspose.CAD for JasperReports exports the reports to images in such a way that the result appear identical to the original report design as produced by the built-in JasperReports report designer. All report features are converted to the highest degree of precision to make image documents look as close to the original design as possible.
Convert JasperReport to SVG
The following code snippet demonstrates how to export the JasperReport to SVG file format.
ASSvgExporter svgExporter = new ASSvgExporter(); ASSvgExportConfigurationImpl svgExportConfiguration = new ASSvgExportConfigurationImpl(); svgExportConfiguration.setEmbedFonts(true); svgExportConfiguration.setCompress(true); svgExporter.setConfiguration(svgExportConfiguration); exporterInput = new ASExportInputImpl(jasperPrint); svgExporter.setExporterInput(exporterInput); exporterOutput = new ASExporterOutputImpl("shapesExample.svg"); svgExporter.setExporterOutput(exporterOutput); svgExporter.exportReport();