SVG to html fail

Workbook wb = new Workbook("C:/T.xlsx");
HtmlSaveOptions options = new HtmlSaveOptions();
options.setExportActiveWorksheetOnly(true);
options.setHiddenColDisplayType(HtmlHiddenColDisplayType.HIDDEN);
options.setHiddenRowDisplayType(HtmlHiddenRowDisplayType.HIDDEN);

ImageOrPrintOptions imgOptions = options.getImageOptions();
imgOptions.setSaveFormat(SaveFormat.SVG);
imgOptions.setImageFormat(ImageFormat.getIcon());
options.setExportActiveWorksheetOnly(true);
wb.save("C:/T.html", options);


SVG file is empty using cells-8.7.0.4

Hi,


Thanks for the template file and sample code.

Please try our latest version/fix: Aspose.Cells for Java v8.7.1.
I have tested your scenario/ case using your template file and sample code, it works fine. The output HTML is fine and not empty.

Thank you.