Can read .xlsx files with fill styles now

This commit is contained in:
Debao Zhang
2013-10-22 11:30:06 +08:00
parent b56d86aab4
commit 9abb26127c
8 changed files with 163 additions and 11 deletions
+1
View File
@@ -12,6 +12,7 @@ int main()
QXlsx::Format *format = xlsx.createFormat();
format->setFontColor(QColor(Qt::blue));
format->setFontSize(15);
format->setPatternBackgroundColor(QColor(Qt::gray));
xlsx.write("A1", "Hello Qt!", format);
xlsx.write("A2", 500);
xlsx.saveAs("first.xlsx");