PHPExcel_ReferenceHelper (Singleton)
category | PHPExcel |
---|---|
package | PHPExcel |
copyright | Copyright (c) 2006 - 2013 PHPExcel (http://www.codeplex.com/PHPExcel) |
__clone()
cellReverseSort(string $a, string $b) : integer
string
First cell to test (e.g. 'AA1')
string
Second cell to test (e.g. 'Z1')
integer
cellSort(string $a, string $b) : integer
string
First cell to test (e.g. 'AA1')
string
Second cell to test (e.g. 'Z1')
integer
columnReverseSort(string $a, string $b) : integer
string
First column to test (e.g. 'AA')
string
Second column to test (e.g. 'Z')
integer
columnSort(string $a, string $b) : integer
string
First column to test (e.g. 'AA')
string
Second column to test (e.g. 'Z')
integer
insertNewBefore(string $pBefore, integer $pNumCols, integer $pNumRows, \PHPExcel_Worksheet $pSheet)
string
Insert before this cell address (e.g. 'A1')
integer
Number of columns to insert/delete (negative values indicate deletion)
integer
Number of rows to insert/delete (negative values indicate deletion)
\PHPExcel_Exception |
---|
updateCellReference(string $pCellRange, int $pBefore, int $pNumCols, int $pNumRows) : string
string
Cell range
int
Insert before this one
int
Number of columns to increment
int
Number of rows to increment
\PHPExcel_Exception |
---|
string
Updated cell rangeupdateFormulaReferences(string $pFormula, int $pBefore, int $pNumCols, int $pNumRows, string $sheetName) : string
string
Formula to update
int
Insert before this one
int
Number of columns to insert
int
Number of rows to insert
string
Worksheet name/title
\PHPExcel_Exception |
---|
string
Updated formulaupdateNamedFormulas(\PHPExcel $pPhpExcel, string $oldName, string $newName)
containing worksheet references / named ranges)
string
Old name (name to replace)
string
New name
__construct()
_adjustColumnDimensions(\PHPExcel_Worksheet $pSheet, string $pBefore, integer $beforeColumnIndex, integer $pNumCols, integer $beforeRow, integer $pNumRows)
string
Insert/Delete before this cell address (e.g. 'A1')
integer
Index number of the column we're inserting/deleting before
integer
Number of columns to insert/delete (negative values indicate deletion)
integer
Number of the row we're inserting/deleting before
integer
Number of rows to insert/delete (negative values indicate deletion)
_adjustComments(\PHPExcel_Worksheet $pSheet, string $pBefore, integer $beforeColumnIndex, integer $pNumCols, integer $beforeRow, integer $pNumRows)
string
Insert/Delete before this cell address (e.g. 'A1')
integer
Index number of the column we're inserting/deleting before
integer
Number of columns to insert/delete (negative values indicate deletion)
integer
Number of the row we're inserting/deleting before
integer
Number of rows to insert/delete (negative values indicate deletion)
_adjustDataValidations(\PHPExcel_Worksheet $pSheet, string $pBefore, integer $beforeColumnIndex, integer $pNumCols, integer $beforeRow, integer $pNumRows)
string
Insert/Delete before this cell address (e.g. 'A1')
integer
Index number of the column we're inserting/deleting before
integer
Number of columns to insert/delete (negative values indicate deletion)
integer
Number of the row we're inserting/deleting before
integer
Number of rows to insert/delete (negative values indicate deletion)
_adjustHyperlinks(\PHPExcel_Worksheet $pSheet, string $pBefore, integer $beforeColumnIndex, integer $pNumCols, integer $beforeRow, integer $pNumRows)
string
Insert/Delete before this cell address (e.g. 'A1')
integer
Index number of the column we're inserting/deleting before
integer
Number of columns to insert/delete (negative values indicate deletion)
integer
Number of the row we're inserting/deleting before
integer
Number of rows to insert/delete (negative values indicate deletion)
_adjustMergeCells(\PHPExcel_Worksheet $pSheet, string $pBefore, integer $beforeColumnIndex, integer $pNumCols, integer $beforeRow, integer $pNumRows)
string
Insert/Delete before this cell address (e.g. 'A1')
integer
Index number of the column we're inserting/deleting before
integer
Number of columns to insert/delete (negative values indicate deletion)
integer
Number of the row we're inserting/deleting before
integer
Number of rows to insert/delete (negative values indicate deletion)
_adjustPageBreaks(\PHPExcel_Worksheet $pSheet, string $pBefore, integer $beforeColumnIndex, integer $pNumCols, integer $beforeRow, integer $pNumRows)
string
Insert/Delete before this cell address (e.g. 'A1')
integer
Index number of the column we're inserting/deleting before
integer
Number of columns to insert/delete (negative values indicate deletion)
integer
Number of the row we're inserting/deleting before
integer
Number of rows to insert/delete (negative values indicate deletion)
_adjustProtectedCells(\PHPExcel_Worksheet $pSheet, string $pBefore, integer $beforeColumnIndex, integer $pNumCols, integer $beforeRow, integer $pNumRows)
string
Insert/Delete before this cell address (e.g. 'A1')
integer
Index number of the column we're inserting/deleting before
integer
Number of columns to insert/delete (negative values indicate deletion)
integer
Number of the row we're inserting/deleting before
integer
Number of rows to insert/delete (negative values indicate deletion)
_adjustRowDimensions(\PHPExcel_Worksheet $pSheet, string $pBefore, integer $beforeColumnIndex, integer $pNumCols, integer $beforeRow, integer $pNumRows)
string
Insert/Delete before this cell address (e.g. 'A1')
integer
Index number of the column we're inserting/deleting before
integer
Number of columns to insert/delete (negative values indicate deletion)
integer
Number of the row we're inserting/deleting before
integer
Number of rows to insert/delete (negative values indicate deletion)
_updateCellRange(string $pCellRange, int $pBefore, int $pNumCols, int $pNumRows) : string
string
Cell range (e.g. 'B2:D4', 'B:C' or '2:3')
int
Insert before this one
int
Number of columns to increment
int
Number of rows to increment
\PHPExcel_Exception |
---|
string
Updated cell range_updateSingleCellReference(string $pCellReference, int $pBefore, int $pNumCols, int $pNumRows) : string
string
Single cell reference
int
Insert before this one
int
Number of columns to increment
int
Number of rows to increment
\PHPExcel_Exception |
---|
string
Updated cell referencecellAddressInDeleteRange(string $cellAddress, integer $beforeRow, integer $pNumRows, integer $beforeColumnIndex, integer $pNumCols) : boolean
string
Address of the cell we're testing
integer
Number of the row we're inserting/deleting before
integer
Number of rows to insert/delete (negative values indicate deletion)
integer
Index number of the column we're inserting/deleting before
integer
Number of columns to insert/delete (negative values indicate deletion)
boolean
$_instance : \PHPExcel_ReferenceHelper
REFHELPER_REGEXP_CELLRANGE
REFHELPER_REGEXP_CELLREF
REFHELPER_REGEXP_COLRANGE
REFHELPER_REGEXP_ROWRANGE