CommentAuthorsPart — Aspose.Slides FOSS Java API Reference
CommentAuthorsPart — Manages the comment authors XML part (ppt/commentAuthors.
Package: org.aspose.slides.foss.internal.pptx
Note: This is an internal implementation class. Do not import or use it directly — the package
org.aspose.slides.foss.internal.pptxis not part of the public API and may change without notice. This page is provided for reference only.
Properties
| Property | Type | Access | Description |
|---|---|---|---|
authors | List<AuthorData> | Read/Write |
Methods
| Method | Returns | Description |
|---|---|---|
getAuthors() | List<AuthorData> | Returns all comment authors. |
findAuthorById(int authorId) | Optional<AuthorData> | Finds an author by their unique ID. |
addAuthor(String name, String initials) | AuthorData | Adds a new author and returns its data wrapper. |
removeAuthor(int authorId) | void | Removes an author by their unique ID. |
clear() | void | Removes all authors from this part. |
nextCommentIdx(int authorId) | int | Returns the next globally-unique comment index. |
save() | void | Saves the comment authors XML back to the package. |
ensureRegistered(OpcPackage pkg) | void | Ensures that commentAuthors. |