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);
|
||||
|
||||
// Loop through cells
|
||||
foreach ($worksheet->getCoordinates() as $coordinate) {
|
||||
$cell = $worksheet->getCell($coordinate);
|
||||
foreach ($worksheet->getCellCollection()->getCoordinates() as $coordinate) {
|
||||
$cell = $worksheet->getCellCollection()->get($coordinate);
|
||||
$cellValue = $cell->getValue();
|
||||
if (
|
||||
!is_object($cellValue) &&
|
||||
|
|
|
|||
Loading…
Reference in New Issue