11#ifndef OPENXLSX_XLTHREADEDCOMMENTS_HPP
12#define OPENXLSX_XLTHREADEDCOMMENTS_HPP
16#include <gsl/pointers>
17#include "OpenXLSX-Exports.hpp"
39 std::string
ref()
const;
40 std::string
id()
const;
43 std::string
text()
const;
84 std::vector<XLThreadedComment>
replies(
const std::string& parentId)
const;
118 std::string
id()
const;
148 std::string
addPerson(
const std::string& displayName);
A proxy class encapsulating a single person (author) entity.
Definition XLThreadedComments.hpp:106
XLPerson & operator=(XLPerson &&other)=default
XLPerson & operator=(const XLPerson &other)=default
bool valid() const
Definition XLThreadedComments.cpp:234
XLPerson(XLPerson &&other)=default
std::string displayName() const
Definition XLThreadedComments.cpp:241
XLPerson(const XLPerson &other)=default
std::string id() const
Definition XLThreadedComments.cpp:236
XLPersons(const XLPersons &other)=default
XLPersons & operator=(const XLPersons &other)=default
XLPersons(XLPersons &&other)=default
XLPersons & operator=(XLPersons &&other)=default
XLPersons(gsl::not_null< XLXmlData * > xmlData)
Definition XLThreadedComments.hpp:132
XLPerson person(const std::string &id) const
Retrieve a person entity by their unique personId.
Definition XLThreadedComments.cpp:248
XLPersons()
Definition XLThreadedComments.hpp:131
std::string addPerson(const std::string &displayName)
Add a person by their display name, generating a new ID if it doesn't exist.
Definition XLThreadedComments.cpp:259
A class encapsulating an Excel worksheet. Access to XLWorksheet objects should be via the workbook ob...
Definition XLWorksheet.hpp:132
std::string xmlData(XLXmlSavingDeclaration savingDeclaration=XLXmlSavingDeclaration{}) const
Method for getting the XML data represented by the object.
Definition XLXmlFile.cpp:49
XLXmlFile()=default
Default constructor.
Definition IXLCellProvider.hpp:24
OpenXLSX_xml_node XMLNode
Definition XLXmlParser.hpp:64