ICommentCollection
Overview
ICommentCollection 是一个面接在Aspose.Slides FOSS for Java 中.
代表一个作者所写的评论集.
这个接口提供了12种方法,用于在Java程序中与ICommentCollection对象工作. 有的方法包括: addComment, asICollection, asIEnumerable, clear, findCommentByIdx, get, insertComment, remove, removeAt, size, toArray. 所有公众成员在安装了Java的FOSS包后,可以访问任何 Java应用程序.
Methods
| Signature | Description |
|---|---|
addComment(text: String, slide: ISlide, position: PointF, createdTime: LocalDateTime) → IComment | 添加评论到收藏. |
insertComment(index: int, text: String, slide: ISlide, position: PointF, createdTime: LocalDateTime) → IComment | 在给定的索引中插入评论. |
removeAt(index: int) | 删除给出的索引上的评论. |
remove(comment: IComment) | 删除了给出的评论 (及其答案) 从集合中. |
clear() | 删除了所有评论. |
get(index: int) → IComment | 在给定的索引中返回评论. |
size() → int | 返回评论数量. |
toArray() → IComment[] | 返回所有评论作为数组. |
toArray(startIndex: int, count: int) → IComment[] | 返回一个参数的子集作为阵列. |
asICollection() → List<IComment> | 返回这个集合作为一个列表. |
asIEnumerable() → Iterable<IComment> | 返回这个集合为可代的. |
findCommentByIdx(idx: int) → Optional<IComment> | 通过其独特索引 (每个作者) 来找到评论. |