Hi,
Thanks for the template file and sample code.
I observed the issue as you mentioned. I used your template file
to render to SVG file format using the following sample code. The
output SVG is invalid with 0 bytes. I am using our latest version/fix: Aspose.Cells for Java
v8.3.1.2 (
https://forum.aspose.com/t/66089):
e.g
Sample code:
Workbook workbook = new Workbook(“f:\files\sample.xlsx”);
Worksheet sheet = workbook.getWorksheets().get(0);
ImageOrPrintOptions options = new ImageOrPrintOptions();
options.setSaveFormat(SaveFormat.SVG);
SheetRender sr = new SheetRender(sheet, options);
sr.toImage(0, “f:/files/outsample1.svg”);
I have logged a ticket with an id “CELLSJAVA-41163” for your issue. We will look into it soon.
Once we have any update on it, we will let you know here.
Thank you.