Поделиться через


FootnoteReferenceMark Class

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

Inheritance Hierarchy

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

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

Syntax

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

Remarks

[ISO/IEC 29500-1 1st Edition]

17.11.13 footnoteRef (Footnote Reference Mark)

This element specifies the presence of a footnote reference mark. A footnote reference mark is a run of automatically numbered text which follows the numbering format set forth via the footnote numFmt element (§17.11.18).

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

[Example: Consider the following document where some text is referenced by a footnote at the end of the page:

DocumentFormat.OpenXml.Wordprocessing.FootnoteRefe

The footnote reference mark is the decimal number within the actual footnote itself in the image above. The contents of the footnote (including the footnote reference mark) are represented by the following WordprocessingML:

<w:footnote w:id="2">
  <w:p>
    <w:pPr>
      <w:pStyle w:val="FootnoteText" />
    </w:pPr>
    <w:r>
      <w:rPr>
        <w:rStyle w:val="FootnoteReference" />
      </w:rPr>
      <w:footnoteRef />
    </w:r>
    <w:r>
      <w:t>Cool reference</w:t>
    </w:r>
  </w:p>
</w:footnote>

The resulting footnote contains the literal endnote content of Cool reference, preceding by an automatically numbered footnote reference mark. Since this is the first footnote in the document, that automatically numbered reference mark uses the first decimal number 1. It is also important to note that the use of styles FootnoteText and FootnoteReference is not required, these can simply be added by a particular producer automatically to give the footnote contents are particular style (just like any other use of styles). 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

FootnoteReferenceMark Members

DocumentFormat.OpenXml.Wordprocessing Namespace