public class DelegatingXSSFComment
extends org.apache.poi.xssf.usermodel.XSSFComment
| Modifier and Type | Method and Description |
|---|---|
org.apache.poi.ss.util.CellAddress |
getAddress() |
java.lang.String |
getAuthor() |
int |
getColumn() |
java.lang.String |
getCommentText()
If you are only interested in the text of the comment and don't need the
full
XSSFRichTextString, then this method is more efficient. |
org.openxmlformats.schemas.spreadsheetml.x2006.main.CTComment |
getCTComment() |
protected com.microsoft.schemas.vml.CTShape |
getCTShape() |
int |
getRow() |
org.apache.poi.xssf.usermodel.XSSFRichTextString |
getString() |
boolean |
isVisible() |
void |
setAddress(org.apache.poi.ss.util.CellAddress address) |
void |
setAddress(int row,
int col) |
void |
setAuthor(java.lang.String author) |
void |
setColumn(int col) |
void |
setRow(int row) |
void |
setString(org.apache.poi.ss.usermodel.RichTextString string) |
void |
setString(java.lang.String string) |
void |
setVisible(boolean visible) |
public java.lang.String getAuthor()
getAuthor in interface org.apache.poi.ss.usermodel.CommentgetAuthor in class org.apache.poi.xssf.usermodel.XSSFCommentpublic int getColumn()
getColumn in interface org.apache.poi.ss.usermodel.CommentgetColumn in class org.apache.poi.xssf.usermodel.XSSFCommentpublic int getRow()
getRow in interface org.apache.poi.ss.usermodel.CommentgetRow in class org.apache.poi.xssf.usermodel.XSSFCommentpublic boolean isVisible()
isVisible in interface org.apache.poi.ss.usermodel.CommentisVisible in class org.apache.poi.xssf.usermodel.XSSFCommentpublic org.apache.poi.ss.util.CellAddress getAddress()
getAddress in interface org.apache.poi.ss.usermodel.CommentgetAddress in class org.apache.poi.xssf.usermodel.XSSFCommentpublic org.apache.poi.xssf.usermodel.XSSFRichTextString getString()
getString in interface org.apache.poi.ss.usermodel.CommentgetString in class org.apache.poi.xssf.usermodel.XSSFCommentpublic java.lang.String getCommentText()
XSSFRichTextString, then this method is more efficient.public org.openxmlformats.schemas.spreadsheetml.x2006.main.CTComment getCTComment()
getCTComment in class org.apache.poi.xssf.usermodel.XSSFCommentpublic void setAddress(int row,
int col)
setAddress in interface org.apache.poi.ss.usermodel.CommentsetAddress in class org.apache.poi.xssf.usermodel.XSSFCommentpublic void setAddress(org.apache.poi.ss.util.CellAddress address)
setAddress in interface org.apache.poi.ss.usermodel.CommentsetAddress in class org.apache.poi.xssf.usermodel.XSSFCommentpublic void setRow(int row)
setRow in interface org.apache.poi.ss.usermodel.CommentsetRow in class org.apache.poi.xssf.usermodel.XSSFCommentpublic void setColumn(int col)
setColumn in interface org.apache.poi.ss.usermodel.CommentsetColumn in class org.apache.poi.xssf.usermodel.XSSFCommentpublic void setString(org.apache.poi.ss.usermodel.RichTextString string)
setString in interface org.apache.poi.ss.usermodel.CommentsetString in class org.apache.poi.xssf.usermodel.XSSFCommentpublic void setString(java.lang.String string)
setString in class org.apache.poi.xssf.usermodel.XSSFCommentpublic void setAuthor(java.lang.String author)
setAuthor in interface org.apache.poi.ss.usermodel.CommentsetAuthor in class org.apache.poi.xssf.usermodel.XSSFCommentpublic void setVisible(boolean visible)
setVisible in interface org.apache.poi.ss.usermodel.CommentsetVisible in class org.apache.poi.xssf.usermodel.XSSFCommentprotected com.microsoft.schemas.vml.CTShape getCTShape()
getCTShape in class org.apache.poi.xssf.usermodel.XSSFComment