|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.poi.xssf.usermodel.XSSFComment
public class XSSFComment
| Constructor Summary | |
|---|---|
XSSFComment(CommentsTable comments,
org.openxmlformats.schemas.spreadsheetml.x2006.main.CTComment comment)
Creates a new XSSFComment, associated with a given low level comment object. |
|
| Method Summary | |
|---|---|
java.lang.String |
getAuthor()
Name of the original comment author |
int |
getColumn()
Return the column of the cell that contains the comment |
int |
getRow()
Return the row of the cell that contains the comment |
RichTextString |
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(short 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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public XSSFComment(CommentsTable comments,
org.openxmlformats.schemas.spreadsheetml.x2006.main.CTComment comment)
| Method Detail |
|---|
public java.lang.String getAuthor()
Comment
getAuthor in interface Commentpublic int getColumn()
Comment
getColumn in interface Commentpublic int getRow()
Comment
getRow in interface Commentpublic boolean isVisible()
Comment
isVisible in interface Commenttrue if the comment is visible, false otherwisepublic void setAuthor(java.lang.String author)
Comment
setAuthor in interface Commentauthor - the name of the original author of the commentpublic void setColumn(short col)
Comment
setColumn in interface Commentcol - the 0-based column of the cell that contains the commentpublic void setRow(int row)
Comment
setRow in interface Commentrow - the 0-based row of the cell that contains the commentpublic RichTextString getString()
Comment
getString in interface Commentpublic void setString(RichTextString string)
Comment
setString in interface Commentstring - Sets the rich text string used by this object.public void setString(java.lang.String string)
public void setVisible(boolean visible)
Comment
setVisible in interface Commentvisible - true if the comment is visible, false otherwise
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||