EndnoteReferenceMark class

Office 2013 and later

Endnote Reference Mark. When the object is serialized out as xml, its qualified name is w:endnoteRef.

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

public class EndnoteReferenceMark : EmptyType

[ISO/IEC 29500-1 1st Edition]

endnoteRef (Endnote Reference Mark)

This element specifies the presence of an endnote reference mark. An endnote reference mark is a run of automatically numbered text which follows the numbering format set forth via the numFmt element (§17.11.17).

If an endnote reference mark is specified within a run which is not part of an endnote, then that endnote reference mark can be ignored.

[Example: Consider the following document where some text is referenced by an endnote at the end of the document:

The endnote reference mark is the lower case roman numeral within the actual endnote itself in the diagram above. The contents of the endnote (including the endnote reference mark) are represented by the following WordprocessingML:

<w:endnote w:id="2">
  <w:p>
    <w:pPr>
      <w:pStyle w:val="EndnoteText" />
    </w:pPr>
    <w:r>
      <w:rPr>
        <w:rStyle w:val="EndnoteReference" />
      </w:rPr>
      <w:endfootnoteRef />
    </w:r>
    <w:r>
      <w:t>
Cool reference</w:t>
    </w:r>
  </w:p>
</w:endnote>

The resulting endnote contains the literal endnote content of Cool reference, preceding by an automatically numbered endnote reference mark. Since this is the first endnote in the document, that automatically numbered reference mark uses the lower case roman numeral i. end example]

Parent Elements

r (§22.1.2.87); r (§17.3.2.25)

[Note: The W3C XML Schema definition of this element’s content model (CT_Empty) 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: