org.apache.poi.xssf.usermodel
| 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() |
ClientAnchor |
getClientAnchor() |
int |
getColumn() |
protected org.openxmlformats.schemas.spreadsheetml.x2006.main.CTComment |
getCTComment() |
protected schemasMicrosoftComVml.CTShape |
getCTShape() |
int |
getRow() |
XSSFRichTextString |
getString() |
boolean |
isVisible() |
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) |
public XSSFComment(CommentsTable comments, org.openxmlformats.schemas.spreadsheetml.x2006.main.CTComment comment, schemasMicrosoftComVml.CTShape vmlShape)
public java.lang.String getAuthor()
public void setAuthor(java.lang.String author)
public int getColumn()
public int getRow()
public boolean isVisible()
public void setVisible(boolean visible)
setVisible in interface Commentvisible - whether the comment is visiblepublic void setColumn(int col)
public void setRow(int row)
public XSSFRichTextString getString()
public void setString(RichTextString string)
public void setString(java.lang.String string)
public ClientAnchor getClientAnchor()
getClientAnchor in interface Commentprotected org.openxmlformats.schemas.spreadsheetml.x2006.main.CTComment getCTComment()
protected schemasMicrosoftComVml.CTShape getCTShape()