comparison src/converter.cpp @ 71:7e195eacb0da

Acutally write unfilled choices in XLSX
author Andre Heinecke <andre.heinecke@intevation.de>
date Thu, 29 Sep 2016 14:45:35 +0200
parents 3438f5cce8cc
children a9bc9f907fcd
comparison
equal deleted inserted replaced
70:3438f5cce8cc 71:7e195eacb0da
288 /* Alternative answer that is just a list of strings */ 288 /* Alternative answer that is just a list of strings */
289 unescapeString(choice); 289 unescapeString(choice);
290 qDebug() << "Captured unfilled choice: " << choice; 290 qDebug() << "Captured unfilled choice: " << choice;
291 html << mChoiceTextStyle.arg(choice.toHtmlEscaped()); 291 html << mChoiceTextStyle.arg(choice.toHtmlEscaped());
292 makeBar(html, 0, doc); 292 makeBar(html, 0, doc);
293 xlsx.write(row, 1, choice);
293 xlsx.write(row, 2, QVariant()); 294 xlsx.write(row, 2, QVariant());
294 const QString numVotesString = QStringLiteral("Keine eingegangenen Antworten"); 295 const QString numVotesString = QStringLiteral("Keine eingegangenen Antworten");
295 html << mChoiceVotesStyle.arg(numVotesString.toHtmlEscaped()); 296 html << mChoiceVotesStyle.arg(numVotesString.toHtmlEscaped());
296 xlsx.write(row, 3, numVotesString, mChoiceVotesFmt); 297 xlsx.write(row, 3, numVotesString, mChoiceVotesFmt);
297 xlsx.setRowHeight(row, CHOICE_ROW_HEIGHT); 298 xlsx.setRowHeight(row, CHOICE_ROW_HEIGHT);
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)