CommentAuthorCollection
Overview
CommentAuthorCollection is a class in Aspose.Slides FOSS for C++.
Manages a collection of comment authors in a presentation.
This class provides 24 methods for working with CommentAuthorCollection objects in C++ programs.
Available methods include: CommentAuthorCollection, add_author, as_i_collection, as_i_enumerable, begin, clear, end, find_by_name, find_by_name_and_initials, init_internal, remove, remove_at, and 2 additional methods.
All public members are accessible to any C++ application after installing the Aspose.Slides FOSS for C++ package.
Properties: CommentAuthorCollection.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
CommentAuthorCollection | CommentAuthorCollection | Read | Gets the comment author collection. |
Methods
| Signature | Description |
|---|---|
CommentAuthorCollection() → CommentAuthorCollection | Property provides access to the collection instance |
CommentAuthorCollection() → 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. |
add_author(name: std::string, initials: std::string) → CommentAuthor | Adds a new author with the given name and initials. |
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_t | Returns the number of authors. |
as_i_collection() → CommentAuthorCollection | Returns a reference to this collection as a generic collection interface. |
as_i_collection() → CommentAuthorCollection | Returns a reference to this collection as a generic collection interface. |
as_i_enumerable() → CommentAuthorCollection | Returns a reference to this collection as a generic enumerable interface. |
as_i_enumerable() → CommentAuthorCollection | Returns a reference to this collection as a generic enumerable interface. |
begin() → auto | |
end() → auto | |
begin() → auto | |
end() → auto |