17.18.70 ST_ProofErr

This simple type specifies the possible values for the types of proofing error markers which can appear in the contents of a WordprocessingML document to indicate the last known state of any spell- and grammar-checking performed on the contents of this document.

[Example: Consider the following paragraph consisting of two misspelled words, where the second word has been explicitly flagged as not being a spelling error. This paragraph would consist of the following WordprocessingML markup:

<w:p>
  <w:proofErr w:type="spellStart"/>
  <w:r>
    <w:t>erqwt</w:t>
  </w:r>
  <w:proofErr w:type="spellEnd"/>
  <w:r>
    <w:t xml:space="preserve"> werewr</w:t>
  </w:r>
</w:p>

The proofErr elements with a val attribute value of spellStart and spellEnd, respectively delimit the start and end the content in this paragraph which is stored as a spelling error. Since the second word is not included in that range, it is not stored as a spelling error. end example]

This simple type’s contents are a restriction of the W3C XML Schema string datatype.

This simple type is restricted to the values

listed in the following table:

Enumeration Value

Description

Specifies that this proofing error marker shall indicate the start of a region to be marked as a grammatical error in the document.

Specifies that this proofing error marker shall indicate the end of a region to be marked as a grammatical error in the document.

Specifies that this proofing error marker shall indicate the end of a region to be marked as a spelling error in the document.

Specifies that this proofing error marker shall indicate the start of a region to be marked as a spelling error in the document.

[Note: The W3C XML Schema definition of this simple type’s content model (ST_ProofErr) is located in A.1. end note]

Last updated on