We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Workbook to HTML issue

Workbook wb = new Workbook("C:/SVGTest.xlsx");
HtmlSaveOptions options = new HtmlSaveOptions();
ImageOrPrintOptions imageOptions = options.getImageOptions();
imageOptions.setSaveFormat(SaveFormat.SVG);
imageOptions.setImageFormat(ImageFormat.getIcon());
options.setExportActiveWorksheetOnly(true);
wb.save("C:/SVGTest.html", options);


Two issue:
1. Image display wrong in browser. Image file name is "png" not "svg", while the content of file is SVG string. If change file extension to png and change <img src to SVG, image display fine.


2. Position of text in shape "right arrow" is wrong (beyond the borders)

The post above has a mistake:


If change file extension to svg and change <img src to SVG, image display fine.

Hi Xiong,


Thank you for contacting Aspose support.

We have evaluated both mentioned issue while using the latest revision of Aspose.Cells for Java 8.7.0.2 and we are able to replicate these problems on our side. The issues have been logged in our bug tracking system with following details.

  • CELLSJAVA-41720: Saving image in SVG while converting spreadsheet to HTML results in incorrect image file extension.
  • CELLSJAVA-41721: Incorrect rendering of text in a shape while converting spreadsheet to HTML

Please spare us little time to further investigate the matter and revert back with updates in this regard.

Hi,

Thanks for using Aspose.Cells.

It is to inform you that we have fixed your issue (CELLSJAVA-41720, CELLSJAVA-41721) now. We will soon provide the fix after performing QA and including other enhancements and fixes.

The issues you have found earlier (filed as CELLSJAVA-41720;CELLSJAVA-41721) have been fixed in this update.


This message was posted using Notification2Forum from Downloads module by Aspose Notifier.