@@ 1093-1096 (lines=4) @@ | ||
1090 | } |
|
1091 | ||
1092 | // Worksheet reference? |
|
1093 | if (strpos($pCoordinate, '!') !== false) { |
|
1094 | $worksheetReference = PHPExcel_Worksheet::extractSheetTitle($pCoordinate, true); |
|
1095 | return $this->getParent()->getSheetByName($worksheetReference[0])->getCell($worksheetReference[1]); |
|
1096 | } |
|
1097 | ||
1098 | // Named range? |
|
1099 | if ((!preg_match('/^'.PHPExcel_Calculation::CALCULATION_REGEXP_CELLREF.'$/i', $pCoordinate, $matches)) && |
|
@@ 1185-1188 (lines=4) @@ | ||
1182 | public function cellExists($pCoordinate = 'A1') |
|
1183 | { |
|
1184 | // Worksheet reference? |
|
1185 | if (strpos($pCoordinate, '!') !== false) { |
|
1186 | $worksheetReference = PHPExcel_Worksheet::extractSheetTitle($pCoordinate, true); |
|
1187 | return $this->getParent()->getSheetByName($worksheetReference[0])->cellExists($worksheetReference[1]); |
|
1188 | } |
|
1189 | ||
1190 | // Named range? |
|
1191 | if ((!preg_match('/^'.PHPExcel_Calculation::CALCULATION_REGEXP_CELLREF.'$/i', $pCoordinate, $matches)) && |