Package | Description |
---|---|
org.apache.poi.xwpf.extractor | |
org.apache.poi.xwpf.model | |
org.apache.poi.xwpf.usermodel |
Modifier and Type | Method and Description |
---|---|
void |
XWPFWordExtractor.appendParagraphText(java.lang.StringBuilder text,
XWPFParagraph paragraph) |
Modifier and Type | Field and Description |
---|---|
protected XWPFParagraph |
XWPFParagraphDecorator.paragraph |
Modifier and Type | Method and Description |
---|---|
XWPFFooter |
XWPFHeaderFooterPolicy.createFooter(org.openxmlformats.schemas.wordprocessingml.x2006.main.STHdrFtr.Enum type,
XWPFParagraph[] pars)
Creates a new footer of the specified type, to which the
supplied (and previously unattached!) paragraphs are
added to.
|
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.
|
Constructor and Description |
---|
XWPFCommentsDecorator(XWPFParagraph paragraph,
XWPFParagraphDecorator nextDecorator) |
XWPFParagraphDecorator(XWPFParagraph paragraph) |
XWPFParagraphDecorator(XWPFParagraph paragraph,
XWPFParagraphDecorator nextDecorator) |
Modifier and Type | Field and Description |
---|---|
protected java.util.List<XWPFParagraph> |
XWPFDocument.paragraphs |
protected java.util.List<XWPFParagraph> |
XWPFTableCell.paragraphs |
Modifier and Type | Method and Description |
---|---|
XWPFParagraph |
XWPFAbstractFootnoteEndnote.addNewParagraph(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTP paragraph)
Add a new
XWPFParagraph to the end of the footnote. |
XWPFParagraph |
XWPFTableCell.addParagraph()
Add a Paragraph to this Table Cell
|
XWPFParagraph |
XWPFDocument.createParagraph()
Appends a new paragraph to this document
|
XWPFParagraph |
XWPFAbstractFootnoteEndnote.createParagraph()
Appends a new
XWPFParagraph to this footnote. |
XWPFParagraph |
XWPFHeaderFooter.createParagraph()
Adds a new paragraph at the end of the header or footer
|
XWPFParagraph |
XWPFDocument.getLastParagraph() |
XWPFParagraph |
XWPFRun.getParagraph()
Deprecated.
use
XWPFRun.getParent() instead |
XWPFParagraph |
IBody.getParagraph(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTP p)
if there is a corresponding
XWPFParagraph of the parameter ctTable in the paragraphList of this header or footer
the method will return this paragraph
if there is no corresponding XWPFParagraph the method will return null |
XWPFParagraph |
XWPFDocument.getParagraph(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTP p)
get the paragraph with the CTP class p
|
XWPFParagraph |
XWPFAbstractFootnoteEndnote.getParagraph(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTP p)
if there is a corresponding
XWPFParagraph of the parameter p in the paragraphList of this header or footer
the method will return that paragraph, otherwise the method will return null. |
XWPFParagraph |
XWPFTableCell.getParagraph(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTP p)
if there is a corresponding
XWPFParagraph of the parameter ctTable in the paragraphList of this table
the method will return this paragraph
if there is no corresponding XWPFParagraph the method will return null |
XWPFParagraph |
XWPFHeaderFooter.getParagraph(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTP p)
if there is a corresponding
XWPFParagraph of the parameter ctTable in the paragraphList of this header or footer
the method will return this paragraph
if there is no corresponding XWPFParagraph the method will return null |
XWPFParagraph |
IBody.getParagraphArray(int pos)
Returns the paragraph that of position pos
|
XWPFParagraph |
XWPFDocument.getParagraphArray(int pos)
Returns the paragraph that of position pos
|
XWPFParagraph |
XWPFAbstractFootnoteEndnote.getParagraphArray(int pos)
Returns the
XWPFParagraph at position pos in footnote's paragraph array. |
XWPFParagraph |
XWPFTableCell.getParagraphArray(int pos) |
XWPFParagraph |
XWPFHeaderFooter.getParagraphArray(int pos)
Returns the paragraph that holds
the text of the header or footer.
|
XWPFParagraph |
IBody.insertNewParagraph(org.apache.xmlbeans.XmlCursor cursor)
inserts a new paragraph at position of the cursor
|
XWPFParagraph |
XWPFDocument.insertNewParagraph(org.apache.xmlbeans.XmlCursor cursor)
Add a new paragraph at position of the cursor.
|
XWPFParagraph |
XWPFAbstractFootnoteEndnote.insertNewParagraph(org.apache.xmlbeans.XmlCursor cursor)
Add a new
XWPFParagraph at position of the cursor. |
XWPFParagraph |
XWPFTableCell.insertNewParagraph(org.apache.xmlbeans.XmlCursor cursor)
add a new paragraph at position of the cursor
|
XWPFParagraph |
XWPFHeaderFooter.insertNewParagraph(org.apache.xmlbeans.XmlCursor cursor)
add a new paragraph at position of the cursor
|
Modifier and Type | Method and Description |
---|---|
java.util.List<XWPFParagraph> |
XWPFHeaderFooter.getListParagraph()
get a List of all Paragraphs
|
java.util.List<XWPFParagraph> |
IBody.getParagraphs()
Returns the paragraph(s) that holds
the text of the header or footer.
|
java.util.List<XWPFParagraph> |
XWPFDocument.getParagraphs() |
java.util.List<XWPFParagraph> |
XWPFAbstractFootnoteEndnote.getParagraphs()
Get the list of
XWPFParagraph s in the footnote. |
java.util.List<XWPFParagraph> |
XWPFTableCell.getParagraphs()
returns a list of paragraphs
|
java.util.List<XWPFParagraph> |
XWPFHeaderFooter.getParagraphs()
Returns the paragraph(s) that holds
the text of the header or footer.
|
java.util.Iterator<XWPFParagraph> |
XWPFDocument.getParagraphsIterator() |
java.util.Iterator<XWPFParagraph> |
XWPFAbstractFootnoteEndnote.iterator()
Get an iterator over the
XWPFParagraph s in the footnote. |
Modifier and Type | Method and Description |
---|---|
void |
XWPFTableCell.addParagraph(XWPFParagraph p)
add a Paragraph to this TableCell
|
void |
XWPFFootnote.ensureFootnoteRef(XWPFParagraph p)
Ensure that the specified paragraph has a reference marker for this
footnote by adding a footnote reference if one is not found.
|
abstract void |
XWPFAbstractFootnoteEndnote.ensureFootnoteRef(XWPFParagraph p)
Ensure that the specified paragraph has a reference marker for this
footnote by adding a footnote reference if one is not found.
|
void |
XWPFEndnote.ensureFootnoteRef(XWPFParagraph p)
Ensure that the specified paragraph has a reference marker for this
end note by adding a footnote reference if one is not found.
|
int |
XWPFDocument.getPosOfParagraph(XWPFParagraph p)
Get the position of the paragraph, within the list
of all the body elements.
|
void |
XWPFHeaderFooter.removeParagraph(XWPFParagraph paragraph)
Removes a specific paragraph from this header / footer
|
void |
XWPFTableCell.setParagraph(XWPFParagraph p) |
void |
XWPFDocument.setParagraph(XWPFParagraph paragraph,
int pos)
copies content of a paragraph to a existing paragraph in the list paragraphs at position pos
|
Constructor and Description |
---|
XWPFRun(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTR r,
XWPFParagraph p)
Deprecated.
|
Copyright 2020 The Apache Software Foundation or its licensors, as applicable.