OdtSaveOptionsIsStrictSchema11 Property

Specifies whether export should correspond to ODT specification 1.1 strictly. OOo 3.0 displays files correctly when they contain elements and attributes of ODT 1.2. Use "false" for this purpose, or "true" for strict conformity of specification 1.1. The default value is false.

Namespace:  Aspose.Words.Saving
Assembly:  Aspose.Words (in Aspose.Words.dll) Version: 20.3
Syntax
public bool IsStrictSchema11 { get; set; }

Property Value

Type: Boolean
Examples
Shows how to work with units of measure of document content.
Document doc = new Document(MyDir + "Rendering.docx");

// Open Office uses centimeters, MS Office uses inches
OdtSaveOptions saveOptions = new OdtSaveOptions
{
    MeasureUnit = OdtSaveMeasureUnit.Inches,
    IsStrictSchema11 = true
};

doc.Save(ArtifactsDir + "OdtSaveOptions.MeasureUnit.odt", saveOptions);
See Also