Hello,
I have some problems when I try save Workbook to HTML file with seted “CellCssPrefix” in HtmlSaveOptions.
The problem is that class name in HTML is without prefix, but in CSS styles prefix is correct. But it is only (in my case) for span element with changed style. For cell class are set properly. I attached pictures showing the problem and Excel file. To reproduce my case, I attached my code.
var workbook = new Workbook(@“D:\test.xlsx”);
workbook.Worksheets[0].Cells[“M4”].Characters(0, 10).Font.Color = Color.Red;
workbook.Save(@“D:\test.html”, new HtmlSaveOptions(SaveFormat.Html)
{
CellCssPrefix = “cssPrefix”
});