Defines the SectionType Class. When the object is serialized out as xml, its qualified name is w:type.
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
[ISO/IEC 29500-1 1st Edition]
type (Section Type)
This element specifies the section type of the current section. The section type specifies how the contents of the current section shall be placed relative to the previous section.
WordprocessingML supports five distinct types of section breaks:
Next page section breaks (the default if type is not specified), which begin the new section on the following page.
Odd page section breaks, which begin the new section on the next odd-numbered page.
Even page section breaks, which begin the new section on the next even-numbered page.
Continuous section breaks, which begin the new section on the following paragraph. This means that continuous section breaks might not specify certain page-level section properties, since they shall be inherited from the following section. These breaks, however, can specify other section properties, such as line numbering and footnote/endnote settings.
Column section breaks, which begin the new section on the next column on the page.
sectPr (§17.6.17); sectPr (§17.6.18); sectPr (§17.6.19)
val (Section Type Setting)
Specifies the section type of the current section.
[Example: Consider a section that must start on the next page in the document. The WordprocessingML specifying this would look like:
<w:sectPr> … <w:type w:="nextPage"/> </w:sectPr>
The nextPage value specifies that this section starts on the next page. end example]
The possible values for this attribute are defined by the ST_SectionMark simple type (§17.18.77).
[Note: The W3C XML Schema definition of this element’s content model (CT_SectType) is located in §A.1. end note]
© ISO/IEC29500: 2008.