@@ 3482-3490 (lines=9) @@ | ||
3479 | $sheet2 = $sheet1; |
|
3480 | } |
|
3481 | if ($sheet1 == $sheet2) { |
|
3482 | if ($operand1Data['reference'] === null) { |
|
3483 | if ((trim($operand1Data['value']) != '') && (is_numeric($operand1Data['value']))) { |
|
3484 | $operand1Data['reference'] = $pCell->getColumn() . $operand1Data['value']; |
|
3485 | } elseif (trim($operand1Data['reference']) == '') { |
|
3486 | $operand1Data['reference'] = $pCell->getCoordinate(); |
|
3487 | } else { |
|
3488 | $operand1Data['reference'] = $operand1Data['value'] . $pCell->getRow(); |
|
3489 | } |
|
3490 | } |
|
3491 | if ($operand2Data['reference'] === null) { |
|
3492 | if ((trim($operand2Data['value']) != '') && (is_numeric($operand2Data['value']))) { |
|
3493 | $operand2Data['reference'] = $pCell->getColumn() . $operand2Data['value']; |
|
@@ 3491-3499 (lines=9) @@ | ||
3488 | $operand1Data['reference'] = $operand1Data['value'] . $pCell->getRow(); |
|
3489 | } |
|
3490 | } |
|
3491 | if ($operand2Data['reference'] === null) { |
|
3492 | if ((trim($operand2Data['value']) != '') && (is_numeric($operand2Data['value']))) { |
|
3493 | $operand2Data['reference'] = $pCell->getColumn() . $operand2Data['value']; |
|
3494 | } elseif (trim($operand2Data['reference']) == '') { |
|
3495 | $operand2Data['reference'] = $pCell->getCoordinate(); |
|
3496 | } else { |
|
3497 | $operand2Data['reference'] = $operand2Data['value'] . $pCell->getRow(); |
|
3498 | } |
|
3499 | } |
|
3500 | ||
3501 | $oData = array_merge(explode(':', $operand1Data['reference']), explode(':', $operand2Data['reference'])); |
|
3502 | $oCol = $oRow = []; |