CommentAuthorCollection

Übersicht über die

CommentAuthorCollection ist eine Klasse in Aspose.Slides FOSS für Java. Erben von: BaseCollection<ICommentAuthor>, ICommentAuthorCollection.

Darstellt eine Sammlung von Kommentaren der Autoren in einer Präsentation.

Methoden und Verfahren

UnterzeichnungBeschreibung
initInternal(authorsPart: CommentAuthorsPart, pkg: OpcPackage, presentation: Presentation)Initialisiert interne Referenzen, die diese Sammlung mit dem
die zugrunde liegenden Daten der OPC-Verpackung.
buildAuthor(data: AuthorData)CommentAuthorErstellt einen {@link CommentAuthor} aus dem gegebenen XML-gestützten { @linkAuthorData}.
addAuthor(name: String, initials: String)ICommentAuthorFügt einen neuen Autor mit dem Vornamen und den Initialen hinzu und gibt ihn zurück.
toArray()ICommentAuthor[]Gibt alle Autoren als Array von ICommentAuthor zurück.
findByName(name: String)List<ICommentAuthor>Sucht alle Autoren, deren Name dem angegebenen String entspricht
findByNameAndInitials(name: String, initials: String)List<ICommentAuthor>Finden Sie Autoren, die sowohl den Namen als auch Initialen entsprechen.
removeAt(index: int)Entfernt den Autor des angegebenen Index aus der Sammlung
remove(author: ICommentAuthor)Löscht den angegebenen Autor aus der Sammlung
clear()Entfernt alle Autoren aus der Sammlung
get(index: int)ICommentAuthorIch bin ein guter Mann.

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` | Returns the authors as a List | | `asIEnumerable()` → `Iterable` | Returns the authors as an Iterable |
 Deutsch