CommentAuthorCollection
Vue de l’ensemble
‘CommentAuthorCollection’ est une classe dans Aspose.Slides FOSS pour Java. Il hérite de: BaseColection<ICommentAutore>, `ICOMmentOuthorCollection’.
Représente une collection d’auteurs de commentaires dans une présentation.
Cette classe fournit 13 méthodes pour travailler avec les objets CommentAuthorCollection dans les programmes Java. Les méthodologies disponibles comprennent: addAutor, asICollection , aIEnumerable ; buildA Author; ‘clear : FindByName et ‘findBYNAMEAndInitials . , 'get en plus de l’internaute, ‘remove` à partir d’un ensemble de méthode supplémentaires. Tous les membres publics sont accessibles à toute application Java après avoir installé le package Aspose.Slides FOSS pour Java .
méthodes
| Signature | Description |
|---|---|
initInternal(authorsPart: CommentAuthorsPart, pkg: OpcPackage, presentation: Presentation) | Initializes internal backing references that link this collection to the |
| underlying OPC package data. | |
buildAuthor(data: AuthorData) → CommentAuthor | Builds a {@link CommentAuthor} from the given XML-backed {@link AuthorData}. |
addAuthor(name: String, initials: String) → ICommentAuthor | Adds a new author with the specified name and initials and returns it |
toArray() → ICommentAuthor[] | Returns all authors as an array of ICommentAuthor |
findByName(name: String) → List<ICommentAuthor> | Returns a list of authors whose name matches the given string |
findByNameAndInitials(name: String, initials: String) → List<ICommentAuthor> | Returns authors matching both name and initials |
removeAt(index: int) | Removes the author at the specified index |
remove(author: ICommentAuthor) | Deletes the specified author from the collection |
clear() | Removes all authors from the collection |
get(index: int) → ICommentAuthor | {@inheritDoc} |
In XML-backed mode, delegates to {@link CommentAuthorsPart#getAuthors()} and hydrates the author at the given index. | | `size()` → `int` | {@inheritDoc}
In XML-backed mode, returns the count from {@link CommentAuthorsPart#getAuthors()}.
/ | | `asICollection()` → `ListVoir aussi
- Aspose.Slides - référence API d’entreprise