public class XWPFComments
extends org.apache.poi.ooxml.POIXMLDocumentPart
| 构造器和说明 |
|---|
XWPFComments() |
XWPFComments(org.apache.poi.openxml4j.opc.PackagePart part) |
| 限定符和类型 | 方法和说明 |
|---|---|
XWPFComment |
addComment() |
String |
addPictureData(byte[] pictureData,
int format) |
String |
addPictureData(InputStream is,
int format) |
protected void |
commit() |
XWPFComment |
createComment(BigInteger cid) |
List<org.apache.poi.xwpf.usermodel.XWPFPictureData> |
getAllPictures() |
XWPFComment |
getComment(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTComment comment) |
XWPFComment |
getComment(int pos) |
List<XWPFComment> |
getComments() |
org.openxmlformats.schemas.wordprocessingml.x2006.main.CTComments |
getCtComments() |
BigInteger |
getMaxId() |
org.apache.poi.xwpf.usermodel.XWPFDocument |
getXWPFDocument() |
void |
onDocumentRead() |
void |
removeComment(int pos) |
void |
setCtComments(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTComments ctComments) |
void |
setXWPFDocument(org.apache.poi.xwpf.usermodel.XWPFDocument document) |
_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, toStringpublic XWPFComments(org.apache.poi.openxml4j.opc.PackagePart part)
public XWPFComments()
public void onDocumentRead()
throws IOException
public String addPictureData(InputStream is, int format) throws org.apache.poi.openxml4j.exceptions.InvalidFormatException, Exception
protected void commit()
throws IOException
public List<org.apache.poi.xwpf.usermodel.XWPFPictureData> getAllPictures()
public org.openxmlformats.schemas.wordprocessingml.x2006.main.CTComments getCtComments()
public void setCtComments(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTComments ctComments)
public List<XWPFComment> getComments()
public void setXWPFDocument(org.apache.poi.xwpf.usermodel.XWPFDocument document)
public org.apache.poi.xwpf.usermodel.XWPFDocument getXWPFDocument()
public XWPFComment addComment()
public XWPFComment createComment(BigInteger cid)
public BigInteger getMaxId()
public XWPFComment getComment(int pos)
public void removeComment(int pos)
public XWPFComment getComment(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTComment comment)
Copyright © 2022. All rights reserved.