ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Static Public Member Functions | |
static | convertToA1 (string $address, int $currentRowNumber=1, int $currentColumnNumber=1) |
Converts an R1C1 format cell address to an A1 format cell address. More... | |
static | convertFormulaToA1 (string $formula, int $currentRowNumber=1, int $currentColumnNumber=1) |
Converts a formula that uses R1C1/SpreadsheetXML format cell address to an A1 format cell address. More... | |
static | convertToR1C1 (string $address, ?int $currentRowNumber=null, ?int $currentColumnNumber=null) |
Converts an A1 format cell address to an R1C1 format cell address. More... | |
Data Fields | |
const | R1C1_COORDINATE_REGEX = '/(R((?:\[-?\d*\])|(?:\d*))?)(C((?:\[-?\d*\])|(?:\d*))?)/i' |
Static Protected Member Functions | |
static | convertSpreadsheetMLFormula (string $formula) |
Definition at line 7 of file AddressHelper.php.
|
static |
Converts a formula that uses R1C1/SpreadsheetXML format cell address to an A1 format cell address.
Definition at line 71 of file AddressHelper.php.
|
staticprotected |
Definition at line 52 of file AddressHelper.php.
References $key.
|
static |
Converts an R1C1 format cell address to an A1 format cell address.
Definition at line 14 of file AddressHelper.php.
Referenced by PhpOffice\PhpSpreadsheet\Calculation\LookupRef\Helpers\convertR1C1().
|
static |
Converts an A1 format cell address to an R1C1 format cell address.
If $currentRowNumber or $currentColumnNumber are provided, then the R1C1 address will be formatted as a relative address.
Definition at line 110 of file AddressHelper.php.
const PhpOffice\PhpSpreadsheet\Cell\AddressHelper::R1C1_COORDINATE_REGEX = '/(R((?:\[-?\d*\])|(?:\d*))?)(C((?:\[-?\d*\])|(?:\d*))?)/i' |
Definition at line 9 of file AddressHelper.php.