Freigeben über


FootnoteLayoutLikeWord8-Klasse

Emulate Word 6.x/95/97 Footnote Placement.When the object is serialized out as xml, its qualified name is w:footnoteLayoutLikeWW8.

Vererbungshierarchie

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlLeafElement
      DocumentFormat.OpenXml.Wordprocessing.OnOffType
        DocumentFormat.OpenXml.Wordprocessing.FootnoteLayoutLikeWord8

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

Syntax

'Declaration
Public Class FootnoteLayoutLikeWord8 _
    Inherits OnOffType
'Usage
Dim instance As FootnoteLayoutLikeWord8
public class FootnoteLayoutLikeWord8 : OnOffType

Hinweise

[ISO/IEC 29500-1 1. Ausgabe]

9.7.3.20 footnoteLayoutLikeWW8 (Ignore Page Break from Continuous Section Break)

This element specifies that applications should override the default behaviour for a continuous section break when one or more footnotes are present on the page with the footnote. This override typically results in text being displayed on the same page as a continuous section break (after the break, which would normally move all following text to the next page).

Typically, applications render a continuous section break as a page break when one or more footnoteRef elements (Part 1, §17.11.13) occur on that page before the break, as described in Part 1, §17.18.77. This element, when present with a val attribute value of true (or equivalent), specifies that applications should allow any paragraph after the section break that contains no footnoteRef elements (Part 1, §17.11.13) to be displayed on the same page. If the resulting content reaches the page extents, the section's page break is ignored.

[Example: Consider a WordprocessingML document with two footnotes contained in two sections, separated by a continuous section break:

<w:p>
  <w:r>
    <w:t xml:space="preserve">Here is the first paragraph in the first section.</w:t>
  </w:r>
</w:p>
<w:p>
  <w:r>
    <w:t>Here is the second paragraph in the first section.</w:t>
  </w:r>
  <w:r>
    <w:rPr>
      <w:rStyle w:val="FootnoteReference" />
    </w:rPr>
<w:footnoteReference w:id="2" />
    </w:r>
</w:p>
<w:p/>
<w:p>
  <w:pPr>
    <w:sectPr>
      …
    </w:sectPr>
  </w:pPr>
  </w:p>
<w:p>
  <w:r>
    <w:t>Here is the first paragraph in the second section.</w:t>
  </w:r>
</w:p>
<w:p>
  <w:r>
    <w:t xml:space="preserve">Here is the second paragraph in the second section.</w:t>
  </w:r>
  <w:r>
    <w:rPr>
      <w:rStyle w:val="FootnoteReference" />
      </w:rPr>
<w:footnoteReference w:id="3" />
  </w:r>
</w:p>
<w:p>
  <w:r>
    <w:t xml:space="preserve">Here is the third paragraph in the second section. </w:t>
    </w:r>
</w:p>
<w:sectPr>
  <w:type w:val="continuous" />
    …
</w:sectPr>

The default rendering of such a document results in the continuous section break as a page break, resulting in the following two page document:

DocumentFormat.OpenXml.Wordprocessing.FootnoteLayo

However, if this compatibility setting is turned on:

<w:compat>
<w:footnoteLayoutLikeWW8 />
</w:compat>

Then the first paragraph following the section break (not having any footnote references) is displayed on the same page, despite the section break, resulting in the following output:

DocumentFormat.OpenXml.Wordprocessing.FootnoteLayo

end example]

Parent Elements

compat (Part 1, §17.15.1.21)

This element's content model is defined by the common boolean property definition in Part 1, §17.17.4.

© ISO/IEC29500: 2008. Die oben aufgeführten Textauszüge wurden von Microsoft (und/oder den Microsoft-Vendoren) von Englisch nach Deutsch übersetzt, und im Rahmen von ISO wird keinerlei Verantwortung für diese Übersetzungen übernommen.

Threadsicherheit

Alle öffentlichen static (Shared in Visual Basic) Member dieses Typs sind threadsicher. Bei Instanzmembern ist die Threadsicherheit nicht gewährleistet.

Siehe auch

Referenz

FootnoteLayoutLikeWord8-Member

DocumentFormat.OpenXml.Wordprocessing-Namespace