[Table of Contents] [docx version]

WordprocessingML Reference Material - Table of Contents

ST_Proof (Proofing State Values)

This simple type specifies the values which may be used to indicate the status of a given hosting application's grammar and spell checking when a given WordprocessingML document was last saved.

[Example: Consider a WordprocessingML document that is saved by a hosting application whose grammar checking engine had completed checking the grammar in the given WordprocessingML document, but whose spell checking engine had not completed checking the spelling in the given WordprocessingML document . In this instance, the following WordprocessingML shall be written in the document settings:

<w:proofState w:spelling="dirty" w:grammar="clean" />

The proofState element's attributes spelling and grammar have the ST_Proof simple type enumeration values dirty and clean respectively, specifying that the hosting application's spell checking engine had not completed checking the spelling of the document, and that the hosting application's grammar checking engine had completed checking the grammar of the document, when the WordprocessingML document was last saved. end example]

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

The following are possible enumeration values for this type:

Enumeration Value

Description

clean (Check Completed)

Specifies that the given proofing engine completed checking the document when it was last saved.

dirty (Check Not Completed)

Specifies that the given proofing engine did not complete checking the document when it was last saved.

 

Referenced By

proofState@grammar2.15.1.65); proofState@spelling2.15.1.65)

The following XML Schema fragment defines the contents of this simple type:

<simpleType name="ST_Proof">

   <restriction base="xsd:string">

   <enumeration value="clean"/>

   <enumeration value="dirty"/>

   </restriction>

</simpleType>