ICommentCollection

ICommentCollection

General

ICommentCollection és una interfície en Aspose.Slides FOSS per Java.

Representa una col·lecció de comentaris pertanyents a un mateix autor.

Mètodes

SignatureDescription
addComment(text: String, slide: ISlide, position: PointF, createdTime: LocalDateTime) → ICommentAdds a comment to the collection.
insertComment(index: int, text: String, slide: ISlide, position: PointF, createdTime: LocalDateTime) → ICommentInserts 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) → ICommentReturns the comment at the given index.
size() → intReturns 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).
 Català