CommentAuthorCollection

المعلومات العامة

CommentAuthorCollection هي فئة في Aspose.Slides FOSS لـ Java. وراثية من: ⌒BaseCollection`, ヽ ICommentAuthorCollection゚ .

يمثل مجموعة من مؤلفي التعليقات في العرض.

الطرق

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 given name and initials and returns it
toArray()ICommentAuthor[]Returns all authors as an array of ICommentAuthor
findByName(name: String)List<ICommentAuthor>Finds all authors whose name equals the specified string
findByNameAndInitials(name: String, initials: String)List<ICommentAuthor>Finds authors matching both the given name and initials
removeAt(index: int)Removes the author at the specified index from the collection
remove(author: ICommentAuthor)Deletes the given 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` | Returns the authors as a List | | `asIEnumerable()` → `Iterable` | Returns the authors as an Iterable |
 العربية