类 XWPFComments

java.lang.Object
org.apache.poi.ooxml.POIXMLDocumentPart
com.deepoove.poi.plugin.comment.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
    • commit

      protected void commit() throws IOException
    • 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)
    • getComments

      public List<XWPFComment> getComments()
    • setXWPFDocument

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

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

      public XWPFComment addComment()
    • createComment

      public XWPFComment createComment(BigInteger cid)
    • getMaxId

      public BigInteger getMaxId()
    • getComment

      public XWPFComment getComment(int pos)
    • removeComment

      public void removeComment(int pos)
    • getComment

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