Cell to HTML format- double under not displaying

Hi,

I am saving "Aspose.Cells.Workbook" to html format.

Aspose.Cells.SaveFormat saveFormat = Aspose.Cells.SaveFormat.Html;
wBook.Save("sample.html", saveFormat);

But after saving as html, when I open the html file in the browser it's not displaying the double under properly, which is displayed in Excel file properly.

Double underline is displaying as single underline in saved html file.

Please let me know if there is any other way to achieve this functionality.

Thanks,
Ramesh

Hi Ramesh,

Thanks for your posting and using Aspose.Cells.

If you manually save the Excel file containing the double underline into HTML, and then open the HTML file in the browser, you will see that double underline is rendered as single underline. So, this is not the issue of Aspose.Cells but a limitation of Excel and the browsers as they do not support double underline.

I have attached the sample xlsx file and the Excel saved HTML file for your reference.

Thank you Shakeel, for the quick reply.


Yes, I agree with you that, from Excel if I do save as html , it also gives the same issue.

But, I want to know that, is there any way to achieve this functionality through aspose.cells.

Thanks,
Ramesh

Hi Ramesh,

Thanks for your posting and using Aspose.Cells.

We are afraid, you cannot achieve this functionality through Aspose.Cells. Besides double under line is not supported in HTML also, so it is the limitation of HTML itself.