FootnoteLayoutLikeWord8 class

Office 2013 and later

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

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

No code example is currently available or this language may not be supported.

[ISO/IEC 29500-1 1st Edition]

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:

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:

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.

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