SeparatorMark Class

Footnote/Endnote Separator Mark.When the object is serialized out as xml, its qualified name is w:separator.

Inheritance Hierarchy

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

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

Syntax

声明
Public Class SeparatorMark _
    Inherits EmptyType
用法
Dim instance As SeparatorMark
public class SeparatorMark : EmptyType

Remarks

[ISO/IEC 29500-1 第 1 个版本]

17.11.23 separator (Footnote/Endnote Separator Mark)

This element specifies the presence of a separator mark within the current run. A separator mark is a horizontal line which spans part of the width text extents.

[Note: The separator mark is typically used within the context of separator footnotes or endnotes. These footnote and endnote types define the footnote/endnote used to separate the contents of the main document story from the contents of footnotes or endnotes on that page. end note]

[Example: Consider the following page in a document, where some text is referenced by a footnote that is located at the bottom of the current page (with the separator circled in red):

DocumentFormat.OpenXml.Wordprocessing.SeparatorMar

The line separating the document text from the normal footnotes is the footnote separator, and is represented by the following WordprocessingML:

<w:footnote w:type="separator" w:id="0">
  <w:p>
    <w:r>
      <w:separator />
    </w:r>
  </w:p>
</w:footnote> 

In this example, the footnote has a content which consists of a single separator, which is displayed as a horizontal line across part of the text extents. 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. 以上摘要已经由 Microsoft(和/或其代理公司)从英语翻译为简体中文,ISO 对此翻译不承担任何责任。

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

SeparatorMark Members

DocumentFormat.OpenXml.Wordprocessing Namespace