public class XWPFFooter extends XWPFHeaderFooter
POIXMLDocumentPart.RelationPart
Constructor and Description |
---|
XWPFFooter() |
XWPFFooter(POIXMLDocumentPart parent,
PackagePart part) |
XWPFFooter(POIXMLDocumentPart parent,
PackagePart part,
PackageRelationship rel)
Deprecated.
in POI 3.14, scheduled for removal in POI 3.16
|
XWPFFooter(XWPFDocument doc,
org.openxmlformats.schemas.wordprocessingml.x2006.main.CTHdrFtr hdrFtr) |
Modifier and Type | Method and Description |
---|---|
protected void |
commit()
save and commit footer
|
BodyType |
getPartType()
get the PartType of the body
|
protected void |
onDocumentRead()
Fired when a package part is read
|
_getHdrFtr, addPictureData, addPictureData, createParagraph, getAllPackagePictures, getAllPictures, getBodyElements, getListParagraph, getOwner, getParagraph, getParagraphArray, getParagraphs, getPart, getPictureDataByID, getTable, getTableArray, getTableCell, getTables, getText, getXWPFDocument, insertNewParagraph, insertNewTbl, insertTable, readHdrFtr, setHeaderFooter, setXWPFDocument
_invokeOnDocumentRead, addRelation, addRelation, createRelationship, createRelationship, createRelationship, getPackagePart, getPackageRelationship, getParent, getRelationById, getRelationId, getRelationParts, getRelations, getTargetPart, onDocumentCreate, onDocumentRemove, onSave, prepareForCommit, read, rebase, removeRelation, removeRelation, toString
public XWPFFooter()
public XWPFFooter(XWPFDocument doc, org.openxmlformats.schemas.wordprocessingml.x2006.main.CTHdrFtr hdrFtr) throws java.io.IOException
java.io.IOException
public XWPFFooter(POIXMLDocumentPart parent, PackagePart part) throws java.io.IOException
java.io.IOException
@Deprecated public XWPFFooter(POIXMLDocumentPart parent, PackagePart part, PackageRelationship rel) throws java.io.IOException
java.io.IOException
protected void commit() throws java.io.IOException
commit
in class POIXMLDocumentPart
java.io.IOException
- a subclass may throw an IOException if the changes can't be committedprotected void onDocumentRead() throws java.io.IOException
POIXMLDocumentPart
onDocumentRead
in class XWPFHeaderFooter
java.io.IOException
- a subclass may throw an IOException when a document is readpublic BodyType getPartType()
IBody.getPartType()