v1.5.3-patch1
This commit is contained in:
parent
c16566d2f1
commit
91f3c5af49
|
|
@ -40,7 +40,7 @@ Type xlsxWorkBook = Class
|
|||
//workbook.Print();
|
||||
//workbook.Dump();
|
||||
//echo tostn(workbook.dom());
|
||||
node := workbook.FirstChildElement('workbook').FirstChildElement('sheets').FirstChildElement();
|
||||
node := workbook.FirstChildElement('workbook').FirstChildElement('sheets').FirstChildElement('sheet');
|
||||
while ifObj(node) do Begin
|
||||
name := node.GetAttribute("name");
|
||||
sheetNames_[sheetsCount_]['name'] := name;
|
||||
|
|
@ -50,7 +50,7 @@ Type xlsxWorkBook = Class
|
|||
sheetNames_[sheetsCount_]['file'] := 'xl/' + rids[ rid ];
|
||||
sheetIndexMap_[ LowerCase(name) ] := sheetsCount_;
|
||||
sheetsCount_ ++;
|
||||
node := node.NextElement();
|
||||
node := node.NextElement('sheet');
|
||||
End;
|
||||
|
||||
files := zipfile_.Files();
|
||||
|
|
|
|||
Loading…
Reference in New Issue