Export (0) Print
Expand All

EndnoteSpecialReference class

Special Endnote List. When the object is serialized out as xml, its qualified name is w:endnote.

Namespace:  DocumentFormat.OpenXml.Wordprocessing
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

public class EndnoteSpecialReference : FootnoteEndnoteSeparatorReferenceType

[ISO/IEC 29500-1 1st Edition]

endnote (Special Endnote List)

This element specifies the ID for all endnotes which are located in the current document that are not of style normal. Each other type of endnote shall be referenced in this list, or it shall not be loaded. If an endnote is not listed beneath this element, and it is required by the document content, then the document shall be considered non-conformant.

[Example: Consider a document that has three endnotes represented by the following WordprocessingML:

<w:endnotes …>
  <w:endnote w:type="separator" w:id="0">
    …
  </w:
endnote>
  <w:endnote w:type="continuationSeparator" w:id="1">
    …
  </w:
endnote>
  <w:endnote w:id="2">
    …
  </w:
endnote>
</w:
endnotes>

Each of the endnotes which are not of style normal must be specified in the endnotePr element, as follows:

<w:endnotePr>
  <w:endnote w:id="0" />
  <w:endnote w:id="1" />
</w:endnotePr>

This indicates to the consumer that the endnotes with an id attribute value of 0 and 1 are special endnotes, and should be treated accordingly. end example]

Parent Elements

endnotePr (§17.11.4)

Attributes

Description

id (Footnote/Endnote ID)

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 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.

[Example: 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 has a footnote reference mark which references the footnote number value of the footnote with an id of 0. end example]

The possible values for this attribute are defined by the ST_DecimalNumber simple type (§17.18.10).

[Note: The W3C XML Schema definition of this element’s content model (CT_FtnEdnSepRef) is located in §A.1. end note]

© ISO/IEC29500: 2008.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show:
© 2015 Microsoft