ProofState.Spelling Property
Spell Checking State.Represents the attribte in schema: w:spelling
Namespace: DocumentFormat.OpenXml.Wordprocessing
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
Syntax
'Declaration
<SchemaAttrAttribute(, "spelling")> _
Public Property Spelling As EnumValue(Of ProofingStateValues)
Get
Set
'Usage
Dim instance As ProofState
Dim value As EnumValue(Of ProofingStateValues)
value = instance.Spelling
instance.Spelling = value
[SchemaAttrAttribute(, "spelling")]
public EnumValue<ProofingStateValues> Spelling { get; set; }
Property Value
Type: DocumentFormat.OpenXml.EnumValue<ProofingStateValues>
Returns EnumValue<T>.
Remarks
The following information from the ECMA International Standard ECMA-376 can be useful when working with this class.
Specifies if an application's spell checking engine completed checking the spelling of the document when it was last saved.
If this attribute is omitted, then its value is assumed to be dirty (not complete).
Consider a WordprocessingML document saved by a hosting application whose spelling and grammar checking engines have completed checking grammar and spelling in the given WordprocessingML document. This state is specified using the following WordprocessingML in the document settings:
<w:proofState w:spelling="clean" w:grammar="clean" />
The spelling attribute has the value clean specifying that the hosting application's spell checking engine completed checking the spelling of the given document when it was last saved.
The possible values for this attribute are defined by the ST_Proof simple type.