Mercurial > clickerconvert
comparison src/converter.cpp @ 13:101ee762f021
Add commented out Grouping
author | Andre Heinecke <andre.heinecke@intevation.de> |
---|---|
date | Tue, 22 Mar 2016 17:21:44 +0100 |
parents | 21f11f988115 |
children | 03dad1cff5b9 |
comparison
equal
deleted
inserted
replaced
12:21f11f988115 | 13:101ee762f021 |
---|---|
174 choiceMatch = choiceEx.match(input, cursor); | 174 choiceMatch = choiceEx.match(input, cursor); |
175 row++; | 175 row++; |
176 lastChoiceRow++; | 176 lastChoiceRow++; |
177 } | 177 } |
178 bars.addRange(QString("B%1:B%2").arg(firstChoiceRow).arg(lastChoiceRow)); | 178 bars.addRange(QString("B%1:B%2").arg(firstChoiceRow).arg(lastChoiceRow)); |
179 // xlsx.groupRows(firstChoiceRow - 2, lastChoiceRow - 1, false); | |
179 } else if (answerLine == QStringLiteral(TEXT_IDENTIFIER)) { | 180 } else if (answerLine == QStringLiteral(TEXT_IDENTIFIER)) { |
180 QRegularExpressionMatch textMatch = freetxtEx.match(input, cursor); | 181 QRegularExpressionMatch textMatch = freetxtEx.match(input, cursor); |
181 xlsx.setRowHeight(row, CHOICE_ROW_HEIGHT); | 182 xlsx.setRowHeight(row, CHOICE_ROW_HEIGHT); |
182 xlsx.write(row++, 1, tr("Answer"), mAnswerTextFmt); | 183 xlsx.write(row++, 1, tr("Answer"), mAnswerTextFmt); |
183 while (textMatch.hasMatch()) { | 184 while (textMatch.hasMatch()) { |