Example:
$workbook = new cells\Workbook(); $comments = $workbook->getWorksheets()->get(0)->getComments();
| Property Getters/Setters Summary | ||
|---|---|---|
function | getCount() | |
function | get(index) | |
Gets the |
||
function | get(row, column) | |
Gets the |
||
function | get(cellName) | |
Gets the |
||
| Method Summary | ||
|---|---|---|
function | add(row, column) | |
Adds a comment to the collection.
|
||
function | add(value) | |
Reserved for internal use. |
||
function | add(cellName) | |
Adds a comment to the collection.
|
||
function | addThreadedComment(row, column, text, author) | |
Adds a threaded comment.
|
||
function | addThreadedComment(cellName, text, author) | |
Adds a threaded comment.
|
||
function | clear() | |
Removes all comments;
|
||
function | contains(value) | |
Reserved for internal use. |
||
function | get(index) | |
Reserved for internal use. |
||
function | getThreadedComments(row, column) | |
Gets the threaded comments by row and column index.
|
||
function | getThreadedComments(cellName) | |
Gets the threaded comments by cell name.
|
||
function | indexOf(value) | |
Reserved for internal use. |
||
function | iterator() | |
function | removeAt(index) | |
function | removeAt(row, column) | |
Removes the comment of the specific cell.
|
||
function | removeAt(cellName) | |
Removes the comment of the specific cell.
|
||
function getCount()
function get(index)
index - The zero based index of the element.function get(cellName)
cellName - Cell name.function get(row, column)
row - Row index.column - Column index.function addThreadedComment(row, column, text, author)
row: Number - Cell row index.column: Number - Cell column index.text: String - The text of the commentauthor: ThreadedCommentAuthor - The user of this threaded comment.function 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.function getThreadedComments(row, column)
row: Number - The row index.column: Number - The column index.function getThreadedComments(cellName)
cellName: String - The name of the cell.function add(row, column)
row: Number - Cell row index.column: Number - Cell column index.function add(cellName)
cellName: String - Cell name.function removeAt(cellName)
cellName: String - The name of cell which contains a comment.function removeAt(row, column)
row: Number - The row index.column: Number - the column index.function clear()
function removeAt(index)
function iterator()
function get(index)
function contains(value)
function add(value)
function indexOf(value)