类 XWPFComments


  • public class XWPFComments
    extends org.apache.poi.ooxml.POIXMLDocumentPart
    • 构造器详细资料

      • XWPFComments

        public XWPFComments​(org.apache.poi.openxml4j.opc.PackagePart part)
      • XWPFComments

        public XWPFComments()
    • 方法详细资料

      • onDocumentRead

        public void onDocumentRead()
                            throws IOException
      • addPictureData

        public String addPictureData​(InputStream is,
                                     int format)
                              throws org.apache.poi.openxml4j.exceptions.InvalidFormatException,
                                     Exception
      • addPictureData

        public String addPictureData​(byte[] pictureData,
                                     int format)
                              throws Exception
      • getAllPictures

        public List<org.apache.poi.xwpf.usermodel.XWPFPictureData> getAllPictures()
      • getCtComments

        public org.openxmlformats.schemas.wordprocessingml.x2006.main.CTComments getCtComments()
      • setCtComments

        public void setCtComments​(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTComments ctComments)
      • setXWPFDocument

        public void setXWPFDocument​(org.apache.poi.xwpf.usermodel.XWPFDocument document)
      • getXWPFDocument

        public org.apache.poi.xwpf.usermodel.XWPFDocument getXWPFDocument()
      • getComment

        public XWPFComment getComment​(int pos)
      • removeComment

        public void removeComment​(int pos)
      • getComment

        public XWPFComment getComment​(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTComment comment)