We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Conditional Formatting Fails When Saving Workbook as HTML

While attempting to save a workbook as an HTML file after adding conditional formatting rules, the Save() method throws a NullReferenceException when attempting to get the background color for the conditionally formatted cell. This can be worked around by first saving (whether to file or memorystream) as Excel, then immediately saving as Html. However, the application of the conditional formatting background is inconsistent, whether the file was loaded from disk or generated by Aspose.Cells.


Attached is a SSCCE demonstrating the issue.
Hi,

Thanks for the sample project.

I can see the issues as you have mentioned by using your project and with your template file. First two tests fails with "NullReferenceException". The "Test4" case also gives inconsistent html file as you pointed out.

I have logged a ticket for your issue with an id: CELLSNET-40956. We will soon look into it to figure it out.

Thank you.

The issues you have found earlier (filed as CELLSNET-40956) have been fixed in this update.


This message was posted using Notification2Forum from Downloads module by Aspose Notifier.