Exportar JasperReport para SVG
Contents
[
Hide
]Aspose.CAD para JasperReports fornece uma classe chamada ASSvgExporter para exportar JasperReport para SVG.
O seguinte trecho de código demonstra como exportar o JasperReport para SVG.
Java
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();