CommentAuthorCollection

CommentAuthorCollection

Общ преглед

CommentAuthorCollection е клас в Aspose.Slides FOSS за Java. Наследници от: BaseCollection<ICommentAuthor>, ICommentAuthorCollection.

Представя колекция от коментари на авторите в презентацията.

Методи за изчисляване на данните

ПодписътОписание на състоянието
initInternal(authorsPart: CommentAuthorsPart, pkg: OpcPackage, presentation: Presentation)Инициализира вътрешни референции, които свързват тази колекция с
данни за опаковките на ОПК.
buildAuthor(data: AuthorData) → CommentAuthorСъздава {@link CommentAuthor} от даден XML-подкрепен { @linkAuthorData}.
addAuthor(name: String, initials: String) → ICommentAuthorДобавя нов автор с дадено име и инициали и го връща.
toArray() → ICommentAuthor[]Връща всички автори като масив от ICommentAuthor
findByName(name: String) → List<ICommentAuthor>Намира всички автори, чието име е равно на посочения ред.
findByNameAndInitials(name: String, initials: String) → List<ICommentAuthor>Намира автори, съвпадащи с името и инициалите.
removeAt(index: int)Изтрива автора от посочения индекс в колекцията
remove(author: ICommentAuthor)Изтрива посочения автор от колекцията.
clear()Изтрива всички автори от колекцията.
get(index: int) → ICommentAuthor{@наследиДок}

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 |
 Български