| Constructor and Description |
|---|
XSSFComment(CommentsTable comments,
org.openxmlformats.schemas.spreadsheetml.x2006.main.CTComment comment,
com.microsoft.schemas.vml.CTShape vmlShape)
Creates a new XSSFComment, associated with a given
low level comment object.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getAuthor()
Name of the original comment author
|
ClientAnchor |
getClientAnchor()
Return defines position of this anchor in the sheet.
|
int |
getColumn()
Return the column of the cell that contains the comment
|
protected org.openxmlformats.schemas.spreadsheetml.x2006.main.CTComment |
getCTComment() |
protected com.microsoft.schemas.vml.CTShape |
getCTShape() |
int |
getRow()
Return the row of the cell that contains the comment
|
XSSFRichTextString |
getString()
Fetches the rich text string of the comment
|
boolean |
isVisible()
Sets whether this comment is visible.
|
void |
setAuthor(java.lang.String author)
Name of the original comment author.
|
void |
setColumn(int col)
Set the column of the cell that contains the comment
|
void |
setRow(int row)
Set the row of the cell that contains the comment
|
void |
setString(RichTextString string)
Sets the rich text string used by this comment.
|
void |
setString(java.lang.String string) |
void |
setVisible(boolean visible)
Returns whether this comment is visible.
|
public XSSFComment(CommentsTable comments, org.openxmlformats.schemas.spreadsheetml.x2006.main.CTComment comment, com.microsoft.schemas.vml.CTShape vmlShape)
public java.lang.String getAuthor()
Commentpublic void setAuthor(java.lang.String author)
public int getColumn()
Commentpublic int getRow()
Commentpublic boolean isVisible()
Commentpublic void setVisible(boolean visible)
CommentsetVisible in interface Commentvisible - whether the comment is visiblepublic void setColumn(int col)
public void setRow(int row)
public XSSFRichTextString getString()
Commentpublic void setString(RichTextString string)
public void setString(java.lang.String string)
public ClientAnchor getClientAnchor()
CommentgetClientAnchor in interface Commentprotected org.openxmlformats.schemas.spreadsheetml.x2006.main.CTComment getCTComment()
protected com.microsoft.schemas.vml.CTShape getCTShape()
Copyright 2017 The Apache Software Foundation or its licensors, as applicable.