|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.poi.POIXMLDocumentPart
org.apache.poi.xwpf.usermodel.XWPFFootnotes
public class XWPFFootnotes
Looks after the collection of Footnotes for a document
| Field Summary |
|---|
| Fields inherited from class org.apache.poi.POIXMLDocumentPart |
|---|
DEFAULT_XML_OPTIONS |
| Constructor Summary | |
|---|---|
XWPFFootnotes()
Construct XWPFFootnotes from scratch for a new document. |
|
XWPFFootnotes(PackagePart part,
PackageRelationship rel)
Construct XWPFFootnotes from a package part |
|
| Method Summary | |
|---|---|
XWPFFootnote |
addFootnote(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTFtnEdn note)
add a footnote to the document |
void |
addFootnote(XWPFFootnote footnote)
add an XWPFFootnote to the document |
XWPFFootnote |
getFootnoteById(int id)
|
java.util.List |
getFootnotesList()
|
XWPFDocument |
getXWPFDocument()
|
void |
setFootnotes(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTFootnotes footnotes)
Sets the ctFootnotes |
void |
setXWPFDocument(XWPFDocument doc)
|
| Methods inherited from class org.apache.poi.POIXMLDocumentPart |
|---|
addRelation, createRelationship, createRelationship, getPackagePart, getPackageRelationship, getParent, getRelationById, getRelationId, getRelations, toString |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public XWPFFootnotes(PackagePart part,
PackageRelationship rel)
throws java.io.IOException,
OpenXML4JException
part - the package part holding the data of the footnotes,rel - the package relationship of type "http://schemas.openxmlformats.org/officeDocument/2006/relationships/footnotes"
java.io.IOException
OpenXML4JExceptionpublic XWPFFootnotes()
| Method Detail |
|---|
public java.util.List getFootnotesList()
public XWPFFootnote getFootnoteById(int id)
public void setFootnotes(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTFootnotes footnotes)
footnotes - public void addFootnote(XWPFFootnote footnote)
footnote -
java.io.IOExceptionpublic XWPFFootnote addFootnote(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTFtnEdn note)
note -
java.io.IOExceptionpublic void setXWPFDocument(XWPFDocument doc)
public XWPFDocument getXWPFDocument()
IBody.getPart()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||