PrintBodyTextBeforeHeader Class
Print Body Text before Header/Footer Contents.When the object is serialized out as xml, its qualified name is w:printBodyTextBeforeHeader.
Inheritance Hierarchy
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
声明
Public Class PrintBodyTextBeforeHeader _
Inherits OnOffType
用法
Dim instance As PrintBodyTextBeforeHeader
public class PrintBodyTextBeforeHeader : OnOffType
Remarks
[ISO/IEC 29500-1 第 1 个版本]
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. 以上摘要已经由 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.