1#ifndef OPENXLSX_XLTHREADEDCOMMENTS_HPP
2#define OPENXLSX_XLTHREADEDCOMMENTS_HPP
7#include "OpenXLSX-Exports.hpp"
29 std::string ref()
const;
30 std::string id()
const;
31 std::string parentId()
const;
32 std::string personId()
const;
33 std::string text()
const;
35 bool isResolved()
const;
36 void setResolved(
bool resolved);
41 XLThreadedComment& addReply(
const std::string& text,
const std::string& author =
"");
74 std::vector<XLThreadedComment> replies(
const std::string& parentId)
const;
79 XLThreadedComment addComment(std::string_view ref, std::string_view personId, std::string_view text);
84 XLThreadedComment addReply(
const std::string& parentId,
const std::string& personId,
const std::string& text);
89 bool deleteComment(
const std::string& ref);
108 std::string id()
const;
109 std::string displayName()
const;
132 XLPerson person(
const std::string&
id)
const;
138 std::string addPerson(
const std::string& displayName);
XLXmlData * xmlData
Definition XLDocument.cpp:1422
Definition XLXmlParser.hpp:84
A proxy class encapsulating a single person (author) entity.
Definition XLThreadedComments.hpp:96
XLPerson & operator=(XLPerson &&other)=default
XLPerson & operator=(const XLPerson &other)=default
XLPerson(XLPerson &&other)=default
XLPerson(const XLPerson &other)=default
A class encapsulating modern Excel persons metadata (persons.xml)
Definition XLThreadedComments.hpp:119
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:122
XLPersons()
Definition XLThreadedComments.hpp:121
A class encapsulating an Excel worksheet. Access to XLWorksheet objects should be via the workbook ob...
Definition XLWorksheet.hpp:118
The XLXmlFile class provides an interface for derived classes to use. It functions as an ancestor to ...
Definition XLXmlFile.hpp:42
Definition IZipArchive.hpp:18