Share via


ProofState.Spelling Property

Definition

Spell Checking State

Represents the following attribute in the schema: w:spelling

[DocumentFormat.OpenXml.SchemaAttr(23, "spelling")]
public DocumentFormat.OpenXml.EnumValue<DocumentFormat.OpenXml.Wordprocessing.ProofingStateValues> Spelling { get; set; }
public DocumentFormat.OpenXml.EnumValue<DocumentFormat.OpenXml.Wordprocessing.ProofingStateValues> Spelling { get; set; }
[DocumentFormat.OpenXml.SchemaAttr(23, "spelling")]
public DocumentFormat.OpenXml.EnumValue<DocumentFormat.OpenXml.Wordprocessing.ProofingStateValues>? Spelling { get; set; }
[DocumentFormat.OpenXml.SchemaAttr("w:spelling")]
public DocumentFormat.OpenXml.EnumValue<DocumentFormat.OpenXml.Wordprocessing.ProofingStateValues>? Spelling { get; set; }
public DocumentFormat.OpenXml.EnumValue<DocumentFormat.OpenXml.Wordprocessing.ProofingStateValues>? Spelling { get; set; }
member this.Spelling : DocumentFormat.OpenXml.EnumValue<DocumentFormat.OpenXml.Wordprocessing.ProofingStateValues> with get, set
[<DocumentFormat.OpenXml.SchemaAttr(23, "spelling")>]
member this.Spelling : DocumentFormat.OpenXml.EnumValue<DocumentFormat.OpenXml.Wordprocessing.ProofingStateValues> with get, set
[<DocumentFormat.OpenXml.SchemaAttr("w:spelling")>]
member this.Spelling : DocumentFormat.OpenXml.EnumValue<DocumentFormat.OpenXml.Wordprocessing.ProofingStateValues> with get, set
Public Property Spelling As EnumValue(Of ProofingStateValues)

Property Value

Returns EnumValue<T>.

Attributes

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.

Applies to