CommentAuthorCollection

CommentAuthorCollection

Overview

CommentAuthorCollection is a class in Aspose.Slides FOSS for C++.

Manages a collection of comment authors in a presentation.

Properties

NameTypeAccessDescription
CommentAuthorCollectionCommentAuthorCollectionReadProperty provides access to the collection instance

Methods

SignatureDescription
CommentAuthorCollection()CommentAuthorCollectionProperty provides access to the collection instance
CommentAuthorCollection()CommentAuthorCollection
CommentAuthorCollection()CommentAuthorCollection
CommentAuthorCollection()CommentAuthorCollection
CommentAuthorCollection()CommentAuthorCollection
init_internal(authors_part: Internal::pptx::CommentAuthorsPart, package: Internal::opc::OpcPackage)Initializes the internal PPTX persistence layer for this collection. Links the collection to its XML-backed CommentAuthorsPart so that authors are loaded from the underlying XML document.
to_array()std::vector<CommentAuthor*>Returns a copy of all authors as a vector of non-owning pointers.
to_array()std::vector<const CommentAuthor*>Returns a copy of all authors as a vector of non-owning pointers.
find_by_name(name: std::string)std::vector<CommentAuthor*>Finds authors whose name matches the given value.
find_by_name_and_initials(name: std::string, initials: std::string)std::vector<CommentAuthor*>Finds authors whose name and initials both match.
remove_at(index: std::size_t)Removes the author at the given index, clearing its comments first.
remove(author: CommentAuthor)Removes the specified author from the collection.
clear()Removes all authors from the collection, clearing their comments first.
size()std::size_tReturns the number of authors.

See Also