我的版本现在是aspose for java 24.9,execl转html的时候,如果单元格中有图片,并且图片的旋转设置为0的时候,生成html会自动给我转,导致execl和html效果不一致
Thanks for the details and information provided.
I reproduced the issue as you mentioned by using a sample Excel file. I found that there is indeed a visual rendering discrepancy where certain elements do not align correctly during the Excel to HTML conversion process.
We require thorough evaluation of the issue. We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.
Issue ID(s): CELLSJAVA-46652
You can obtain Paid Support Services if you need support on a priority basis, along with the direct access to our Paid Support management team.
此外,供您参考,由于您使用的是 Aspose.Cells for Java,因此我已将工单 ID 从 “CELLSNET-59855” 更改为 “CELLSJAVA-46652”。另外,我们使用以下最简单的示例(Java)代码片段进行了测试,发现了完全相同的问题。
String srcFilePath = "d:\\files\\test11.xlsx";
String destHtmlPath = "d:\\files\\test11——output.html";
// Load the workbook from the source Excel file
Workbook workbook = new Workbook(srcFilePath);
// Save as HTML
workbook.save(destHtmlPath, SaveFormat.HTML);
是的,截图后,图片旋转90°
你的问题已经修复。该修复程序将包含在我们计划于 2026 年 3 月上半月即将发布的版本 (Aspose.Cells v26.3) 中。下一个版本发布时,您将收到通知。
附件是修复后的结果供您参考:CELLSJAVA-46652.zip (116.4 KB)
Thank you for providing the details on how the image was taken and rotated. As the issue has already been resolved, we kindly request you to stay tuned and try the upcoming version (Aspose.Cells v26.3) once it is released.
The issues you have found earlier (filed as CELLSJAVA-46652) have been fixed in Aspose.Cells for Java 26.3.