FootnoteEndnoteType.Id FootnoteEndnoteType.Id FootnoteEndnoteType.Id Property

Definition

Footnote/Endnote ID.Represents the following attribute in the schema: w:id

[DocumentFormat.OpenXml.SchemaAttr(23, "id")]
public DocumentFormat.OpenXml.IntegerValue Id { get; set; }
member this.Id : DocumentFormat.OpenXml.IntegerValue with get, set
Public Property Id As IntegerValue

Property Value

Remarks

The following information from the ECMA International Standard ECMA-376 can be useful when working with this class.

Specifies a unique ID which shall be used to match the contents of a footnote or endnote to the associated footnote/endnote reference mark in the document using the footnoteRef or endnoteRef element, as appropriate.

If this attribute is omitted, then this footnote or endnote shall have no ID. If more than one footnote shares the same ID, then this document shall be considered non-conformant. If more than one endnote shares the same ID, then this document shall be considered non-conformant.

Consider the following footnote as defined in the footnotes part:

<w:footnotes>  
  <w:footnote w:type="normal" w:id="0">  
    …  
  </w:footnote>  
  …  
</w:footnotes>  

The contents of this footnote are associated with the footnoteReference with a matching ID, as follows:

<w:p>  
  <w:r>  
    <w:footnoteReference w:id="0" />  
  </w:r>  
</w:p>  

The resulting paragraph will have a footnote reference mark which references the footnote number value of the footnote with an id of 0.

The possible values for this attribute are defined by the ST_DecimalNumber simple type.

Applies to