@@ 3516-3520 (lines=5) @@ | ||
3513 | $oRow[] = $oCR[1]; |
|
3514 | } |
|
3515 | $cellRef = Cell::stringFromColumnIndex(min($oCol)) . min($oRow) . ':' . Cell::stringFromColumnIndex(max($oCol)) . max($oRow); |
|
3516 | if ($pCellParent !== null) { |
|
3517 | $cellValue = $this->extractCellRange($cellRef, $this->spreadsheet->getSheetByName($sheet1), false); |
|
3518 | } else { |
|
3519 | return $this->raiseFormulaError('Unable to access Cell Reference'); |
|
3520 | } |
|
3521 | $stack->push('Cell Reference', $cellValue, $cellRef); |
|
3522 | } else { |
|
3523 | $stack->push('Error', Calculation\Functions::REF(), null); |
|
@@ 3630-3634 (lines=5) @@ | ||
3627 | } |
|
3628 | $matches[2] = trim($matches[2], "\"'"); |
|
3629 | $this->_debugLog->writeDebugLog('Evaluating Cell Range ', $cellRef, ' in worksheet ', $matches[2]); |
|
3630 | if ($pCellParent !== null) { |
|
3631 | $cellValue = $this->extractCellRange($cellRef, $this->spreadsheet->getSheetByName($matches[2]), false); |
|
3632 | } else { |
|
3633 | return $this->raiseFormulaError('Unable to access Cell Reference'); |
|
3634 | } |
|
3635 | $this->_debugLog->writeDebugLog('Evaluation Result for cells ', $cellRef, ' in worksheet ', $matches[2], ' is ', $this->showTypeDetails($cellValue)); |
|
3636 | } else { |
|
3637 | $this->_debugLog->writeDebugLog('Evaluating Cell Range ', $cellRef, ' in current worksheet'); |