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