Allow to get current iterator position (#980)
This commit is contained in:
parent
ebc0b56959
commit
0947427d9f
@ -170,6 +170,16 @@ class RowCellIterator extends CellIterator
|
|||||||
return $this->currentColumnIndex <= $this->endColumnIndex && $this->currentColumnIndex >= $this->startColumnIndex;
|
return $this->currentColumnIndex <= $this->endColumnIndex && $this->currentColumnIndex >= $this->startColumnIndex;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Return the current iterator position.
|
||||||
|
*
|
||||||
|
* @return int
|
||||||
|
*/
|
||||||
|
public function getCurrentColumnIndex()
|
||||||
|
{
|
||||||
|
return $this->currentColumnIndex;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Validate start/end values for "IterateOnlyExistingCells" mode, and adjust if necessary.
|
* Validate start/end values for "IterateOnlyExistingCells" mode, and adjust if necessary.
|
||||||
*
|
*
|
||||||
|
Loading…
Reference in New Issue
Block a user