CommentAuthorCollection

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

SignatureDescription
initInternal(authorsPart: CommentAuthorsPart, pkg: OpcPackage, presentation: Presentation)Initializes internal backing references that link this collection to the
underlying OPC package data.
buildAuthor(data: AuthorData)CommentAuthorBuilds a {@link CommentAuthor} from the given XML-backed {@link AuthorData}.
addAuthor(name: String, initials: String)ICommentAuthorAdds 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()` → `List` | Provides the authors as a List collection | | `asIEnumerable()` → `Iterable` | Returns an Iterable over the authors |

Voir aussi

  • Aspose.Slides - référence API d’entreprise
 Français