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 8 methods for working with AuthorData objects in Go programs.
Available methods include: clr_idx, id, initials, last_idx, name, set_initials, set_last_idx, set_name.
All exported members are accessible to any Go application after adding the package via go get github.com/aspose-pdf-foss/aspose-pdf-foss-for-go.
Methods
| Signature | Description |
|---|---|
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). |