@@ 1557-1561 (lines=5) @@ | ||
1554 | } |
|
1555 | ||
1556 | // Loop through cells and apply styles |
|
1557 | for ($col = $rangeStart[0]; $col <= $rangeEnd[0]; ++$col) { |
|
1558 | for ($row = $rangeStart[1]; $row <= $rangeEnd[1]; ++$row) { |
|
1559 | $this->getCell(Cell::stringFromColumnIndex($col - 1) . $row)->setXfIndex($xfIndex); |
|
1560 | } |
|
1561 | } |
|
1562 | ||
1563 | return $this; |
|
1564 | } |
|
@@ 1595-1599 (lines=5) @@ | ||
1592 | } |
|
1593 | ||
1594 | // Loop through cells and apply styles |
|
1595 | for ($col = $rangeStart[0]; $col <= $rangeEnd[0]; ++$col) { |
|
1596 | for ($row = $rangeStart[1]; $row <= $rangeEnd[1]; ++$row) { |
|
1597 | $this->setConditionalStyles(Cell::stringFromColumnIndex($col - 1) . $row, $pCellStyle); |
|
1598 | } |
|
1599 | } |
|
1600 | ||
1601 | return $this; |
|
1602 | } |