FootnoteProperties Class
Section-Wide Footnote Properties.When the object is serialized out as xml, its qualified name is w:footnotePr.
Inheritance Hierarchy
System.Object
DocumentFormat.OpenXml.OpenXmlElement
DocumentFormat.OpenXml.OpenXmlCompositeElement
DocumentFormat.OpenXml.Wordprocessing.FootnoteProperties
Namespace: DocumentFormat.OpenXml.Wordprocessing
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
Syntax
声明
<ChildElementInfoAttribute(GetType(NumberingFormat))> _
<ChildElementInfoAttribute(GetType(FootnotePosition))> _
<ChildElementInfoAttribute(GetType(NumberingStart))> _
<ChildElementInfoAttribute(GetType(NumberingRestart))> _
Public Class FootnoteProperties _
Inherits OpenXmlCompositeElement
用法
Dim instance As FootnoteProperties
[ChildElementInfoAttribute(typeof(NumberingFormat))]
[ChildElementInfoAttribute(typeof(FootnotePosition))]
[ChildElementInfoAttribute(typeof(NumberingStart))]
[ChildElementInfoAttribute(typeof(NumberingRestart))]
public class FootnoteProperties : OpenXmlCompositeElement
Remarks
The following table lists the possible child types:
FootnotePosition <w:pos>
NumberingFormat <w:numFmt>
NumberingStart <w:numStart>
NumberingRestart <w:numRestart>
[ISO/IEC 29500-1 第 1 个版本]
17.11.11 footnotePr (Section-Wide Footnote Properties)
This element specifies the footnote properties for the current section. Each of these properties are an override of the document-wide footnote properties (§17.11.12) and are stored as a child element within the footnotePr element.
If this element is omitted for a given section, then that section shall use the footnote properties defined at the document-wide level.
[Example: Consider a document consisting of three sections, which has footnotes in the first section which appear below text, and footnotes in the third section which appear at the bottom of the page. The WordprocessingML for each section would be specified as follows:
<w:sectPr>
<w:footnotePr>
<w:pos w:val="beneathText" />
</w:footnotePr>
</w:sectPr>
…
<w:sectPr>
…
</w:sectPr>
…
<w:sectPr>
…
</w:sectPr>
This assumes that the document-wide footnote settings are specified as the default positioning at the bottom of the page by omitting the pos element (§17.11.21), as follows:
<w:settings>
<w:footnotePr>
…
</w:footnotePr>
</w:settings>
The resulting document would override the footnote positioning for the first section to beneathText, but would use the pageBottom footnote positioning for section three (and would also use it for section two if that section had footnotes. end example]
Parent Elements |
---|
sectPr (§17.6.17); sectPr (§17.6.18); sectPr (§17.6.19) |
Child Elements |
Subclause |
---|---|
numFmt (Footnote Numbering Format) |
§17.11.18 |
numRestart (Footnote and Endnote Numbering Restart Location) |
§17.11.19 |
numStart (Footnote and Endnote Numbering Starting Value) |
§17.11.20 |
pos (Footnote Placement) |
§17.11.21 |
[Note: The W3C XML Schema definition of this element's content model (CT_FtnProps) 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.