I am using the latest version of Aspose and merging WORD documents into SharePoint.
The issue I am having is that, no matter what I do WORD Online is saying that my DOCX is in compatible mode:
image.png (21.6 KB)
I can convert the document in WORD 2016 and open it in WORD ONLINE and it works perfectly. The problem is when its in compatibility mode in WORD ONLINE the tables are skewy.
Here is what I have tried:
OoxmlSaveOptions saveOptions = new OoxmlSaveOptions(SaveFormat.saveOptions.Compliance =
OoxmlCompliance.Iso29500_2008_Transitional;
doc.Save(ms, saveOptions);
The above has no effect, it still saves as “compatible mode”
OoxmlSaveOptions saveOptions = new OoxmlSaveOptions(SaveFormat.saveOptions.Compliance =
OoxmlCompliance.saveOptions.Compliance = OoxmlCompliance.Iso29500_2008_Strict;
doc.Save(ms, saveOptions);
The above code wont even open in WORD online.
var doc = new Document(templateFile);
doc.CompatibilityOptions.UseWord2010TableStyleRules = true;
The above code has no effect