| Constructor and Description |
|---|
XSSFComment(CommentsTable comments,
org.openxmlformats.schemas.spreadsheetml.x2006.main.CTComment comment,
schemasMicrosoftComVml.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
|
int |
getColumn()
Return the column of the cell that contains the comment
|
protected org.openxmlformats.schemas.spreadsheetml.x2006.main.CTComment |
getCTComment() |
protected schemasMicrosoftComVml.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, schemasMicrosoftComVml.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)
protected org.openxmlformats.schemas.spreadsheetml.x2006.main.CTComment getCTComment()
protected schemasMicrosoftComVml.CTShape getCTShape()
Copyright 2014 The Apache Software Foundation or its licensors, as applicable.