CommentAuthor

Overview

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

Represents the author of a comment.

This class provides 13 methods for working with CommentAuthor objects in C++ programs. Available methods include: authors_part, comments, has_internal_data, init_internal, initials, internal_data, name, package, presentation, remove, set_initials, set_name. All public members are accessible to any C++ application after installing the Aspose.Slides FOSS for C++ package.

Methods

SignatureDescription
init_internal(data: Internal::pptx::AuthorData, authors_part: Internal::pptx::CommentAuthorsPart, package: Internal::opc::OpcPackage)Initializes the internal PPTX persistence layer for this author. Links the public CommentAuthor to its XML-backed AuthorData so that property accessors (name, initials) delegate to the underlying XML node.
name() → std::stringReturns the author’s name.
set_name(value: std::string)Sets the author’s name.
initials() → std::stringReturns the author’s initials.
set_initials(value: std::string)Sets the author’s initials.
comments() → CommentCollectionReturns the collection of comments by this author.
comments() → CommentCollectionReturns the collection of comments by this author.
remove()Removes the author from the parent collection, clearing all comments first.
has_internal_data() → boolReturns whether this author is backed by internal PPTX data.
internal_data() → Internal::pptx::AuthorDataReturns the internal author data, if initialized.
authors_part() → Internal::pptx::CommentAuthorsPartReturns the internal authors part, if initialized.
package() → Internal::opc::OpcPackageReturns the OPC package, if initialized.
presentation() → PresentationReturns the owning presentation, if set.

See Also

 English