OoxmlCompliance Enum
Wordize.Saving.OoxmlCompliance enum. Allows to specify which OOXML specification will be used when saving in the DOCX format.
OoxmlCompliance enumeration
Allows to specify which OOXML specification will be used when saving in the DOCX format.
public enum OoxmlCompliance
Values
Name | Value | Description |
---|---|---|
Ecma376_2006 | 0 | ECMA-376 1st Edition, 2006. |
Iso29500_2008_Transitional | 1 | ISO/IEC 29500:2008 Transitional compliance level. |
Iso29500_2008_Strict | 2 | ISO/IEC 29500:2008 Strict compliance level. |
Examples
Shows how to specify compliance level of DOCX document
OoxmlSaveOptions docxSaveOptions = new OoxmlSaveOptions();
docxSaveOptions.Compliance = OoxmlCompliance.Iso29500_2008_Strict;
Converter.Create()
.From(MyDir + "Simple.docx")
.To(ArtifactsDir + "OoxmlSaveOptions.Compliance.docx", docxSaveOptions)
.Execute();
See Also
- namespace Wordize.Saving
- assembly Wordize