类 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()XWPFComments(org.apache.poi.openxml4j.opc.PackagePart part)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 XWPFCommentaddComment()StringaddPictureData(byte[] pictureData, int format)StringaddPictureData(InputStream is, int format)protected voidcommit()XWPFCommentcreateComment(BigInteger cid)List<org.apache.poi.xwpf.usermodel.XWPFPictureData>getAllPictures()XWPFCommentgetComment(int pos)XWPFCommentgetComment(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTComment comment)List<XWPFComment>getComments()org.openxmlformats.schemas.wordprocessingml.x2006.main.CTCommentsgetCtComments()BigIntegergetMaxId()org.apache.poi.xwpf.usermodel.XWPFDocumentgetXWPFDocument()voidonDocumentRead()voidremoveComment(int pos)voidsetCtComments(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTComments ctComments)voidsetXWPFDocument(org.apache.poi.xwpf.usermodel.XWPFDocument document)-
从类继承的方法 org.apache.poi.ooxml.POIXMLDocumentPart
_invokeOnDocumentRead, addRelation, createRelationship, createRelationship, createRelationship, getNextPartNumber, getPackagePart, getParent, getRelationById, getRelationId, getRelationPartById, getRelationParts, getRelations, getTargetPart, isCommited, isCommitted, onDocumentCreate, onDocumentRemove, onSave, prepareForCommit, read, rebase, removeRelation, removeRelation, removeRelation, setCommited, setCommitted, toString
-
-
-
-
方法详细资料
-
onDocumentRead
public void onDocumentRead() throws IOException
-
addPictureData
public String addPictureData(InputStream is, int format) throws org.apache.poi.openxml4j.exceptions.InvalidFormatException, 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)
-
-