22 if ($a1fmt ===
null) {
25 if (is_string($a1fmt)) {
40 if (!is_string($cellAddress) || !$cellAddress) {
69 return $e->getMessage();
95 ->extractCellRange($cellAddress, $pSheet,
false);
An exception for terminatinating execution or to throw for unit testing.
const CALCULATION_REGEXP_CELLREF
static getInstance(?Spreadsheet $spreadsheet=null)
Get an instance of this class.
static flattenSingleValue($value='')
Convert an array to a single scalar value by extracting the first element.
static extractCellAddresses(string $cellAddress, bool $a1, Worksheet $sheet, string $sheetName='')
static extractWorksheet(string $cellAddress, Cell $pCell)
static extractRequiredCells(?Worksheet $pSheet, string $cellAddress)
Extract range values.
static a1Format($a1fmt)
Determine whether cell address is in A1 (true) or R1C1 (false) format.
static validateAddress($cellAddress)
Convert cellAddress to string, verify not null string.
static INDIRECT($cellAddress, $a1fmt, Cell $pCell)
INDIRECT.