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
@@ -31,7 +31,8 @@ void DocPropsAppTest::testCase1()
f1.close();
f1.open(QFile::ReadOnly);
QXlsx::DocPropsApp props2 = QXlsx::DocPropsApp::loadFromXmlFile(&f1);
QXlsx::DocPropsApp props2;
props2.loadFromXmlFile(&f1);
QCOMPARE(props2.property("company"), QString("HMI CN"));
QCOMPARE(props2.property("manager"), QString("Debao"));