AuthorData
Overview
AuthorData is a class in Aspose.Slides FOSS for C++.
Raw data for a comment author parsed from XML. Wraps a pugixml node and provides typed accessors for the author attributes. Changes made through the setters are reflected directly in the underlying XML node.
This class provides 10 methods for working with AuthorData objects in C++ programs.
Available methods include: AuthorData, clr_idx, id, initials, last_idx, name, node, set_initials, set_last_idx, set_name.
All public members are accessible to any C++ application after installing the Aspose.Slides FOSS for C++ package.
Methods
| Signature | Description |
|---|---|
AuthorData(node: pugi::xml_node) | Construct from a XML node. |
id() → int32_t | Author numeric ID. |
name() → std::string | Author display name. |
set_name(value: std::string_view) | Sets the author’s display name to the given string |
initials() → std::string | Author initials. |
set_initials(value: std::string_view) | Sets the author’s initials to the given string |
last_idx() → int32_t | Last comment index used by this author. |
set_last_idx(value: int32_t) | Sets the last comment index for this author |
clr_idx() → int32_t | Color index for this author (cycles 0–9). |
node() → pugi::xml_node | Access the underlying XML node. |