ProofState.Spelling 属性

定义

拼写检查状态

表示架构中的以下属性: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)

属性值

返回 EnumValue<T>

属性

注解

使用此类时,ECMA 国际标准 ECMA-376 中的以下信息可能很有用。

指定应用程序的拼写检查引擎是否完成了上次保存文档的拼写检查。

如果省略此属性,则假定 dirty 其值 (未完成) 。

假设托管应用程序保存了一个 WordprocessingML 文档,其拼写和语法检查引擎已完成给定 WordprocessingML 文档中的语法和拼写检查。 在文档设置中使用以下 WordprocessingML 指定此状态:

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

属性 spelling 具有值 clean ,该值指定承载应用程序的拼写检查引擎在上次保存给定文档时完成检查该文档的拼写。

此属性的可能值由 ST_Proof 简单类型定义。

适用于