Class AbstractBody

    • Constructor Detail

      • AbstractBody

        public AbstractBody​(org.apache.poi.xwpf.usermodel.IBody iBody)
        Create a new AbstractBody.
        Parameters:
        iBody - IBody.
    • Method Detail

      • getXWPF

        public org.apache.poi.xwpf.usermodel.IBody getXWPF()
        Description copied from interface: IXWPFElement
        Returns the XWPF object of current element.
      • getBodyElements

        public java.util.List<AbstractBodyElement> getBodyElements()
        Returns the paragraphs, tables, and structured document elements in order.

        Represents the following element tags in the schema: w:p, w:tbl, w:sdt.

        Returns:
        the paragraphs, tables, and structured document elements in order.
      • createParagraph

        public abstract DOCXP createParagraph()
        Create a new Paragraph.
        Returns:
        the new Paragraph.
      • createTable

        public abstract DOCXTbl createTable()
        Create a new Table.
        Returns:
        the new Table.