类 XWPFComment
- java.lang.Object
-
- com.deepoove.poi.plugin.comment.XWPFComment
-
- 所有已实现的接口:
org.apache.poi.xwpf.usermodel.IBody
public class XWPFComment extends Object implements org.apache.poi.xwpf.usermodel.IBody
-
-
字段概要
字段 修饰符和类型 字段 说明 protected XWPFCommentscommentsprotected org.openxmlformats.schemas.wordprocessingml.x2006.main.CTCommentctCommentprotected org.apache.poi.xwpf.usermodel.XWPFDocumentdocument
-
构造器概要
构造器 构造器 说明 XWPFComment(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTComment ctComment, XWPFComments comments)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 org.apache.poi.xwpf.usermodel.XWPFParagraphcreateParagraph()org.apache.poi.xwpf.usermodel.XWPFTablecreateTable(int rows, int cols)StringgetAuthor()List<org.apache.poi.xwpf.usermodel.IBodyElement>getBodyElements()XWPFCommentsgetComments()org.openxmlformats.schemas.wordprocessingml.x2006.main.CTCommentgetCtComment()CalendargetDate()StringgetId()StringgetInitials()org.apache.poi.xwpf.usermodel.XWPFParagraphgetParagraph(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTP p)org.apache.poi.xwpf.usermodel.XWPFParagraphgetParagraphArray(int pos)List<org.apache.poi.xwpf.usermodel.XWPFParagraph>getParagraphs()org.apache.poi.ooxml.POIXMLDocumentPartgetPart()org.apache.poi.xwpf.usermodel.BodyTypegetPartType()org.apache.poi.xwpf.usermodel.XWPFTablegetTable(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTbl ctTable)org.apache.poi.xwpf.usermodel.XWPFTablegetTableArray(int pos)org.apache.poi.xwpf.usermodel.XWPFTableCellgetTableCell(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTc cell)List<org.apache.poi.xwpf.usermodel.XWPFTable>getTables()StringgetText()org.apache.poi.xwpf.usermodel.XWPFDocumentgetXWPFDocument()protected voidinit()org.apache.poi.xwpf.usermodel.XWPFParagraphinsertNewParagraph(org.apache.xmlbeans.XmlCursor cursor)org.apache.poi.xwpf.usermodel.XWPFTableinsertNewTbl(org.apache.xmlbeans.XmlCursor cursor)voidinsertTable(int pos, org.apache.poi.xwpf.usermodel.XWPFTable table)voidremoveParagraph(org.apache.poi.xwpf.usermodel.XWPFParagraph paragraph)voidremoveTable(org.apache.poi.xwpf.usermodel.XWPFTable table)voidsetAuthor(String author)voidsetDate(Calendar date)voidsetInitials(String initials)
-
-
-
字段详细资料
-
ctComment
protected org.openxmlformats.schemas.wordprocessingml.x2006.main.CTComment ctComment
-
comments
protected XWPFComments comments
-
document
protected org.apache.poi.xwpf.usermodel.XWPFDocument document
-
-
构造器详细资料
-
XWPFComment
public XWPFComment(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTComment ctComment, XWPFComments comments)
-
-
方法详细资料
-
init
protected void init()
-
getPart
public org.apache.poi.ooxml.POIXMLDocumentPart getPart()
-
getPartType
public org.apache.poi.xwpf.usermodel.BodyType getPartType()
-
getBodyElements
public List<org.apache.poi.xwpf.usermodel.IBodyElement> getBodyElements()
-
getParagraphs
public List<org.apache.poi.xwpf.usermodel.XWPFParagraph> getParagraphs()
-
getTables
public List<org.apache.poi.xwpf.usermodel.XWPFTable> getTables()
-
getParagraph
public org.apache.poi.xwpf.usermodel.XWPFParagraph getParagraph(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTP p)
-
getTable
public org.apache.poi.xwpf.usermodel.XWPFTable getTable(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTbl ctTable)
-
getParagraphArray
public org.apache.poi.xwpf.usermodel.XWPFParagraph getParagraphArray(int pos)
-
getTableArray
public org.apache.poi.xwpf.usermodel.XWPFTable getTableArray(int pos)
-
insertNewParagraph
public org.apache.poi.xwpf.usermodel.XWPFParagraph insertNewParagraph(org.apache.xmlbeans.XmlCursor cursor)
-
insertNewTbl
public org.apache.poi.xwpf.usermodel.XWPFTable insertNewTbl(org.apache.xmlbeans.XmlCursor cursor)
-
insertTable
public void insertTable(int pos, org.apache.poi.xwpf.usermodel.XWPFTable table)
-
getTableCell
public org.apache.poi.xwpf.usermodel.XWPFTableCell getTableCell(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTc cell)
-
getXWPFDocument
public org.apache.poi.xwpf.usermodel.XWPFDocument getXWPFDocument()
-
getText
public String getText()
-
createParagraph
public org.apache.poi.xwpf.usermodel.XWPFParagraph createParagraph()
-
removeParagraph
public void removeParagraph(org.apache.poi.xwpf.usermodel.XWPFParagraph paragraph)
-
removeTable
public void removeTable(org.apache.poi.xwpf.usermodel.XWPFTable table)
-
createTable
public org.apache.poi.xwpf.usermodel.XWPFTable createTable(int rows, int cols)
-
getCtComment
public org.openxmlformats.schemas.wordprocessingml.x2006.main.CTComment getCtComment()
-
getComments
public XWPFComments getComments()
-
getId
public String getId()
-
getAuthor
public String getAuthor()
-
setAuthor
public void setAuthor(String author)
-
getInitials
public String getInitials()
-
setInitials
public void setInitials(String initials)
-
getDate
public Calendar getDate()
-
setDate
public void setDate(Calendar date)
-
-