|
ILIAS
Release_4_0_x_branch Revision 61816
|
Collaboration diagram for PHPExcel_ReferenceHelper:Public Member Functions | |
| insertNewBefore ($pBefore= 'A1', $pNumCols=0, $pNumRows=0, PHPExcel_Worksheet $pSheet=null) | |
| Insert a new column, updating all possible related data. | |
| updateFormulaReferences ($pFormula= '', $pBefore= 'A1', $pNumCols=0, $pNumRows=0) | |
| Update references within formulas. | |
| updateCellReference ($pCellRange= 'A1', $pBefore= 'A1', $pNumCols=0, $pNumRows=0) | |
| Update cell reference. | |
| updateNamedFormulas (PHPExcel $pPhpExcel, $oldName= '', $newName= '') | |
| Update named formulas (i.e. | |
| __clone () | |
| __clone implementation. | |
Static Public Member Functions | |
| static | getInstance () |
| Get an instance of this class. | |
Protected Member Functions | |
| __construct () | |
| Create a new PHPExcel_Calculation. | |
Private Member Functions | |
| _updateCellRange ($pCellRange= 'A1:A1', $pBefore= 'A1', $pNumCols=0, $pNumRows=0) | |
| Update cell range. | |
| _updateSingleCellReference ($pCellReference= 'A1', $pBefore= 'A1', $pNumCols=0, $pNumRows=0) | |
| Update single cell reference. | |
Static Private Attributes | |
| static | $_instance |
Definition at line 66 of file ReferenceHelper.php.
|
protected |
|
final |
__clone implementation.
Cloning should not be allowed in a Singleton!
| Exception |
Definition at line 543 of file ReferenceHelper.php.
|
private |
Update cell range.
| string | $pCellRange | Cell range |
| int | $pBefore | Insert before this one |
| int | $pNumCols | Number of columns to increment |
| int | $pNumRows | Number of rows to increment |
| Exception |
Definition at line 467 of file ReferenceHelper.php.
References _updateSingleCellReference(), PHPExcel_Cell\buildRange(), and PHPExcel_Cell\splitRange().
Referenced by updateCellReference().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Update single cell reference.
| string | $pCellReference | Single cell reference |
| int | $pBefore | Insert before this one |
| int | $pNumCols | Number of columns to increment |
| int | $pNumRows | Number of rows to increment |
| Exception |
Definition at line 494 of file ReferenceHelper.php.
References PHPExcel_Cell\columnIndexFromString(), PHPExcel_Cell\coordinateFromString(), and PHPExcel_Cell\stringFromColumnIndex().
Referenced by _updateCellRange(), and updateCellReference().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Get an instance of this class.
Definition at line 80 of file ReferenceHelper.php.
References $_instance.
Referenced by PHPExcel_Reader_Excel2007\_castToFormula(), PHPExcel_Worksheet\insertNewColumnBefore(), PHPExcel_Worksheet\insertNewRowBefore(), PHPExcel_Worksheet\removeColumn(), PHPExcel_Worksheet\removeRow(), PHPExcel_NamedRange\setName(), PHPExcel_Worksheet\setTitle(), and updateFormulaReferences().
Here is the caller graph for this function:| PHPExcel_ReferenceHelper::insertNewBefore | ( | $pBefore = 'A1', |
|
$pNumCols = 0, |
|||
$pNumRows = 0, |
|||
| PHPExcel_Worksheet | $pSheet = null |
||
| ) |
Insert a new column, updating all possible related data.
| int | $pBefore | Insert before this one |
| int | $pNumCols | Number of columns to insert |
| int | $pNumRows | Number of rows to insert |
| Exception |
Definition at line 102 of file ReferenceHelper.php.
References $key, PHPExcel_Worksheet\BREAK_NONE, PHPExcel_Cell\columnIndexFromString(), PHPExcel_Cell\coordinateFromString(), PHPExcel_Cell\stringFromColumnIndex(), PHPExcel_Cell_DataType\TYPE_FORMULA, PHPExcel_Cell_DataType\TYPE_NULL, updateCellReference(), and updateFormulaReferences().
Here is the call graph for this function:| PHPExcel_ReferenceHelper::updateCellReference | ( | $pCellRange = 'A1', |
|
$pBefore = 'A1', |
|||
$pNumCols = 0, |
|||
$pNumRows = 0 |
|||
| ) |
Update cell reference.
| string | $pCellRange | Cell range |
| int | $pBefore | Insert before this one |
| int | $pNumCols | Number of columns to increment |
| int | $pNumRows | Number of rows to increment |
| Exception |
Definition at line 418 of file ReferenceHelper.php.
References _updateCellRange(), _updateSingleCellReference(), and elseif().
Referenced by insertNewBefore(), and updateFormulaReferences().
Here is the call graph for this function:
Here is the caller graph for this function:| PHPExcel_ReferenceHelper::updateFormulaReferences | ( | $pFormula = '', |
|
$pBefore = 'A1', |
|||
$pNumCols = 0, |
|||
$pNumRows = 0 |
|||
| ) |
Update references within formulas.
| string | $pFormula | Formula to update |
| int | $pBefore | Insert before this one |
| int | $pNumCols | Number of columns to insert |
| int | $pNumRows | Number of rows to insert |
| Exception |
Definition at line 380 of file ReferenceHelper.php.
References PHPExcel_Calculation\CALCULATION_REGEXP_CELLREF, getInstance(), and updateCellReference().
Referenced by insertNewBefore().
Here is the call graph for this function:
Here is the caller graph for this function:| PHPExcel_ReferenceHelper::updateNamedFormulas | ( | PHPExcel | $pPhpExcel, |
$oldName = '', |
|||
$newName = '' |
|||
| ) |
Update named formulas (i.e.
containing worksheet references / named ranges)
| PHPExcel | $pPhpExcel | Object to update |
| string | $oldName | Old name (name to replace) |
| string | $newName | New name |
Definition at line 442 of file ReferenceHelper.php.
References PHPExcel\getWorksheetIterator(), and PHPExcel_Cell_DataType\TYPE_FORMULA.
Here is the call graph for this function:
|
staticprivate |
Definition at line 73 of file ReferenceHelper.php.
Referenced by getInstance().