类 XWPFComment

  • 所有已实现的接口:
    org.apache.poi.xwpf.usermodel.IBody

    public class XWPFComment
    extends Object
    implements org.apache.poi.xwpf.usermodel.IBody
    • 字段详细资料

      • ctComment

        protected org.openxmlformats.schemas.wordprocessingml.x2006.main.CTComment ctComment
      • 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()
      • getId

        public String getId()
      • getAuthor

        public String getAuthor()
      • setAuthor

        public void setAuthor​(String author)
      • getInitials

        public String getInitials()
      • setInitials

        public void setInitials​(String initials)
      • setDate

        public void setDate​(Calendar date)