Fix the cell content written for bool type

This commit is contained in:
Debao Zhang
2013-08-26 10:16:33 +08:00
parent 98611399fd
commit a042f5bc60
2 changed files with 4 additions and 1 deletions
+3
View File
@@ -13,6 +13,9 @@ int main()
QXlsx::Workbook workbook;
QXlsx::Worksheet *sheet = workbook.addWorksheet();
sheet->write("A1", "Hello Qt!");
sheet->write("B3", 12345);
sheet->write("C5", "=44+33");
sheet->write("D7", true);
workbook.save(DATA_PATH"Test.xlsx");
workbook.save(DATA_PATH"Test.zip");
return 0;