There is a common bug in recent versions of Excel, where on a copy/paste between different workbooks, all the styles from the source workbook are added to the destination workbook.
We are using Aspose Cells, and are using the HTML export feature. The problem we are running into is that Aspose Cells exports all styles present in the Excel workbook to CSS class selector declarations in the generated HTML. For some of workbooks we’ve seen, close to 15 MB of CSS text is generated! This breaks the rendering in Internet Explorer, and greatly slows down other web browsers. At the same time, out of the tens of thousands of styles present in the workbook, only 20 or so are used.
Unfortunately, Aspose Cells does not provide any way to delete styles from a workbook, making it impossible to implement an automatic fix or workaround for this problem.
Given that this is a very common problem when working with Excel, it would be a very good improvement if Aspose Cells were extended to deal with this. One way would be to implement operations that allow the deletion of styles. Another option would be to make the HTML export smarter, and allow it to only transform those styles to CSS that are actually used in the workbook or worksheet being exported.
Thanks in advance