Introduce new class OOXmlFile

This commit is contained in:
Debao Zhang
2014-01-16 10:12:31 +08:00
parent d582621cac
commit ff7dc79d94
28 changed files with 318 additions and 269 deletions
+2 -1
View File
@@ -32,7 +32,8 @@ void DocPropsCoreTest::testCase1()
f1.close();
f1.open(QFile::ReadOnly);
QXlsx::DocPropsCore props2 = QXlsx::DocPropsCore::loadFromXmlFile(&f1);
QXlsx::DocPropsCore props2;
props2.loadFromXmlFile(&f1);
QCOMPARE(props2.property("creator"), QString("Debao"));
QCOMPARE(props2.property("keywords"), QString("Test, test, TEST"));