Hi Support,
I have checked ‘Limit formatting to permitted styles’ in Word styles.
But after saving the template with Aspose.Words it is not preserved.
I use Version 15.5.0.0.
Code:
wordlic.SetLicense(“Aspose.Total.lic”);
// open source document.
Document doc = new Document(“Doc1.dotx”);
doc.Save(“Doc1 output.dotx”, Aspose.Words.SaveFormat.Dotx);
Unfortunately is not allowed to upload a dotx-file.
I have uploaded a document from dotx.
Kind regards,
guido