EndnoteReferenceMark Class

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

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlLeafElement
      DocumentFormat.OpenXml.Wordprocessing.EmptyType
        DocumentFormat.OpenXml.Wordprocessing.EndnoteReferenceMark

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

Syntax

'Declaration
Public Class EndnoteReferenceMark _
    Inherits EmptyType
'Usage
Dim instance As EndnoteReferenceMark
public class EndnoteReferenceMark : EmptyType

Remarks

[ISO/IEC 29500-1 1st Edition]

17.11.6 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:

DocumentFormat.OpenXml.Wordprocessing.EndnoteRefer

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.

Thread Safety

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

See Also

Reference

EndnoteReferenceMark Members

DocumentFormat.OpenXml.Wordprocessing Namespace