@@ 287-291 (lines=5) @@ | ||
284 | $rangeEnd[0] = PHPExcel_Cell::columnIndexFromString($rangeEnd[0]) - 1; |
|
285 | ||
286 | // Make sure we can loop upwards on rows and columns |
|
287 | if ($rangeStart[0] > $rangeEnd[0] && $rangeStart[1] > $rangeEnd[1]) { |
|
288 | $tmp = $rangeStart; |
|
289 | $rangeStart = $rangeEnd; |
|
290 | $rangeEnd = $tmp; |
|
291 | } |
|
292 | ||
293 | // ADVANCED MODE: |
|
294 |
@@ 1485-1489 (lines=5) @@ | ||
1482 | $rangeEnd[0] = PHPExcel_Cell::columnIndexFromString($rangeEnd[0]) - 1; |
|
1483 | ||
1484 | // Make sure we can loop upwards on rows and columns |
|
1485 | if ($rangeStart[0] > $rangeEnd[0] && $rangeStart[1] > $rangeEnd[1]) { |
|
1486 | $tmp = $rangeStart; |
|
1487 | $rangeStart = $rangeEnd; |
|
1488 | $rangeEnd = $tmp; |
|
1489 | } |
|
1490 | ||
1491 | // Loop through cells and apply styles |
|
1492 | for ($col = $rangeStart[0]; $col <= $rangeEnd[0]; ++$col) { |
|
@@ 1541-1545 (lines=5) @@ | ||
1538 | $rangeEnd[0] = PHPExcel_Cell::columnIndexFromString($rangeEnd[0]) - 1; |
|
1539 | ||
1540 | // Make sure we can loop upwards on rows and columns |
|
1541 | if ($rangeStart[0] > $rangeEnd[0] && $rangeStart[1] > $rangeEnd[1]) { |
|
1542 | $tmp = $rangeStart; |
|
1543 | $rangeStart = $rangeEnd; |
|
1544 | $rangeEnd = $tmp; |
|
1545 | } |
|
1546 | ||
1547 | // Loop through cells and apply styles |
|
1548 | for ($col = $rangeStart[0]; $col <= $rangeEnd[0]; ++$col) { |