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

NameValueDescription
Ecma376_20060ECMA-376 1st Edition, 2006.
Iso29500_2008_Transitional1ISO/IEC 29500:2008 Transitional compliance level.
Iso29500_2008_Strict2ISO/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