ICommentAuthorCollection
Przegląd
ICommentAuthorCollection jest interfejsem w Aspose.Slides FOSS dla Java.
Reprezentuje zbiór autorów komentarzy w prezentacji.
Ten interfejs udostępnia 11 metod do pracy z obiektami ICommentAuthorCollection w programach Java. Dostępne metody to: addAuthor, asICollection, asIEnumerable, clear, findByName, findByNameAndInitials, get, remove, removeAt, size, toArray. Wszystkie publiczne elementy są dostępne dla dowolnej aplikacji Java po zainstalowaniu pakietu Aspose.Slides FOSS dla Java.
Metody
| Sygnatura | Opis |
|---|---|
addAuthor(name: String, initials: String) → ICommentAuthor | Dodaje nowego autora. |
toArray() → ICommentAuthor[] | Zwraca wszystkich autorów jako tablicę. |
findByName(name: String) → List<ICommentAuthor> | Znajduje autorów według nazwy. |
findByNameAndInitials(name: String, initials: String) → List<ICommentAuthor> | Znajduje autorów według nazwy i inicjałów. |
removeAt(index: int) | Usuwa autora o podanym indeksie, wraz ze wszystkimi jego komentarzami. |
remove(author: ICommentAuthor) | Usuwa autora z kolekcji. |
clear() | Usuwa wszystkich autorów i ich komentarze z kolekcji. |
get(index: int) → ICommentAuthor | Zwraca autora o podanym indeksie. |
size() → int | Zwraca liczbę autorów. |
asICollection() → List<ICommentAuthor> | Zwraca kolekcję jako {@link List}. |
asIEnumerable() → Iterable<ICommentAuthor> | Zwraca kolekcję jako {@link Iterable}. |