CommentAuthorCollection

Vue d’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

NameTypeAccessDescription
CommentAuthorCollectionCommentAuthorCollectionReadGets the comment author collection.

méthodes

SignatureDescription
CommentAuthorCollection() → CommentAuthorCollectionProperty 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) → CommentAuthorAdds 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_tReturns the number of authors.
as_i_collection() → CommentAuthorCollectionReturns a reference to this collection as a generic collection interface.
as_i_collection() → CommentAuthorCollectionReturns a reference to this collection as a generic collection interface.
as_i_enumerable() → CommentAuthorCollectionReturns a reference to this collection as a generic enumerable interface.
as_i_enumerable() → CommentAuthorCollectionReturns 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
 Français