HideGrammaticalErrors class

Office 2013 and later

Do Not Display Visual Indication of Grammatical Errors. When the object is serialized out as xml, its qualified name is w:hideGrammaticalErrors.

Namespace:  DocumentFormat.OpenXml.Wordprocessing
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

public class HideGrammaticalErrors : OnOffType

[ISO/IEC 29500-1 1st Edition]

hideGrammaticalErrors (Do Not Display Visual Indication of Grammatical Errors)

This element specifies whether a visual cue should be displayed around run content contained in a WordprocessingML document which has been flagged as a possible grammatical error using the proofErr element (§ or via the application's own grammar engine.

If this element is not present in a WordprocessingML document, visual cues shall be displayed on content contained in a WordprocessingML document which is considered to contain grammatical errors.

[Example: Consider a WordprocessingML document which should show no visual indication of grammatical errors. This requirement would be specified using the following WordprocessingML:

<w:hideGrammaticalErrors w:val="true"/> 

The hideGrammaticalErrors element's val attribute has a value of true specifying the display of any visual indication of grammatical errors must be suppressed for this document. end example]

Parent Elements

settings (§

This element’s content model is defined by the common boolean property definition in §17.17.4.

© ISO/IEC29500: 2008.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.