public class DelegatingXSSFComment extends XSSFComment
| Modifier and Type | Method and Description |
|---|---|
CellAddress |
getAddress() |
String |
getAuthor() |
int |
getColumn() |
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() |
XSSFRichTextString |
getString() |
boolean |
isVisible() |
void |
setAddress(CellAddress address) |
void |
setAddress(int row,
int col) |
void |
setAuthor(String author) |
void |
setColumn(int col) |
void |
setRow(int row) |
void |
setString(RichTextString string) |
void |
setString(String string) |
void |
setVisible(boolean visible) |
equals, getClientAnchor, hashCodepublic String getAuthor()
getAuthor in interface CommentgetAuthor in class XSSFCommentpublic int getColumn()
getColumn in interface CommentgetColumn in class XSSFCommentpublic int getRow()
getRow in interface CommentgetRow in class XSSFCommentpublic boolean isVisible()
isVisible in interface CommentisVisible in class XSSFCommentpublic CellAddress getAddress()
getAddress in interface CommentgetAddress in class XSSFCommentpublic XSSFRichTextString getString()
getString in interface CommentgetString in class XSSFCommentpublic String getCommentText()
XSSFRichTextString, then this method is more efficient.public org.openxmlformats.schemas.spreadsheetml.x2006.main.CTComment getCTComment()
getCTComment in class XSSFCommentpublic void setAddress(int row,
int col)
setAddress in interface CommentsetAddress in class XSSFCommentpublic void setAddress(CellAddress address)
setAddress in interface CommentsetAddress in class XSSFCommentpublic void setRow(int row)
setRow in interface CommentsetRow in class XSSFCommentpublic void setColumn(int col)
setColumn in interface CommentsetColumn in class XSSFCommentpublic void setString(RichTextString string)
setString in interface CommentsetString in class XSSFCommentpublic void setString(String string)
setString in class XSSFCommentpublic void setAuthor(String author)
setAuthor in interface CommentsetAuthor in class XSSFCommentpublic void setVisible(boolean visible)
setVisible in interface CommentsetVisible in class XSSFCommentprotected com.microsoft.schemas.vml.CTShape getCTShape()
getCTShape in class XSSFComment