Thanks for your posting and using Aspose.Cells.
We were able to observe this issue by executing your sample code with your sample excel file using the latest version:
Aspose.Cells for Java v188.8.131.52 and found that HTML is wrong when some rows are hidden.
We have logged this issue in our database for investigation. We will look into it and fix this issue. Once the issue is resolved or we have some other update for you, we will let you know asap.
This issue has been logged as
- CELLSJAVA-41794 - HTML is wrong when some rows are hidden
I have also attached the output html generated with the following code for a reference.
Workbook wb = new Workbook(filePath);
HtmlSaveOptions options = new HtmlSaveOptions();
wb.save(filePath + “.out.html”, options);