29 name(), indentChars(i), lastLineType(t)
70 this->
line(std::string(
"} // ") + comment);
89 for (
auto& l : docLines)
91 lineInternal(l,
indent + indentDelta);
110 for (
auto& l : docLines)
112 lineInternal(l,
indent + indentDelta);
147 Lines::lineInternal(
const std::string& line,
int indent)
149 for (
int i = 0; i <
indent; i++)
159 header(
"header"), body(
"body"), footer(
"footer"), fileDoc(doc)
165 const std::vector<std::string>& docLines,
166 std::vector<std::string>& linesOut)
168 for (std::string line : docLines)
170 while (line.size() > maxTextWidth)
172 auto pos = line.rfind(
" ", maxTextWidth);
173 linesOut.push_back(line.substr(0, pos));
177 linesOut.push_back(line);
184 std::stringstream ss;