src/PhpSpreadsheet/Worksheet/ColumnIterator.php 1 location
|
@@ 115-121 (lines=7) @@
|
112 |
|
* |
113 |
|
* @return ColumnIterator |
114 |
|
*/ |
115 |
|
public function resetEnd($endColumn = null) |
116 |
|
{ |
117 |
|
$endColumn = ($endColumn) ? $endColumn : $this->subject->getHighestColumn(); |
118 |
|
$this->endColumn = \PhpOffice\PhpSpreadsheet\Cell::columnIndexFromString($endColumn) - 1; |
119 |
|
|
120 |
|
return $this; |
121 |
|
} |
122 |
|
|
123 |
|
/** |
124 |
|
* Set the column pointer to the selected column. |
src/PhpSpreadsheet/Worksheet/RowCellIterator.php 1 location
|
@@ 103-110 (lines=8) @@
|
100 |
|
* |
101 |
|
* @return RowCellIterator |
102 |
|
*/ |
103 |
|
public function resetEnd($endColumn = null) |
104 |
|
{ |
105 |
|
$endColumn = ($endColumn) ? $endColumn : $this->subject->getHighestColumn(); |
106 |
|
$this->endColumn = \PhpOffice\PhpSpreadsheet\Cell::columnIndexFromString($endColumn) - 1; |
107 |
|
$this->adjustForExistingOnlyRange(); |
108 |
|
|
109 |
|
return $this; |
110 |
|
} |
111 |
|
|
112 |
|
/** |
113 |
|
* Set the column pointer to the selected column. |