Package io.keikai.doc.io.schema.docx
Class AbstractBody
java.lang.Object
io.keikai.doc.io.schema.docx.AbstractVisitable
io.keikai.doc.io.schema.docx.AbstractBody
- All Implemented Interfaces:
ICTElement,IDOCXVisitable<Object>,IXWPFElement
- Direct Known Subclasses:
AbstractHdrFtr,DOCXDocument,DOCXTc
Internal Use Only.
Represents elements accept paragraphs and tables as children.
- Author:
- Jamson Chan
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionAbstractBody(org.apache.poi.xwpf.usermodel.IBody iBody) Create a newAbstractBody. -
Method Summary
Methods inherited from class io.keikai.doc.io.schema.docx.AbstractVisitable
addTempData, getTempDataMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.keikai.doc.io.schema.docx.ICTElement
getCTMethods inherited from interface io.keikai.doc.io.schema.docx.IDOCXVisitable
acceptMethods inherited from interface io.keikai.doc.io.schema.docx.IXWPFElement
getParent
-
Field Details
-
_bodyElements
-
-
Constructor Details
-
AbstractBody
public AbstractBody(org.apache.poi.xwpf.usermodel.IBody iBody) Create a newAbstractBody.- Parameters:
iBody-IBody.
-
-
Method Details
-
getXWPF
public org.apache.poi.xwpf.usermodel.IBody getXWPF()Description copied from interface:IXWPFElementReturns the XWPF object of current element. -
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
Create a new Paragraph.- Returns:
- the new Paragraph.
-
createTable
Create a new Table.- Returns:
- the new Table.
-