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()
Comment
public void setAuthor(java.lang.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(java.lang.String string)
protected org.openxmlformats.schemas.spreadsheetml.x2006.main.CTComment getCTComment()
protected schemasMicrosoftComVml.CTShape getCTShape()
Copyright © 2005-2010 Potix Corporation. All Rights Reserved.