CommentAuthorCollection
Vue de l’ensemble
‘CommentAuthorCollection’ est une classe dans Aspose.Slides FOSS pour C++.
Gère une collection d’auteurs de commentaires dans une présentation.
Cette classe fournit 24 méthodes pour travailler avec les objets CommentAuthorCollection dans des programmes C++. Les méthodologies disponibles comprennent: ‘CommentAutorColection’, ‘add_author’, as_i_collection', ‘as _i _enumerable’, 'begin, ‘clear , 'end ‘find_by_name,, 'find_ by_nam_and_initials., ‘init_internal et 'remove ainsi que 2 méthode supplémentaires. Tous les membres publics sont accessibles à toute application C ++ après l’installation de l’Aspouse.Slides FOSS pour le package C+. Propriétés : ‘CommandeAuthorCollections’.
Propriétés
| Name | Type | Access | Description |
|---|---|---|---|
CommentAuthorCollection | CommentAuthorCollection | Read | Gets the comment author collection. |
méthodes
| 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 |
Voir aussi
- Aspose.Slides - référence API d’entreprise