java.lang.ObjectCollectionBase
com.aspose.cells.CommentCollection
public class CommentCollection
Example:
Workbook workbook = new Workbook();
CommentCollection comments = workbook.getWorksheets().get(0).getComments();
Property Getters/Setters Summary | ||
---|---|---|
int | getCount() | → inherited from com.aspose.cells.CollectionBase |
Comment | get(int index) | |
Gets the |
||
Comment | get(int row, int column) | |
Gets the |
||
Comment | get(java.lang.String cellName) | |
Gets the |
Method Summary | ||
---|---|---|
int | add(int row, int column) | |
Adds a comment to the collection. | ||
int | add(java.lang.Object value) | → inherited from com.aspose.cells.CollectionBase |
Reserved for internal use. | ||
int | add(java.lang.String cellName) | |
Adds a comment to the collection. | ||
void | clear() | |
Removes all comments; | ||
boolean | contains(java.lang.Object value) | → inherited from com.aspose.cells.CollectionBase |
Reserved for internal use. | ||
java.lang.Object | get(int index) | → inherited from com.aspose.cells.CollectionBase |
Reserved for internal use. | ||
int | indexOf(java.lang.Object value) | → inherited from com.aspose.cells.CollectionBase |
Reserved for internal use. | ||
java.util.Iterator | iterator() | → inherited from com.aspose.cells.CollectionBase |
void | removeAt(int index) | → inherited from com.aspose.cells.CollectionBase |
void | removeAt(int row, int column) | |
Removes the comment of the specific cell. | ||
void | removeAt(java.lang.String cellName) | |
Removes the comment of the specific cell. |
Property Getters/Setters Detail |
---|
getCount | → inherited from com.aspose.cells.CollectionBase |
public int getCount() |
get | |
public Comment get(int index) |
index
- The zero based index of the element.get | |
public Comment get(java.lang.String cellName) |
cellName
- Cell name.get | |
public Comment get(int row, int column) |
row
- Row index.column
- Column index.Method Detail |
---|
add | |
public int add(int row, int column) |
row
- Cell row index.column
- Cell column index.add | |
public int add(java.lang.String cellName) |
cellName
- Cell name.removeAt | |
public void removeAt(java.lang.String cellName) |
cellName
- The name of cell which contains a comment.removeAt | |
public void removeAt(int row, int column) |
row
- The row index.column
- the column index.clear | |
public void clear() |
removeAt | → inherited from com.aspose.cells.CollectionBase |
public void removeAt(int index) |
iterator | → inherited from com.aspose.cells.CollectionBase |
public java.util.Iterator iterator() |
get | → inherited from com.aspose.cells.CollectionBase |
public java.lang.Object get(int index) |
contains | → inherited from com.aspose.cells.CollectionBase |
public boolean contains(java.lang.Object value) |
add | → inherited from com.aspose.cells.CollectionBase |
public int add(java.lang.Object value) |
indexOf | → inherited from com.aspose.cells.CollectionBase |
public int indexOf(java.lang.Object value) |