Performance Experiment for the String Table, to avoid creating empty cells; should also be slightly faster
This commit is contained in:
parent
d686a991db
commit
b399c09dd5
|
|
@ -35,8 +35,8 @@ class StringTable extends WriterPart
|
||||||
$aFlippedStringTable = $this->flipStringTable($aStringTable);
|
$aFlippedStringTable = $this->flipStringTable($aStringTable);
|
||||||
|
|
||||||
// Loop through cells
|
// Loop through cells
|
||||||
foreach ($worksheet->getCoordinates() as $coordinate) {
|
foreach ($worksheet->getCellCollection()->getCoordinates() as $coordinate) {
|
||||||
$cell = $worksheet->getCell($coordinate);
|
$cell = $worksheet->getCellCollection()->get($coordinate);
|
||||||
$cellValue = $cell->getValue();
|
$cellValue = $cell->getValue();
|
||||||
if (
|
if (
|
||||||
!is_object($cellValue) &&
|
!is_object($cellValue) &&
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue