Bugfix: Work item 18844 - cache_in_memory_gzip "eats" last worksheet line, cache_in_memory doesn't
This commit is contained in:
parent
d2a6b4bc85
commit
1f601e0ecf
|
@ -2385,7 +2385,6 @@ class PHPExcel_Worksheet implements PHPExcel_IComparable
|
||||||
public function rangeToArray($pRange = 'A1', $nullValue = null, $calculateFormulas = true, $formatData = true, $returnCellRef = false) {
|
public function rangeToArray($pRange = 'A1', $nullValue = null, $calculateFormulas = true, $formatData = true, $returnCellRef = false) {
|
||||||
// Returnvalue
|
// Returnvalue
|
||||||
$returnValue = array();
|
$returnValue = array();
|
||||||
|
|
||||||
// Identify the range that we need to extract from the worksheet
|
// Identify the range that we need to extract from the worksheet
|
||||||
list($rangeStart, $rangeEnd) = PHPExcel_Cell::rangeBoundaries($pRange);
|
list($rangeStart, $rangeEnd) = PHPExcel_Cell::rangeBoundaries($pRange);
|
||||||
$minCol = PHPExcel_Cell::stringFromColumnIndex($rangeStart[0] -1);
|
$minCol = PHPExcel_Cell::stringFromColumnIndex($rangeStart[0] -1);
|
||||||
|
@ -2394,7 +2393,6 @@ class PHPExcel_Worksheet implements PHPExcel_IComparable
|
||||||
$maxRow = $rangeEnd[1];
|
$maxRow = $rangeEnd[1];
|
||||||
|
|
||||||
$maxCol++;
|
$maxCol++;
|
||||||
|
|
||||||
// Loop through rows
|
// Loop through rows
|
||||||
$r = -1;
|
$r = -1;
|
||||||
for ($row = $minRow; $row <= $maxRow; ++$row) {
|
for ($row = $minRow; $row <= $maxRow; ++$row) {
|
||||||
|
@ -2503,6 +2501,8 @@ class PHPExcel_Worksheet implements PHPExcel_IComparable
|
||||||
* @return PHPExcel_Worksheet
|
* @return PHPExcel_Worksheet
|
||||||
*/
|
*/
|
||||||
public function garbageCollect() {
|
public function garbageCollect() {
|
||||||
|
// Flush cache
|
||||||
|
$this->_cellCollection->getCacheData('A1');
|
||||||
// Build a reference table from images
|
// Build a reference table from images
|
||||||
// $imageCoordinates = array();
|
// $imageCoordinates = array();
|
||||||
// $iterator = $this->getDrawingCollection()->getIterator();
|
// $iterator = $this->getDrawingCollection()->getIterator();
|
||||||
|
|
|
@ -31,6 +31,7 @@ Fixed in develop branch:
|
||||||
- General: (kea) Work item GH-69 - Improved AdvancedValueBinder for currency
|
- General: (kea) Work item GH-69 - Improved AdvancedValueBinder for currency
|
||||||
- Bugfix: (techhead) Work item GH-70 - Fixed formula/formatting bug when removing rows
|
- Bugfix: (techhead) Work item GH-70 - Fixed formula/formatting bug when removing rows
|
||||||
- Bugfix: (alexgann) Work item GH-63 - Fix to cellExists for non-existent namedRanges
|
- Bugfix: (alexgann) Work item GH-63 - Fix to cellExists for non-existent namedRanges
|
||||||
|
- Bugfix: (MBaker) Work item 18844 - cache_in_memory_gzip "eats" last worksheet line, cache_in_memory doesn't
|
||||||
|
|
||||||
|
|
||||||
--------------------------------------------------------------------------------
|
--------------------------------------------------------------------------------
|
||||||
|
|
Loading…
Reference in New Issue