Example:
workbook = Workbook() comments = workbook.getWorksheets().get(0).getComments()
Property Getters/Setters Summary | ||
---|---|---|
method | getCount() | |
method | get(index) | |
Gets the |
||
method | get(row, column) | |
Gets the |
||
method | get(cellName) | |
Gets the |
Method Summary | ||
---|---|---|
method | add(row, column) | |
Adds a comment to the collection. | ||
method | add(value) | → inherited from CollectionBase |
Reserved for internal use. | ||
method | add(cellName) | |
Adds a comment to the collection. | ||
method | addThreadedComment(row, column, text, author) | |
Adds a threaded comment. | ||
method | addThreadedComment(cellName, text, author) | |
Adds a threaded comment. | ||
method | clear() | |
Removes all comments; | ||
method | contains(value) | → inherited from CollectionBase |
Reserved for internal use. | ||
method | get(index) | → inherited from CollectionBase |
Reserved for internal use. | ||
method | getThreadedComments(row, column) | |
Gets the threaded comments by row and column index. | ||
method | getThreadedComments(cellName) | |
Gets the threaded comments by cell name. | ||
method | indexOf(value) | → inherited from CollectionBase |
Reserved for internal use. | ||
method | iterator() | → inherited from CollectionBase |
method | removeAt(index) | → inherited from CollectionBase |
method | removeAt(row, column) | |
Removes the comment of the specific cell. | ||
method | removeAt(cellName) | |
Removes the comment of the specific cell. |
Property Getters/Setters Detail |
---|
getCount : int | |
int getCount() |
get : Comment | |
Comment get(index) |
index
- The zero based index of the element.get : Comment | |
Comment get(cellName) |
cellName
- Cell name.get : Comment | |
Comment get(row, column) |
row
- Row index.column
- Column index.Method Detail |
---|
addThreadedComment | |
int addThreadedComment(row, column, text, author) |
row: int
- Cell row index.column: int
- Cell column index.text: String
- The text of the commentauthor: ThreadedCommentAuthor
- The user of this threaded comment.addThreadedComment | |
int addThreadedComment(cellName, text, author) |
cellName: String
- The name of the cell.text: String
- The text of the commentauthor: ThreadedCommentAuthor
- The user of this threaded comment.getThreadedComments | |
ThreadedCommentCollection getThreadedComments(row, column) |
row: int
- The row index.column: int
- The column index.getThreadedComments | |
ThreadedCommentCollection getThreadedComments(cellName) |
cellName: String
- The name of the cell.add | |
int add(row, column) |
row: int
- Cell row index.column: int
- Cell column index.add | |
int add(cellName) |
cellName: String
- Cell name.removeAt | |
removeAt(cellName) |
cellName: String
- The name of cell which contains a comment.removeAt | |
removeAt(row, column) |
row: int
- The row index.column: int
- the column index.clear | |
clear() |
removeAt | |
removeAt(index) |
iterator | |
Iterator iterator() |
get | |
Object get(index) |
contains | |
boolean contains(value) |
add | |
int add(value) |
indexOf | |
int indexOf(value) |