151 XMLNode authorNode(uint16_t index)
const;
152 XMLNode commentNode(
size_t index)
const;
153 XMLNode commentNode(
const std::string& cellRef)
const;
154 void setupVmlShape(
const std::string& cellRef,
157 bool newCommentCreated,
158 uint16_t widthCols = 4,
159 uint16_t heightRows = 6);
164 std::string
author(uint16_t index)
const;
168 uint16_t
addAuthor(
const std::string& authorName);
174 size_t count()
const;
176 uint16_t
authorId(
const std::string& cellRef)
const;
192 std::string
get(std::string
const& cellRef)
const;
203 bool set(std::string
const& cellRef,
204 std::string
const& comment,
205 uint16_t authorId_ = 0,
206 uint16_t widthCols = 4,
207 uint16_t heightRows = 6);
218 bool set(std::string
const& cellRef,
219 std::string
const& comment,
220 std::string
const& authorName,
221 uint16_t widthCols = 4,
222 uint16_t heightRows = 6);
235 uint16_t authorId_ = 0,
236 uint16_t widthCols = 4,
237 uint16_t heightRows = 6);
250 std::string
const& authorName,
251 uint16_t widthCols = 4,
252 uint16_t heightRows = 6);
265 bool setVisible(std::string
const& cellRef,
bool visible);
270 void print(std::basic_ostream<char>& ostr)
const;
275 XLVmlDrawing m_vmlDrawing;
276 mutable std::unordered_map<std::string, XMLNode> m_commentMap{};
279 mutable size_t m_hintIndex{0};
280 inline static const std::vector<std::string_view> m_nodeOrder = {
A class representing rich text in a cell.
Definition XLRichText.hpp:139
std::string xmlData(XLXmlSavingDeclaration savingDeclaration=XLXmlSavingDeclaration{}) const
Method for getting the XML data represented by the object.
Definition XLXmlFile.cpp:49