Skip to content
This repository has been archived by the owner on Jan 2, 2019. It is now read-only.

Add setters for highest row and column. #844

Open
wants to merge 1 commit into
base: 1.8
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions Classes/PHPExcel/Worksheet.php
Original file line number Diff line number Diff line change
Expand Up @@ -1023,6 +1023,16 @@ public function getHighestColumn($row = null)
return $this->getHighestDataColumn($row);
}

/**
* Set highest worksheet column
*
* @param string $column
*/
public function setHighestColumn($column)
{
$this->cachedHighestColumn = $column;
}

/**
* Get highest worksheet column that contains data
*
Expand Down Expand Up @@ -1050,6 +1060,16 @@ public function getHighestRow($column = null)
return $this->getHighestDataRow($column);
}

/**
* Set highest worksheet row
*
* @param string $row
*/
public function setHighestRow($row)
{
$this->cachedHighestRow = $row;
}

/**
* Get highest worksheet row that contains data
*
Expand Down