您好,
我使用官網提供的程式碼,將 html 轉存成 ODS ,結果 ODS 字的顏色與html不同,
// load the HTML file to be converted
var document = new Aspose.Cells.Workbook(“ocs.html”);
// save HTML as a ODS
document.Save(“ocs.ods”, Aspose.Cells.SaveFormat.ODS);
測試的html、產出的ODS及比較的png,都在zip附件之中,
ocs.zip (1.0 MB)