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
| Signature | Description |
|---|---|
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::string | Returns the author’s name. |
set_name(value: std::string) | Sets the author’s name. |
initials() → std::string | Returns the author’s initials. |
set_initials(value: std::string) | Sets the author’s initials. |
comments() → CommentCollection | Returns the collection of comments by this author. |
comments() → CommentCollection | Returns the collection of comments by this author. |
remove() | Removes the author from the parent collection, clearing all comments first. |
has_internal_data() → bool | Returns whether this author is backed by internal PPTX data. |
internal_data() → Internal::pptx::AuthorData | Returns the internal author data, if initialized. |
authors_part() → Internal::pptx::CommentAuthorsPart | Returns the internal authors part, if initialized. |
package() → Internal::opc::OpcPackage | Returns the OPC package, if initialized. |
presentation() → Presentation | Returns the owning presentation, if set. |