Cell with hyperlink changes formatting when saving workbook as html

Hello,

In workbook, there is a cell which has attached hyperlink. It doesn’t have usual
hyperlink formatting, though it has some own formatting. When I save it as html
and open html, black underline appears on for text from cell. Is there some way to
avoid this, and have the same formatting as in excel file for this cell?
I’m using aspose.cells 19.4.0 for java.

Workbook workbook = new Workbook("3-aa.xlsx");
workbook.save(path, SaveFormat.HTML);

3-aa.zip (9.1 KB)

Regards,
Milorad

@Milorad,

Thanks for the template file and sample code.

Aspose.Cells for Java works the same way as MS Excel does. Please open your template file into MS Excel and save it as “Web Page”. Now open the file into some browser and you will see same display for hyperlink/text as per Aspose.Cells’ generated output HTML. So, this is expected behavior and it is not an issue.