Save Xlsx to HTML wrong

Workbook wb = new Workbook(“C:/11.xlsx”);
Worksheet worksheet = wb.getWorksheets().get(0);
worksheet.getCells().get(“B2”).setValue(321);
worksheet.getShapes().updateSelectedValue();
wb.save(“C:/112.html”);

But how to upload a xlsx in my post?

https://1drv.ms/x/s!Ahp9YmO5NZGtgUD-fspC6Upfl1g0

@xhaixia

Thanks for using Aspose APIs.

Please zip your xlsx file first and then you will be able to upload it to your post.

We have looked into your issue and were able to replicate it as per your sample code and description. Shape is not updated with correct value when it is converted to html. We have logged this issue in our database for investigation and for a fix.

This issue has been logged as

  • CELLSJAVA-42352 - Shape is not updated with correct value

@xhaixia,

This is to inform you that we have fixed your issue now. We will soon provide you the fix after performing QA and incorporating other enhancements and fixes.

Thank you.

@xhaixia,

Thanks for using Aspose APIs.

Please download and try the following fix and let us know your feedback.

The issues you have found earlier (filed as CELLSJAVA-42352) have been fixed in Aspose.Cells for Java 17.8.