docx
    Preparing search index...

    Class Body

    Represents the document body in a WordprocessingML document.

    The body element is the container for all block-level content in the document. This includes paragraphs, tables, and section properties that define page layout.

    Reference: http://officeopenxml.com/WPdocument.php

    <xsd:complexType name="CT_Body">
    <xsd:sequence>
    <xsd:group ref="EG_BlockLevelElts" minOccurs="0" maxOccurs="unbounded"/>
    <xsd:element name="sectPr" minOccurs="0" maxOccurs="1" type="CT_SectPr"/>
    </xsd:sequence>
    </xsd:complexType>

    Hierarchy (View Summary)

    Index

    Constructors

    Methods

    • Adds new section properties. Note: Previous section is created in paragraph after the current element, and then new section will be added. The spec says:

      • section element should be in the last paragraph of the section
      • last section should be direct child of body

      Parameters

      Returns void