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 |
---|---|
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(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(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 String getAuthor()
Comment
public void setAuthor(String author)
public int getColumn()
Comment
public int getRow()
Comment
public boolean isVisible()
Comment
public void setVisible(boolean visible)
Comment
setVisible
in interface Comment
visible
- whether the comment is visiblepublic void setColumn(int col)
public void setRow(int row)
public XSSFRichTextString getString()
Comment
public void setString(RichTextString string)
public void setString(String string)
protected org.openxmlformats.schemas.spreadsheetml.x2006.main.CTComment getCTComment()
protected schemasMicrosoftComVml.CTShape getCTShape()
Copyright © 2020. All rights reserved.