|
|||||||||
| 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,
com.microsoft.schemas.vml.CTShape vmlShape)
Creates a new XSSFComment, associated with a given low level comment object. |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj)
|
CellAddress |
getAddress()
|
java.lang.String |
getAuthor()
|
ClientAnchor |
getClientAnchor()
|
int |
getColumn()
|
protected org.openxmlformats.schemas.spreadsheetml.x2006.main.CTComment |
getCTComment()
|
protected com.microsoft.schemas.vml.CTShape |
getCTShape()
|
int |
getRow()
|
XSSFRichTextString |
getString()
|
int |
hashCode()
|
boolean |
isVisible()
|
void |
setAddress(CellAddress address)
|
void |
setAddress(int row,
int col)
|
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 If changing both row and column, use setAddress(int, int). |
void |
setRow(int row)
Set the row of the cell that contains the comment If changing both row and column, use setAddress(int, int). |
void |
setString(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 |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public XSSFComment(CommentsTable comments,
org.openxmlformats.schemas.spreadsheetml.x2006.main.CTComment comment,
com.microsoft.schemas.vml.CTShape vmlShape)
| Method Detail |
|---|
public java.lang.String getAuthor()
getAuthor in interface Commentpublic void setAuthor(java.lang.String author)
setAuthor in interface Commentauthor - the name of the original author of the commentpublic int getColumn()
getColumn in interface Commentpublic int getRow()
getRow in interface Commentpublic boolean isVisible()
isVisible in interface Commentpublic void setVisible(boolean visible)
setVisible in interface Commentvisible - whether the comment is visiblepublic CellAddress getAddress()
getAddress in interface Comment
public void setAddress(int row,
int col)
setAddress in interface Commentpublic void setAddress(CellAddress address)
setAddress in interface Commentpublic void setColumn(int col)
setAddress(int, int).
setColumn in interface Commentcol - the 0-based column of the cell that contains the commentpublic void setRow(int row)
setAddress(int, int).
setRow in interface Commentrow - the 0-based row of the cell that contains the commentpublic XSSFRichTextString getString()
getString in interface Commentpublic void setString(RichTextString string)
setString in interface Commentstring - the XSSFRichTextString used by this object.public void setString(java.lang.String string)
public ClientAnchor getClientAnchor()
getClientAnchor in interface Commentprotected org.openxmlformats.schemas.spreadsheetml.x2006.main.CTComment getCTComment()
protected com.microsoft.schemas.vml.CTShape getCTShape()
public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||