Freigeben über


PrintBodyTextBeforeHeader-Klasse

Print Body Text before Header/Footer Contents.When the object is serialized out as xml, its qualified name is w:printBodyTextBeforeHeader.

Vererbungshierarchie

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

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

Syntax

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

Hinweise

[ISO/IEC 29500-1 1. Ausgabe]

9.7.3.32 printBodyTextBeforeHeader (Print Body Text before Header/Footer Contents)

This element specifies the order in which the contents of the main document story and any headers and/or footers shall be sent to the printer.

Typically, the contents of a document are sent to the printer as follows:

  • First, the contents of headers/footers are sent to the printer

  • Finally, the contents of the main document story are sent to the printer

This element, when present with a val attribute value of true (or equivalent), specifies that this order shall be reversed, and that the body text shall be sent to the printer before any header/footer text. This reversal allows for the processing of PostScript codes in the text layer in the same order as afforded by some legacy word processing applications.

[Example: Consider a WordprocessingML document which is printed. The default resulting print order is the headers and footers for each page, followed by the page contents.

However, if this compatibility setting is turned on:

<w:compat>
<w:printBodyTextBeforeHeader />
</w:compat>

Then this order must be reversed, and the page contents must be printed before the corresponding header and/or footer for each page. 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

PrintBodyTextBeforeHeader-Member

DocumentFormat.OpenXml.Wordprocessing-Namespace