Excel转html的时候有问题

我的版本现在是aspose for java 24.9,execl转html的时候,如果单元格中有图片,并且图片的旋转设置为0的时候,生成html会自动给我转,导致execl和html效果不一致

@jishangyang
你能上传你的模板文件么? 我们会尽快检查。

demoTest.zip (257.5 KB)

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.

@jishangyang
请问一下,你这个图片是怎么生成的,是手机或者相机竖拍的结果?
我们如果直接插入这个图片到Excel, 图片默认是90度旋转。

@jishangyang,

此外,供您参考,由于您使用的是 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);