|
@@ 3087-3091 (lines=5) @@
|
| 3084 |
|
$oRow[] = $oCR[1]; |
| 3085 |
|
} |
| 3086 |
|
$cellRef = PHPExcel_Cell::stringFromColumnIndex(min($oCol)).min($oRow).':'.PHPExcel_Cell::stringFromColumnIndex(max($oCol)).max($oRow); |
| 3087 |
|
if ($pCellParent !== NULL) { |
| 3088 |
|
$cellValue = $this->extractCellRange($cellRef, $pCellParent->getParent()->getSheetByName($sheet1), false); |
| 3089 |
|
} else { |
| 3090 |
|
return $this->_raiseFormulaError('Unable to access Cell Reference'); |
| 3091 |
|
} |
| 3092 |
|
$stack->push('Cell Reference',$cellValue,$cellRef); |
| 3093 |
|
} else { |
| 3094 |
|
$stack->push('Error',PHPExcel_Calculation_Functions::REF(),null); |
|
@@ 3207-3211 (lines=5) @@
|
| 3204 |
|
$matches[2] = trim($matches[2],"\"'"); |
| 3205 |
|
// echo '$cellRef='.$cellRef.' in worksheet '.$matches[2].'<br />'; |
| 3206 |
|
$this->_writeDebug('Evaluating Cell Range '.$cellRef.' in worksheet '.$matches[2]); |
| 3207 |
|
if ($pCellParent !== NULL) { |
| 3208 |
|
$cellValue = $this->extractCellRange($cellRef, $pCellParent->getParent()->getSheetByName($matches[2]), false); |
| 3209 |
|
} else { |
| 3210 |
|
return $this->_raiseFormulaError('Unable to access Cell Reference'); |
| 3211 |
|
} |
| 3212 |
|
$this->_writeDebug('Evaluation Result for cells '.$cellRef.' in worksheet '.$matches[2].' is '.$this->_showTypeDetails($cellValue)); |
| 3213 |
|
// $cellRef = $matches[2].'!'.$cellRef; |
| 3214 |
|
} else { |