Class AbstractHdrFtr

All Implemented Interfaces:
ICTElement, IDOCXVisitable<Object>, IXWPFElement
Direct Known Subclasses:
DOCXFtr, DOCXHdr

public abstract class AbstractHdrFtr extends AbstractBody
Internal Use Only.

Header and Footer Definition.

Represents w:hdr and w:ftr in xml.

Author:
Jamson Chan
  • Constructor Details

    • AbstractHdrFtr

      public AbstractHdrFtr(org.apache.poi.xwpf.usermodel.XWPFHeaderFooter xwpfHeaderFooter)
      Create a new instance of AbstractHdrFtr.
      Parameters:
      xwpfHeaderFooter - XWPFHeaderFooter.
  • Method Details

    • getCT

      public org.openxmlformats.schemas.wordprocessingml.x2006.main.CTHdrFtr getCT()
      Description copied from interface: ICTElement
      Returns the CT object of current element.
    • getParent

      public IXWPFElement getParent()
      Description copied from interface: IXWPFElement
      Returns the parent element of current element.
    • createParagraph

      public DOCXP createParagraph()
      Description copied from class: AbstractBody
      Create a new Paragraph.
      Specified by:
      createParagraph in class AbstractBody
      Returns:
      the new Paragraph.
    • createTable

      public DOCXTbl createTable()
      Description copied from class: AbstractBody
      Create a new Table.
      Specified by:
      createTable in class AbstractBody
      Returns:
      the new Table.