@@ 1099-1102 (lines=4) @@ | ||
1096 | ||
1097 | foreach ($this->getWorksheetIterator() as $sheet) { |
|
1098 | // from cells |
|
1099 | foreach ($sheet->getCoordinates(false) as $coordinate) { |
|
1100 | $cell = $sheet->getCell($coordinate); |
|
1101 | ++$countReferencesCellXf[$cell->getXfIndex()]; |
|
1102 | } |
|
1103 | ||
1104 | // from row dimensions |
|
1105 | foreach ($sheet->getRowDimensions() as $rowDimension) { |
|
@@ 1143-1146 (lines=4) @@ | ||
1140 | // update the xfIndex for all cells, row dimensions, column dimensions |
|
1141 | foreach ($this->getWorksheetIterator() as $sheet) { |
|
1142 | // for all cells |
|
1143 | foreach ($sheet->getCoordinates(false) as $coordinate) { |
|
1144 | $cell = $sheet->getCell($coordinate); |
|
1145 | $cell->setXfIndex($map[$cell->getXfIndex()]); |
|
1146 | } |
|
1147 | ||
1148 | // for all row dimensions |
|
1149 | foreach ($sheet->getRowDimensions() as $rowDimension) { |