ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Public Member Functions | |
insertNewBefore ($pBefore, $pNumCols, $pNumRows, Worksheet $pSheet) | |
Insert a new column or row, updating all possible related data. More... | |
updateFormulaReferences ($pFormula='', $pBefore='A1', $pNumCols=0, $pNumRows=0, $sheetName='') | |
Update references within formulas. More... | |
updateFormulaReferencesAnyWorksheet (string $formula='', int $insertColumns=0, int $insertRows=0) | |
Update all cell references within a formula, irrespective of worksheet. More... | |
updateCellReference ($pCellRange='A1', $pBefore='A1', $pNumCols=0, $pNumRows=0) | |
Update cell reference. More... | |
updateNamedFormulas (Spreadsheet $spreadsheet, $oldName='', $newName='') | |
Update named formulas (i.e. More... | |
__clone () | |
__clone implementation. More... | |
Static Public Member Functions | |
static | getInstance () |
Get an instance of this class. More... | |
static | columnSort ($a, $b) |
Compare two column addresses Intended for use as a Callback function for sorting column addresses by column. More... | |
static | columnReverseSort ($a, $b) |
Compare two column addresses Intended for use as a Callback function for reverse sorting column addresses by column. More... | |
static | cellSort ($a, $b) |
Compare two cell addresses Intended for use as a Callback function for sorting cell addresses by column and row. More... | |
static | cellReverseSort ($a, $b) |
Compare two cell addresses Intended for use as a Callback function for sorting cell addresses by column and row. More... | |
Data Fields | |
const | REFHELPER_REGEXP_CELLREF = '((\w*|\'[^!]*\')!)?(?<![:a-z\$])(\$?[a-z]{1,3}\$?\d+)(?=[^:!\d\'])' |
Constants. More... | |
const | REFHELPER_REGEXP_CELLRANGE = '((\w*|\'[^!]*\')!)?(\$?[a-z]{1,3}\$?\d+):(\$?[a-z]{1,3}\$?\d+)' |
const | REFHELPER_REGEXP_ROWRANGE = '((\w*|\'[^!]*\')!)?(\$?\d+):(\$?\d+)' |
const | REFHELPER_REGEXP_COLRANGE = '((\w*|\'[^!]*\')!)?(\$?[a-z]{1,3}):(\$?[a-z]{1,3})' |
Protected Member Functions | |
__construct () | |
Create a new ReferenceHelper. More... | |
adjustPageBreaks (Worksheet $pSheet, $pBefore, $beforeColumnIndex, $pNumCols, $beforeRow, $pNumRows) | |
Update page breaks when inserting/deleting rows/columns. More... | |
adjustComments ($pSheet, $pBefore, $beforeColumnIndex, $pNumCols, $beforeRow, $pNumRows) | |
Update cell comments when inserting/deleting rows/columns. More... | |
adjustHyperlinks ($pSheet, $pBefore, $beforeColumnIndex, $pNumCols, $beforeRow, $pNumRows) | |
Update hyperlinks when inserting/deleting rows/columns. More... | |
adjustDataValidations ($pSheet, $pBefore, $beforeColumnIndex, $pNumCols, $beforeRow, $pNumRows) | |
Update data validations when inserting/deleting rows/columns. More... | |
adjustMergeCells ($pSheet, $pBefore, $beforeColumnIndex, $pNumCols, $beforeRow, $pNumRows) | |
Update merged cells when inserting/deleting rows/columns. More... | |
adjustProtectedCells ($pSheet, $pBefore, $beforeColumnIndex, $pNumCols, $beforeRow, $pNumRows) | |
Update protected cells when inserting/deleting rows/columns. More... | |
adjustColumnDimensions ($pSheet, $pBefore, $beforeColumnIndex, $pNumCols, $beforeRow, $pNumRows) | |
Update column dimensions when inserting/deleting rows/columns. More... | |
adjustRowDimensions ($pSheet, $pBefore, $beforeColumnIndex, $pNumCols, $beforeRow, $pNumRows) | |
Update row dimensions when inserting/deleting rows/columns. More... | |
Private Member Functions | |
updateCellReferencesAllWorksheets (string $formula, int $insertColumns, int $insertRows) | |
updateColumnRangesAllWorksheets (string $formula, int $insertColumns) | |
updateRowRangesAllWorksheets (string $formula, int $insertRows) | |
updateCellRange ($pCellRange='A1:A1', $pBefore='A1', $pNumCols=0, $pNumRows=0) | |
Update cell range. More... | |
updateSingleCellReference ($pCellReference='A1', $pBefore='A1', $pNumCols=0, $pNumRows=0) | |
Update single cell reference. More... | |
Static Private Member Functions | |
static | cellAddressInDeleteRange ($cellAddress, $beforeRow, $pNumRows, $beforeColumnIndex, $pNumCols) |
Test whether a cell address falls within a defined range of cells. More... | |
Static Private Attributes | |
static | $instance |
Definition at line 10 of file ReferenceHelper.php.
|
protected |
|
final |
__clone implementation.
Cloning should not be allowed in a Singleton!
Definition at line 1033 of file ReferenceHelper.php.
|
protected |
Update column dimensions when inserting/deleting rows/columns.
Worksheet | $pSheet | The worksheet that we're editing |
string | $pBefore | Insert/Delete before this cell address (e.g. 'A1') |
int | $beforeColumnIndex | Index number of the column we're inserting/deleting before |
int | $pNumCols | Number of columns to insert/delete (negative values indicate deletion) |
int | $beforeRow | Number of the row we're inserting/deleting before |
int | $pNumRows | Number of rows to insert/delete (negative values indicate deletion) |
Definition at line 315 of file ReferenceHelper.php.
References PhpOffice\PhpSpreadsheet\Cell\Coordinate\coordinateFromString(), and PhpOffice\PhpSpreadsheet\ReferenceHelper\updateCellReference().
Referenced by PhpOffice\PhpSpreadsheet\ReferenceHelper\insertNewBefore().
|
protected |
Update cell comments when inserting/deleting rows/columns.
Worksheet | $pSheet | The worksheet that we're editing |
string | $pBefore | Insert/Delete before this cell address (e.g. 'A1') |
int | $beforeColumnIndex | Index number of the column we're inserting/deleting before |
int | $pNumCols | Number of columns to insert/delete (negative values indicate deletion) |
int | $beforeRow | Number of the row we're inserting/deleting before |
int | $pNumRows | Number of rows to insert/delete (negative values indicate deletion) |
Definition at line 193 of file ReferenceHelper.php.
References $key, and PhpOffice\PhpSpreadsheet\ReferenceHelper\updateCellReference().
Referenced by PhpOffice\PhpSpreadsheet\ReferenceHelper\insertNewBefore().
|
protected |
Update data validations when inserting/deleting rows/columns.
Worksheet | $pSheet | The worksheet that we're editing |
string | $pBefore | Insert/Delete before this cell address (e.g. 'A1') |
int | $beforeColumnIndex | Index number of the column we're inserting/deleting before |
int | $pNumCols | Number of columns to insert/delete (negative values indicate deletion) |
int | $beforeRow | Number of the row we're inserting/deleting before |
int | $pNumRows | Number of rows to insert/delete (negative values indicate deletion) |
Definition at line 245 of file ReferenceHelper.php.
References $key, and PhpOffice\PhpSpreadsheet\ReferenceHelper\updateCellReference().
Referenced by PhpOffice\PhpSpreadsheet\ReferenceHelper\insertNewBefore().
|
protected |
Update hyperlinks when inserting/deleting rows/columns.
Worksheet | $pSheet | The worksheet that we're editing |
string | $pBefore | Insert/Delete before this cell address (e.g. 'A1') |
int | $beforeColumnIndex | Index number of the column we're inserting/deleting before |
int | $pNumCols | Number of columns to insert/delete (negative values indicate deletion) |
int | $beforeRow | Number of the row we're inserting/deleting before |
int | $pNumRows | Number of rows to insert/delete (negative values indicate deletion) |
Definition at line 220 of file ReferenceHelper.php.
References $key, and PhpOffice\PhpSpreadsheet\ReferenceHelper\updateCellReference().
Referenced by PhpOffice\PhpSpreadsheet\ReferenceHelper\insertNewBefore().
|
protected |
Update merged cells when inserting/deleting rows/columns.
Worksheet | $pSheet | The worksheet that we're editing |
string | $pBefore | Insert/Delete before this cell address (e.g. 'A1') |
int | $beforeColumnIndex | Index number of the column we're inserting/deleting before |
int | $pNumCols | Number of columns to insert/delete (negative values indicate deletion) |
int | $beforeRow | Number of the row we're inserting/deleting before |
int | $pNumRows | Number of rows to insert/delete (negative values indicate deletion) |
Definition at line 270 of file ReferenceHelper.php.
References $key, and PhpOffice\PhpSpreadsheet\ReferenceHelper\updateCellReference().
Referenced by PhpOffice\PhpSpreadsheet\ReferenceHelper\insertNewBefore().
|
protected |
Update page breaks when inserting/deleting rows/columns.
Worksheet | $pSheet | The worksheet that we're editing |
string | $pBefore | Insert/Delete before this cell address (e.g. 'A1') |
int | $beforeColumnIndex | Index number of the column we're inserting/deleting before |
int | $pNumCols | Number of columns to insert/delete (negative values indicate deletion) |
int | $beforeRow | Number of the row we're inserting/deleting before |
int | $pNumRows | Number of rows to insert/delete (negative values indicate deletion) |
Definition at line 160 of file ReferenceHelper.php.
References $key, PhpOffice\PhpSpreadsheet\Worksheet\Worksheet\BREAK_NONE, PhpOffice\PhpSpreadsheet\Worksheet\Worksheet\getBreaks(), PhpOffice\PhpSpreadsheet\Worksheet\Worksheet\setBreak(), and PhpOffice\PhpSpreadsheet\ReferenceHelper\updateCellReference().
Referenced by PhpOffice\PhpSpreadsheet\ReferenceHelper\insertNewBefore().
|
protected |
Update protected cells when inserting/deleting rows/columns.
Worksheet | $pSheet | The worksheet that we're editing |
string | $pBefore | Insert/Delete before this cell address (e.g. 'A1') |
int | $beforeColumnIndex | Index number of the column we're inserting/deleting before |
int | $pNumCols | Number of columns to insert/delete (negative values indicate deletion) |
int | $beforeRow | Number of the row we're inserting/deleting before |
int | $pNumRows | Number of rows to insert/delete (negative values indicate deletion) |
Definition at line 291 of file ReferenceHelper.php.
References $key, and PhpOffice\PhpSpreadsheet\ReferenceHelper\updateCellReference().
Referenced by PhpOffice\PhpSpreadsheet\ReferenceHelper\insertNewBefore().
|
protected |
Update row dimensions when inserting/deleting rows/columns.
Worksheet | $pSheet | The worksheet that we're editing |
string | $pBefore | Insert/Delete before this cell address (e.g. 'A1') |
int | $beforeColumnIndex | Index number of the column we're inserting/deleting before |
int | $pNumCols | Number of columns to insert/delete (negative values indicate deletion) |
int | $beforeRow | Number of the row we're inserting/deleting before |
int | $pNumRows | Number of rows to insert/delete (negative values indicate deletion) |
Definition at line 340 of file ReferenceHelper.php.
References $i, PhpOffice\PhpSpreadsheet\Cell\Coordinate\coordinateFromString(), and PhpOffice\PhpSpreadsheet\ReferenceHelper\updateCellReference().
Referenced by PhpOffice\PhpSpreadsheet\ReferenceHelper\insertNewBefore().
|
staticprivate |
Test whether a cell address falls within a defined range of cells.
string | $cellAddress | Address of the cell we're testing |
int | $beforeRow | Number of the row we're inserting/deleting before |
int | $pNumRows | Number of rows to insert/delete (negative values indicate deletion) |
int | $beforeColumnIndex | Index number of the column we're inserting/deleting before |
int | $pNumCols | Number of columns to insert/delete (negative values indicate deletion) |
Definition at line 128 of file ReferenceHelper.php.
References PhpOffice\PhpSpreadsheet\Cell\Coordinate\columnIndexFromString(), and PhpOffice\PhpSpreadsheet\Cell\Coordinate\coordinateFromString().
|
static |
Compare two cell addresses Intended for use as a Callback function for sorting cell addresses by column and row.
string | $a | First cell to test (e.g. 'AA1') |
string | $b | Second cell to test (e.g. 'Z1') |
Definition at line 105 of file ReferenceHelper.php.
|
static |
Compare two cell addresses Intended for use as a Callback function for sorting cell addresses by column and row.
string | $a | First cell to test (e.g. 'AA1') |
string | $b | Second cell to test (e.g. 'Z1') |
Definition at line 84 of file ReferenceHelper.php.
|
static |
Compare two column addresses Intended for use as a Callback function for reverse sorting column addresses by column.
string | $a | First column to test (e.g. 'AA') |
string | $b | Second column to test (e.g. 'Z') |
Definition at line 70 of file ReferenceHelper.php.
|
static |
Compare two column addresses Intended for use as a Callback function for sorting column addresses by column.
string | $a | First column to test (e.g. 'AA') |
string | $b | Second column to test (e.g. 'Z') |
Definition at line 56 of file ReferenceHelper.php.
|
static |
Get an instance of this class.
Definition at line 31 of file ReferenceHelper.php.
Referenced by PhpOffice\PhpSpreadsheet\Reader\Xlsx\__construct(), PhpOffice\PhpSpreadsheet\Reader\Gnumeric\__construct(), PhpOffice\PhpSpreadsheet\Calculation\Calculation\__construct(), PhpOffice\PhpSpreadsheet\Worksheet\Worksheet\insertNewColumnBefore(), PhpOffice\PhpSpreadsheet\Worksheet\Worksheet\insertNewRowBefore(), PhpOffice\PhpSpreadsheet\Worksheet\Worksheet\removeColumn(), PhpOffice\PhpSpreadsheet\Worksheet\Worksheet\removeRow(), PhpOffice\PhpSpreadsheet\DefinedName\setName(), and PhpOffice\PhpSpreadsheet\Worksheet\Worksheet\setTitle().
PhpOffice\PhpSpreadsheet\ReferenceHelper::insertNewBefore | ( | $pBefore, | |
$pNumCols, | |||
$pNumRows, | |||
Worksheet | $pSheet | ||
) |
Insert a new column or row, updating all possible related data.
string | $pBefore | Insert before this cell address (e.g. 'A1') |
int | $pNumCols | Number of columns to insert/delete (negative values indicate deletion) |
int | $pNumRows | Number of rows to insert/delete (negative values indicate deletion) |
Worksheet | $pSheet | The worksheet that we're editing |
Definition at line 372 of file ReferenceHelper.php.
References $i, $row, PhpOffice\PhpSpreadsheet\ReferenceHelper\adjustColumnDimensions(), PhpOffice\PhpSpreadsheet\ReferenceHelper\adjustComments(), PhpOffice\PhpSpreadsheet\ReferenceHelper\adjustDataValidations(), PhpOffice\PhpSpreadsheet\ReferenceHelper\adjustHyperlinks(), PhpOffice\PhpSpreadsheet\ReferenceHelper\adjustMergeCells(), PhpOffice\PhpSpreadsheet\ReferenceHelper\adjustPageBreaks(), PhpOffice\PhpSpreadsheet\ReferenceHelper\adjustProtectedCells(), PhpOffice\PhpSpreadsheet\ReferenceHelper\adjustRowDimensions(), PhpOffice\PhpSpreadsheet\Cell\Coordinate\columnIndexFromString(), PhpOffice\PhpSpreadsheet\Worksheet\Worksheet\conditionalStylesExists(), PhpOffice\PhpSpreadsheet\Worksheet\Worksheet\freezePane(), PhpOffice\PhpSpreadsheet\Worksheet\Worksheet\garbageCollect(), PhpOffice\PhpSpreadsheet\Worksheet\Worksheet\getAutoFilter(), PhpOffice\PhpSpreadsheet\Worksheet\Worksheet\getCellCollection(), PhpOffice\PhpSpreadsheet\Worksheet\Worksheet\getConditionalStyles(), PhpOffice\PhpSpreadsheet\Worksheet\Worksheet\getCoordinates(), PhpOffice\PhpSpreadsheet\Worksheet\Worksheet\getDrawingCollection(), PhpOffice\PhpSpreadsheet\Worksheet\Worksheet\getFreezePane(), PhpOffice\PhpSpreadsheet\Worksheet\Worksheet\getHashCode(), PhpOffice\PhpSpreadsheet\Worksheet\Worksheet\getHighestColumn(), PhpOffice\PhpSpreadsheet\Worksheet\Worksheet\getHighestRow(), PhpOffice\PhpSpreadsheet\Worksheet\Worksheet\getPageSetup(), PhpOffice\PhpSpreadsheet\Worksheet\Worksheet\getParent(), PhpOffice\PhpSpreadsheet\Worksheet\Worksheet\getTitle(), PhpOffice\PhpSpreadsheet\Worksheet\Worksheet\getTopLeftCell(), PhpOffice\PhpSpreadsheet\Cell\Coordinate\indexesFromString(), PhpOffice\PhpSpreadsheet\Cell\Coordinate\rangeBoundaries(), PhpOffice\PhpSpreadsheet\Worksheet\Worksheet\removeConditionalStyles(), PhpOffice\PhpSpreadsheet\Worksheet\Worksheet\setAutoFilter(), PhpOffice\PhpSpreadsheet\Worksheet\Worksheet\setConditionalStyles(), PhpOffice\PhpSpreadsheet\Cell\Coordinate\stringFromColumnIndex(), PhpOffice\PhpSpreadsheet\Cell\DataType\TYPE_FORMULA, PhpOffice\PhpSpreadsheet\Cell\DataType\TYPE_NULL, PhpOffice\PhpSpreadsheet\ReferenceHelper\updateCellReference(), and PhpOffice\PhpSpreadsheet\ReferenceHelper\updateFormulaReferences().
|
private |
Update cell range.
string | $pCellRange | Cell range (e.g. 'B2:D4', 'B:C' or '2:3') |
string | $pBefore | Insert before this one |
int | $pNumCols | Number of columns to increment |
int | $pNumRows | Number of rows to increment |
Definition at line 962 of file ReferenceHelper.php.
References $i, $r, PhpOffice\PhpSpreadsheet\Cell\Coordinate\buildRange(), PhpOffice\PhpSpreadsheet\Cell\Coordinate\coordinateFromString(), PhpOffice\PhpSpreadsheet\Cell\Coordinate\coordinateIsRange(), PhpOffice\PhpSpreadsheet\Cell\Coordinate\splitRange(), and PhpOffice\PhpSpreadsheet\ReferenceHelper\updateSingleCellReference().
Referenced by PhpOffice\PhpSpreadsheet\ReferenceHelper\updateCellReference().
PhpOffice\PhpSpreadsheet\ReferenceHelper::updateCellReference | ( | $pCellRange = 'A1' , |
|
$pBefore = 'A1' , |
|||
$pNumCols = 0 , |
|||
$pNumRows = 0 |
|||
) |
Update cell reference.
string | $pCellRange | Cell range |
string | $pBefore | Insert before this one |
int | $pNumCols | Number of columns to increment |
int | $pNumRows | Number of rows to increment |
Definition at line 906 of file ReferenceHelper.php.
References PhpOffice\PhpSpreadsheet\Cell\Coordinate\coordinateIsRange(), PhpOffice\PhpSpreadsheet\ReferenceHelper\updateCellRange(), and PhpOffice\PhpSpreadsheet\ReferenceHelper\updateSingleCellReference().
Referenced by PhpOffice\PhpSpreadsheet\ReferenceHelper\adjustColumnDimensions(), PhpOffice\PhpSpreadsheet\ReferenceHelper\adjustComments(), PhpOffice\PhpSpreadsheet\ReferenceHelper\adjustDataValidations(), PhpOffice\PhpSpreadsheet\ReferenceHelper\adjustHyperlinks(), PhpOffice\PhpSpreadsheet\ReferenceHelper\adjustMergeCells(), PhpOffice\PhpSpreadsheet\ReferenceHelper\adjustPageBreaks(), PhpOffice\PhpSpreadsheet\ReferenceHelper\adjustProtectedCells(), PhpOffice\PhpSpreadsheet\ReferenceHelper\adjustRowDimensions(), PhpOffice\PhpSpreadsheet\ReferenceHelper\insertNewBefore(), and PhpOffice\PhpSpreadsheet\ReferenceHelper\updateFormulaReferences().
|
private |
Definition at line 779 of file ReferenceHelper.php.
References $columns, $row, $rows, PhpOffice\PhpSpreadsheet\Calculation\Calculation\CALCULATION_REGEXP_CELLREF_RELATIVE, PhpOffice\PhpSpreadsheet\Cell\Coordinate\columnIndexFromString(), and PhpOffice\PhpSpreadsheet\Cell\Coordinate\stringFromColumnIndex().
Referenced by PhpOffice\PhpSpreadsheet\ReferenceHelper\updateFormulaReferencesAnyWorksheet().
|
private |
Definition at line 818 of file ReferenceHelper.php.
References PhpOffice\PhpSpreadsheet\Calculation\Calculation\CALCULATION_REGEXP_COLUMNRANGE_RELATIVE, PhpOffice\PhpSpreadsheet\Cell\Coordinate\columnIndexFromString(), and PhpOffice\PhpSpreadsheet\Cell\Coordinate\stringFromColumnIndex().
Referenced by PhpOffice\PhpSpreadsheet\ReferenceHelper\updateFormulaReferencesAnyWorksheet().
PhpOffice\PhpSpreadsheet\ReferenceHelper::updateFormulaReferences | ( | $pFormula = '' , |
|
$pBefore = 'A1' , |
|||
$pNumCols = 0 , |
|||
$pNumRows = 0 , |
|||
$sheetName = '' |
|||
) |
Update references within formulas.
string | $pFormula | Formula to update |
string | $pBefore | Insert before this one |
int | $pNumCols | Number of columns to insert |
int | $pNumRows | Number of rows to insert |
string | $sheetName | Worksheet name/title |
Definition at line 631 of file ReferenceHelper.php.
References $i, $row, PhpOffice\PhpSpreadsheet\Cell\Coordinate\columnIndexFromString(), PhpOffice\PhpSpreadsheet\Cell\Coordinate\coordinateFromString(), and PhpOffice\PhpSpreadsheet\ReferenceHelper\updateCellReference().
Referenced by PhpOffice\PhpSpreadsheet\ReferenceHelper\insertNewBefore().
PhpOffice\PhpSpreadsheet\ReferenceHelper::updateFormulaReferencesAnyWorksheet | ( | string | $formula = '' , |
int | $insertColumns = 0 , |
||
int | $insertRows = 0 |
||
) |
Update all cell references within a formula, irrespective of worksheet.
Definition at line 764 of file ReferenceHelper.php.
References PhpOffice\PhpSpreadsheet\ReferenceHelper\updateCellReferencesAllWorksheets(), PhpOffice\PhpSpreadsheet\ReferenceHelper\updateColumnRangesAllWorksheets(), and PhpOffice\PhpSpreadsheet\ReferenceHelper\updateRowRangesAllWorksheets().
PhpOffice\PhpSpreadsheet\ReferenceHelper::updateNamedFormulas | ( | Spreadsheet | $spreadsheet, |
$oldName = '' , |
|||
$newName = '' |
|||
) |
Update named formulas (i.e.
containing worksheet references / named ranges).
Spreadsheet | $spreadsheet | Object to update |
string | $oldName | Old name (name to replace) |
string | $newName | New name |
Definition at line 931 of file ReferenceHelper.php.
References PhpOffice\PhpSpreadsheet\Spreadsheet\getWorksheetIterator(), and PhpOffice\PhpSpreadsheet\Cell\DataType\TYPE_FORMULA.
|
private |
Definition at line 857 of file ReferenceHelper.php.
References PhpOffice\PhpSpreadsheet\Calculation\Calculation\CALCULATION_REGEXP_ROWRANGE_RELATIVE.
Referenced by PhpOffice\PhpSpreadsheet\ReferenceHelper\updateFormulaReferencesAnyWorksheet().
|
private |
Update single cell reference.
string | $pCellReference | Single cell reference |
string | $pBefore | Insert before this one |
int | $pNumCols | Number of columns to increment |
int | $pNumRows | Number of rows to increment |
Definition at line 1000 of file ReferenceHelper.php.
References PhpOffice\PhpSpreadsheet\Cell\Coordinate\columnIndexFromString(), PhpOffice\PhpSpreadsheet\Cell\Coordinate\coordinateFromString(), PhpOffice\PhpSpreadsheet\Cell\Coordinate\coordinateIsRange(), and PhpOffice\PhpSpreadsheet\Cell\Coordinate\stringFromColumnIndex().
Referenced by PhpOffice\PhpSpreadsheet\ReferenceHelper\updateCellRange(), and PhpOffice\PhpSpreadsheet\ReferenceHelper\updateCellReference().
|
staticprivate |
Definition at line 24 of file ReferenceHelper.php.
const PhpOffice\PhpSpreadsheet\ReferenceHelper::REFHELPER_REGEXP_CELLRANGE = '((\w*|\'[^!]*\')!)?(\$?[a-z]{1,3}\$?\d+):(\$?[a-z]{1,3}\$?\d+)' |
Definition at line 15 of file ReferenceHelper.php.
const PhpOffice\PhpSpreadsheet\ReferenceHelper::REFHELPER_REGEXP_CELLREF = '((\w*|\'[^!]*\')!)?(?<![:a-z\$])(\$?[a-z]{1,3}\$?\d+)(?=[^:!\d\'])' |
const PhpOffice\PhpSpreadsheet\ReferenceHelper::REFHELPER_REGEXP_COLRANGE = '((\w*|\'[^!]*\')!)?(\$?[a-z]{1,3}):(\$?[a-z]{1,3})' |
Definition at line 17 of file ReferenceHelper.php.
const PhpOffice\PhpSpreadsheet\ReferenceHelper::REFHELPER_REGEXP_ROWRANGE = '((\w*|\'[^!]*\')!)?(\$?\d+):(\$?\d+)' |
Definition at line 16 of file ReferenceHelper.php.