hi,
i am using the code as below:
var doc = new Document();
var builder = new DocumentBuilder(doc);
builder.InsertHtml(html);
doc.Save(exportDirectory + "/doc/" + this.newFileName + ".doc", Aspose.Words.SaveFormat.Doc);
the html contain a , some elements as
. Ok, you can see the css only apply to style=“” attribute into the exported file but it didn’t apply to element into the file. I readed some post which use to loadOptionFormat, i think the loadOptionFormat is not difference to InsertHtml.
In this case, how to apply to css style from a file for exported file.
Thanks for your sharing.