I’ve put the font property strikethrough on an Excel Row, and then removed this property from the individual cells. As a result I see no strikethrough in my Excel sheet, but if I export it to a html I will see the strikethrough.
My test code:
<pre style=“background-color: rgb(255, 255, 255); font-family: “Courier New”;”>Workbook lWorkbook = new Workbook( lFileName );
lWorkbook.save( lSaveName, FileFormatType.HTML );<pre style=“background-color: rgb(255, 255, 255); font-family: “Courier New”;”>Aspose.Cells Version: 16.11.0
lWorkbook.save( lSaveName, FileFormatType.HTML );<pre style=“background-color: rgb(255, 255, 255); font-family: “Courier New”;”>Aspose.Cells Version: 16.11.0
PS: In HTML the text-decoration css-attribute can’t be changed by it’s decendants.