تصدير JasperReport إلى SVG
Contents
[
Hide
]يوفر Aspose.CAD لـ JasperReports فئة تسمى ASSvgExporter لتصدير JasperReport إلى SVG.
يوضح المقتطف التالي من الشيفرة كيفية تصدير JasperReport إلى 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();