ICommentCollection
Overview
ICommentCollection is a interface in Aspose.Slides FOSS for Java.
Represents a collection of comments belonging to a single author.
Methods
| Signature | Description |
|---|---|
addComment(text: String, slide: ISlide, position: PointF, createdTime: LocalDateTime) → IComment | Adds a comment to the collection. |
insertComment(index: int, text: String, slide: ISlide, position: PointF, createdTime: LocalDateTime) → IComment | Inserts a comment at the given index. |
removeAt(index: int) | Removes the comment at the given index. |
remove(comment: IComment) | Removes the given comment (and its replies) from the collection. |
clear() | Removes all comments from this collection. |
get(index: int) → IComment | Returns the comment at the given index. |
size() → int | Returns the number of comments. |
toArray() → IComment[] | Returns all comments as an array. |
toArray(startIndex: int, count: int) → IComment[] | Returns a subset of comments as an array. |
asICollection() → List<IComment> | Returns this collection as a list. |
asIEnumerable() → Iterable<IComment> | Returns this collection as an iterable. |
findCommentByIdx(idx: int) → Optional<IComment> | Finds a comment by its unique index (per author). |