CommentCollection — Aspose.Slides FOSS Java API Reference
CommentCollection — Represents a collection of comments of one author. Inherits from: ICommentCollection.
Package: org.aspose.slides.foss
Properties
| Property | Type | Access | Description |
|---|---|---|---|
authorObj | ICommentAuthor | Read/Write | |
allCommentsParts | List<CommentsPartEntry> | Read/Write |
Methods
| Method | Returns | Description |
|---|---|---|
initInternal(AuthorData authorData, CommentAuthorsPart authorsPart, OpcPackage pkg, Presentation presentation) | void | Initializes this collection with package-level backing data. |
resolveSlide(String partName) | ISlide | Returns the ISlide whose part name matches the given part name, or null. |
getAuthorObj() | ICommentAuthor | Resolves the owning ICommentAuthor object from the backing author data. |
getAllCommentsParts() | List<CommentsPartEntry> | Returns all CommentsPart instances across all slides that contain comments by this author. |
getOrCreateCommentsPart(String slidePartName) | CommentsPart | Gets or creates the CommentsPart for the given slide part name. |
buildComment(CommentData data, CommentsPart cp, ISlide slideObj) | Comment | Builds a Comment from raw comment data, a comments part, and an optional slide. |
collectMyComments() | List<MyCommentEntry> | Collects all comments by this author across all slides in the package. |
addComment(String text, ISlide slide, PointF position, LocalDateTime createdTime) | IComment | |
insertComment(int index, String text, ISlide slide, PointF position, LocalDateTime createdTime) | IComment | |
removeAt(int index) | void | |
remove(IComment comment) | void | |
clear() | void | |
get(int index) | IComment | |
size() | int | |
toArray() | IComment[] | |
toArray(int startIndex, int count) | IComment[] | |
asICollection() | List<IComment> | |
asIEnumerable() | Iterable<IComment> | |
findCommentByIdx(int idx) | Optional<IComment> |