Package org.apache.poi.xwpf.usermodel
Class XWPFHeader
- java.lang.Object
-
- org.apache.poi.ooxml.POIXMLDocumentPart
-
- org.apache.poi.xwpf.usermodel.XWPFHeaderFooter
-
- org.apache.poi.xwpf.usermodel.XWPFHeader
-
- All Implemented Interfaces:
IBody
public class XWPFHeader extends XWPFHeaderFooter
Sketch of XWPF header class
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.poi.ooxml.POIXMLDocumentPart
POIXMLDocumentPart.RelationPart
-
-
Constructor Summary
Constructors Constructor Description XWPFHeader()
XWPFHeader(POIXMLDocumentPart parent, PackagePart part)
XWPFHeader(XWPFDocument doc, CTHdrFtr hdrFtr)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BodyType
getPartType()
get the PartType of the body-
Methods inherited from class org.apache.poi.xwpf.usermodel.XWPFHeaderFooter
_getHdrFtr, addPictureData, addPictureData, clearHeaderFooter, createParagraph, createTable, getAllPackagePictures, getAllPictures, getBodyElements, getListParagraph, getOwner, getParagraph, getParagraphArray, getParagraphs, getPart, getPictureDataByID, getTable, getTableArray, getTableCell, getTables, getText, getXWPFDocument, insertNewParagraph, insertNewTbl, insertTable, readHdrFtr, removeParagraph, removeTable, setHeaderFooter, setXWPFDocument
-
Methods inherited from class org.apache.poi.ooxml.POIXMLDocumentPart
_invokeOnDocumentRead, addRelation, createRelationship, createRelationship, createRelationship, getPackagePart, getParent, getRelationById, getRelationId, getRelationPartById, getRelationParts, getRelations, isCommited, setCommited, toString
-
-
-
-
Constructor Detail
-
XWPFHeader
public XWPFHeader()
-
XWPFHeader
public XWPFHeader(POIXMLDocumentPart parent, PackagePart part) throws java.io.IOException
- Throws:
java.io.IOException
- Since:
- POI 3.14-Beta1
-
XWPFHeader
public XWPFHeader(XWPFDocument doc, CTHdrFtr hdrFtr)
-
-
Method Detail
-
getPartType
public BodyType getPartType()
get the PartType of the body- Returns:
- the PartType of the body
- See Also:
IBody.getPartType()
-
-