Class DocxValidator
Represents Docx validator class.
Inheritance
System.Object
DocxValidator
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Telerik.Windows.Documents.Flow.FormatProviders.Docx.Validation
Assembly: Telerik.Windows.Documents.Flow.dll
Syntax
public static class DocxValidator
Methods
Repair(RadFlowDocument)
Repairs the specified document to be compliant with Docx format.
Declaration
public static void Repair(RadFlowDocument document)
Parameters
RadFlowDocument
document
The document. |
Validate(RadFlowDocument)
Validates if the specified document is compliant with Docx format validation rules.
Declaration
public static ValidationResult Validate(RadFlowDocument document)
Parameters
RadFlowDocument
document
The document. |
Returns
ValidationResult
Returns validation result that contains result type and validation errors. |