ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Public Member Functions | |
__construct ($pName=null, PHPExcel_Worksheet $pWorksheet, $pRange='A1', $pLocalOnly=false, $pScope=null) | |
Create a new NamedRange. More... | |
getName () | |
Get name. More... | |
setName ($value=null) | |
Set name. More... | |
getWorksheet () | |
Get worksheet. More... | |
setWorksheet (PHPExcel_Worksheet $value=null) | |
Set worksheet. More... | |
getRange () | |
Get range. More... | |
setRange ($value=null) | |
Set range. More... | |
getLocalOnly () | |
Get localOnly. More... | |
setLocalOnly ($value=false) | |
Set localOnly. More... | |
getScope () | |
Get scope. More... | |
setScope (PHPExcel_Worksheet $value=null) | |
Set scope. More... | |
__clone () | |
Implement PHP __clone to create a deep clone, not just a shallow copy. More... | |
Static Public Member Functions | |
static | resolveRange ($pNamedRange='', PHPExcel_Worksheet $pSheet) |
Resolve a named range to a regular cell range. More... | |
Private Attributes | |
$_name | |
$_worksheet | |
$_range | |
$_localOnly | |
$_scope | |
Definition at line 36 of file NamedRange.php.
PHPExcel_NamedRange::__construct | ( | $pName = null , |
|
PHPExcel_Worksheet | $pWorksheet, | ||
$pRange = 'A1' , |
|||
$pLocalOnly = false , |
|||
$pScope = null |
|||
) |
Create a new NamedRange.
string | $pName | |
PHPExcel_Worksheet | $pWorksheet | |
string | $pRange | |
bool | $pLocalOnly | |
PHPExcel_Worksheet | null | $pScope | Scope. Only applies when $pLocalOnly = true. Null for global scope. |
PHPExcel_Exception |
Definition at line 83 of file NamedRange.php.
PHPExcel_NamedRange::__clone | ( | ) |
Implement PHP __clone to create a deep clone, not just a shallow copy.
Definition at line 236 of file NamedRange.php.
References $key.
PHPExcel_NamedRange::getLocalOnly | ( | ) |
Get localOnly.
Definition at line 185 of file NamedRange.php.
References $_localOnly.
Referenced by PHPExcel_Writer_Excel2007_Workbook\_writeDefinedNameForNamedRange().
PHPExcel_NamedRange::getName | ( | ) |
Get name.
Definition at line 104 of file NamedRange.php.
References $_name.
Referenced by PHPExcel_Writer_Excel2007_Workbook\_writeDefinedNameForNamedRange(), and PHPExcel\addNamedRange().
PHPExcel_NamedRange::getRange | ( | ) |
Get range.
Definition at line 163 of file NamedRange.php.
References $_range.
Referenced by PHPExcel_Writer_Excel2007_Workbook\_writeDefinedNameForNamedRange().
PHPExcel_NamedRange::getScope | ( | ) |
Get scope.
Definition at line 206 of file NamedRange.php.
References $_scope.
Referenced by PHPExcel_Writer_Excel2007_Workbook\_writeDefinedNameForNamedRange(), and PHPExcel\addNamedRange().
PHPExcel_NamedRange::getWorksheet | ( | ) |
Get worksheet.
Definition at line 141 of file NamedRange.php.
References $_worksheet.
Referenced by PHPExcel_Writer_Excel2007_Workbook\_writeDefinedNameForNamedRange().
|
static |
Resolve a named range to a regular cell range.
string | $pNamedRange | Named range |
PHPExcel_Worksheet | null | $pSheet | Scope. Use null for global scope |
Definition at line 229 of file NamedRange.php.
References PHPExcel_Worksheet\getParent().
Referenced by PHPExcel_Worksheet\cellExists(), PHPExcel_Calculation\extractNamedRange(), PHPExcel_Worksheet\getCell(), and PHPExcel_Worksheet\namedRangeToArray().
PHPExcel_NamedRange::setLocalOnly | ( | $value = false | ) |
Set localOnly.
bool | $value |
Definition at line 195 of file NamedRange.php.
PHPExcel_NamedRange::setName | ( | $value = null | ) |
Set name.
string | $value |
Definition at line 114 of file NamedRange.php.
References $_name, and PHPExcel_ReferenceHelper\getInstance().
PHPExcel_NamedRange::setRange | ( | $value = null | ) |
Set range.
string | $value |
Definition at line 173 of file NamedRange.php.
PHPExcel_NamedRange::setScope | ( | PHPExcel_Worksheet | $value = null | ) |
Set scope.
PHPExcel_Worksheet | null | $value |
Definition at line 216 of file NamedRange.php.
PHPExcel_NamedRange::setWorksheet | ( | PHPExcel_Worksheet | $value = null | ) |
Set worksheet.
PHPExcel_Worksheet | $value |
Definition at line 151 of file NamedRange.php.
|
private |
Definition at line 64 of file NamedRange.php.
Referenced by getLocalOnly().
|
private |
Definition at line 43 of file NamedRange.php.
|
private |
Definition at line 57 of file NamedRange.php.
Referenced by getRange().
|
private |
Definition at line 71 of file NamedRange.php.
Referenced by getScope().
|
private |
Definition at line 50 of file NamedRange.php.
Referenced by getWorksheet().