Package | Description |
---|---|
org.apache.poi.xwpf.model | |
org.apache.poi.xwpf.usermodel |
Modifier and Type | Method and Description |
---|---|
XWPFHeader |
XWPFHeaderFooterPolicy.createHeader(org.openxmlformats.schemas.wordprocessingml.x2006.main.STHdrFtr.Enum type)
Creates an empty header of the specified type, containing a single
empty paragraph, to which you can then set text, add more paragraphs etc.
|
XWPFHeader |
XWPFHeaderFooterPolicy.createHeader(org.openxmlformats.schemas.wordprocessingml.x2006.main.STHdrFtr.Enum type,
XWPFParagraph[] pars)
Creates a new header of the specified type, to which the
supplied (and previously unattached!) paragraphs are
added to.
|
XWPFHeader |
XWPFHeaderFooterPolicy.getDefaultHeader() |
XWPFHeader |
XWPFHeaderFooterPolicy.getEvenPageHeader() |
XWPFHeader |
XWPFHeaderFooterPolicy.getFirstPageHeader() |
XWPFHeader |
XWPFHeaderFooterPolicy.getHeader(int pageNumber)
Get the header that applies to the given
(1 based) page.
|
XWPFHeader |
XWPFHeaderFooterPolicy.getHeader(org.openxmlformats.schemas.wordprocessingml.x2006.main.STHdrFtr.Enum type)
Get this section header for the given type
|
XWPFHeader |
XWPFHeaderFooterPolicy.getOddPageHeader()
Returns the odd page header.
|
Modifier and Type | Field and Description |
---|---|
protected java.util.List<XWPFHeader> |
XWPFDocument.headers |
Modifier and Type | Method and Description |
---|---|
XWPFHeader |
XWPFDocument.createHeader(HeaderFooterType type)
Create a header of the given type
|
XWPFHeader |
XWPFDocument.getHeaderArray(int pos) |
Modifier and Type | Method and Description |
---|---|
java.util.List<XWPFHeader> |
XWPFDocument.getHeaderList() |
Copyright 2020 The Apache Software Foundation or its licensors, as applicable.