Loading src/Calc/Sheet.php +6 −2 Changes for src/Calc/Sheet.php: 6 added lines, 2 removed lines. Original line number Diff line number Diff line Loading @@ -92,12 +92,16 @@ class Sheet protected function readRow(DOMNode $rowNode, int $row) { $cells = $rowNode->childNodes; $col = 1; $col = 0; foreach ($cells as $c) { $col++; if ('table:covered-table-cell' == $c->tagName) { $col--; } if ('table:table-cell' == $c->tagName) { $cell = new Cell($c); if ($r = $cell->getRepeated()){ $col += $r; $col += $r - 1; continue; } $init = true; Loading Loading
src/Calc/Sheet.php +6 −2 Changes for src/Calc/Sheet.php: 6 added lines, 2 removed lines. Original line number Diff line number Diff line Loading @@ -92,12 +92,16 @@ class Sheet protected function readRow(DOMNode $rowNode, int $row) { $cells = $rowNode->childNodes; $col = 1; $col = 0; foreach ($cells as $c) { $col++; if ('table:covered-table-cell' == $c->tagName) { $col--; } if ('table:table-cell' == $c->tagName) { $cell = new Cell($c); if ($r = $cell->getRepeated()){ $col += $r; $col += $r - 1; continue; } $init = true; Loading