public class XWPFHeader extends XWPFHeaderFooter
DEFAULT_XML_OPTIONS| Constructor and Description |
|---|
XWPFHeader() |
XWPFHeader(POIXMLDocumentPart parent,
PackagePart part,
PackageRelationship rel) |
XWPFHeader(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()
reads the document
|
_getHdrFtr, addPictureData, addPictureData, getAllPackagePictures, getAllPictures, getBodyElements, getListParagraph, getOwner, getParagraph, getParagraphArray, getParagraphs, getPart, getPictureDataByID, getTable, getTableArray, getTableCell, getTables, getText, getXWPFDocument, insertNewParagraph, insertNewTbl, insertTable, readHdrFtr, setHeaderFooter, setXWPFDocumentaddRelation, clearMemoryPackagePart, createRelationship, createRelationship, createRelationship, getPackagePart, getPackageRelationship, getParent, getRelationById, getRelationCounter, getRelationId, getRelations, getTargetPart, onDocumentCreate, onDocumentRemove, onSave, read, rebase, removeRelation, removeRelation, toStringpublic XWPFHeader()
public XWPFHeader(POIXMLDocumentPart parent, PackagePart part, PackageRelationship rel) throws IOException
IOExceptionpublic XWPFHeader(XWPFDocument doc, org.openxmlformats.schemas.wordprocessingml.x2006.main.CTHdrFtr hdrFtr)
protected void commit()
throws IOException
commit in class POIXMLDocumentPartIOExceptionprotected void onDocumentRead()
throws IOException
onDocumentRead in class XWPFHeaderFooterIOExceptionpublic BodyType getPartType()
IBody.getPartType()Copyright © 2020. All rights reserved.