FootnoteEndnoteSeparatorReferenceType.Id 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
脚注/尾注 ID
表示架构中的以下属性:w:id
[DocumentFormat.OpenXml.SchemaAttr(23, "id")]
public DocumentFormat.OpenXml.IntegerValue Id { get; set; }
public DocumentFormat.OpenXml.IntegerValue Id { get; set; }
[DocumentFormat.OpenXml.SchemaAttr(23, "id")]
public DocumentFormat.OpenXml.IntegerValue? Id { get; set; }
[DocumentFormat.OpenXml.SchemaAttr("w:id")]
public DocumentFormat.OpenXml.IntegerValue? Id { get; set; }
public DocumentFormat.OpenXml.IntegerValue? Id { get; set; }
member this.Id : DocumentFormat.OpenXml.IntegerValue with get, set
[<DocumentFormat.OpenXml.SchemaAttr(23, "id")>]
member this.Id : DocumentFormat.OpenXml.IntegerValue with get, set
[<DocumentFormat.OpenXml.SchemaAttr("w:id")>]
member this.Id : DocumentFormat.OpenXml.IntegerValue with get, set
Public Property Id As IntegerValue
属性值
返回 Int32Value。
- 属性
注解
使用此类时,ECMA 国际标准 ECMA-376 中的以下信息可能很有用。
指定唯一 ID,该 ID 应用于将脚注或尾注的内容与文档中关联的脚注/尾注引用标记进行匹配(视情况使用 footnoteRef
或 endnoteRef
元素)。
如果多个脚注具有相同的 ID,则本文档应被视为不符合要求。 如果多个尾注共享相同的 ID,则此文档应被视为不符合。
请考虑脚注部分中定义的以下脚注:
<w:footnotes>
<w:footnote w:type="normal" w:id="0">
…
</w:footnote>
…
</w:footnotes>
此脚注的内容与 footnoteReference
ID 匹配的 关联,如下所示:
<w:p>
<w:r>
<w:footnoteReference w:id="0" />
</w:r>
</w:p>
生成的段落将有一个脚注引用标记,引用脚注的脚注编号值,值为 id
0
。
此属性的可能值由 ST_DecimalNumber
简单类型定义。
适用于
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈