public interface Comment
Modifier and Type | Method and Description |
---|---|
CellAddress |
getAddress()
Get the address of the cell that this comment is attached to
|
java.lang.String |
getAuthor()
Name of the original comment author
|
ClientAnchor |
getClientAnchor()
Return defines position of this anchor in the sheet.
|
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()
Returns whether this comment is visible.
|
void |
setAddress(CellAddress addr)
Set the address of the cell that this comment is attached to
|
void |
setAddress(int row,
int col)
Set the address of the cell that this comment is attached to
|
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 |
setVisible(boolean visible)
Sets whether this comment is visible.
|
void setVisible(boolean visible)
visible
- true
if the comment is visible, false
otherwiseboolean isVisible()
true
if the comment is visible, false
otherwiseCellAddress getAddress()
void setAddress(CellAddress addr)
addr
- void setAddress(int row, int col)
row
- col
- int getRow()
void setRow(int row)
row
- the 0-based row of the cell that contains the commentint getColumn()
void setColumn(int col)
col
- the 0-based column of the cell that contains the commentjava.lang.String getAuthor()
void setAuthor(java.lang.String author)
author
- the name of the original author of the commentRichTextString getString()
void setString(RichTextString string)
string
- Sets the rich text string used by this object.ClientAnchor getClientAnchor()
setAddress(org.apache.poi.ss.util.CellAddress)
.Copyright 2021 The Apache Software Foundation or its licensors, as applicable.