NoProof class

Office 2013 and later

Defines the NoProof Class. When the object is serialized out as xml, its qualified name is w:noProof.

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

public class NoProof : OnOffType

[ISO/IEC 29500-1 1st Edition]

noProof (Do Not Check Spelling or Grammar)

This element specifies that the contents of this run shall not report any errors when the document is scanned for spelling and grammar. [Note: It is entirely at the consumer's/producer's discretion whether this is done by not checking the region for spelling and grammar, or simply by suppressing the results. end note]

If this element is not present, the default value is to leave the formatting applied at previous level in the style hierarchy. If this element is never applied in the style hierarchy, then spelling and grammar error shall not be suppressed on the contents of this run.

[Example: Consider a run of text which must not ever have spelling or grammar errors reported for the contents of the run, for example, the XML fragments included in /IEC 29500. This constraint is specified using the following WordprocessingML:

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

This run explicitly declares that the noProof property is true, so the contents of this run never report spelling or grammar errors. end example]

Parent Elements

rPr (§; rPr (§; rPr (§; rPr (§17.9.25); rPr (§; rPr (§; rPr (§; rPr (§; rPr (§; rPr (§

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.