|
ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Inheritance diagram for PhpOffice\PhpSpreadsheet\DefinedName:
Collaboration diagram for PhpOffice\PhpSpreadsheet\DefinedName:Public Member Functions | |
| __construct (string $name, ?Worksheet $worksheet=null, ?string $value=null, bool $localOnly=false, ?Worksheet $scope=null) | |
| Create a new Defined Name. More... | |
| getName () | |
| Get name. More... | |
| setName (string $name) | |
| Set name. More... | |
| getWorksheet () | |
| Get worksheet. More... | |
| setWorksheet (?Worksheet $value) | |
| Set worksheet. More... | |
| getValue () | |
| Get range or formula value. More... | |
| setValue (string $value) | |
| Set range or formula value. More... | |
| getLocalOnly () | |
| Get localOnly. More... | |
| setLocalOnly (bool $value) | |
| Set localOnly. More... | |
| getScope () | |
| Get scope. More... | |
| setScope (?Worksheet $value) | |
| Set scope. More... | |
| isFormula () | |
| Identify whether this is a named range or a named formula. More... | |
| __clone () | |
| Implement PHP __clone to create a deep clone, not just a shallow copy. More... | |
Static Public Member Functions | |
| static | createInstance (string $name, ?Worksheet $worksheet=null, ?string $value=null, bool $localOnly=false, ?Worksheet $scope=null) |
| Create a new defined name, either a range or a formula. More... | |
| static | testIfFormula (string $value) |
| static | resolveName (string $pDefinedName, Worksheet $pSheet, string $sheetName='') |
| Resolve a named range to a regular cell range or formula. More... | |
Protected Attributes | |
| const | REGEXP_IDENTIFY_FORMULA = '[^_\p{N}\p{L}:, \$\'!]' |
| $name | |
| $worksheet | |
| $value | |
| $localOnly | |
| $scope | |
| $isFormula | |
Definition at line 7 of file DefinedName.php.
| PhpOffice\PhpSpreadsheet\DefinedName::__construct | ( | string | $name, |
| ?Worksheet | $worksheet = null, |
||
| ?string | $value = null, |
||
| bool | $localOnly = false, |
||
| ?Worksheet | $scope = null |
||
| ) |
Create a new Defined Name.
Reimplemented in PhpOffice\PhpSpreadsheet\NamedFormula.
Definition at line 56 of file DefinedName.php.
References PhpOffice\PhpSpreadsheet\DefinedName\$localOnly, PhpOffice\PhpSpreadsheet\DefinedName\$name, PhpOffice\PhpSpreadsheet\DefinedName\$scope, PhpOffice\PhpSpreadsheet\DefinedName\$value, PhpOffice\PhpSpreadsheet\DefinedName\$worksheet, PhpOffice\PhpSpreadsheet\DefinedName\isFormula(), and PhpOffice\PhpSpreadsheet\DefinedName\testIfFormula().
Here is the call graph for this function:| PhpOffice\PhpSpreadsheet\DefinedName::__clone | ( | ) |
Implement PHP __clone to create a deep clone, not just a shallow copy.
Definition at line 261 of file DefinedName.php.
References $key.
|
static |
Create a new defined name, either a range or a formula.
Definition at line 84 of file DefinedName.php.
Referenced by PhpOffice\PhpSpreadsheet\Reader\Ods\DefinedNames\addDefinedName(), and PhpOffice\PhpSpreadsheet\Reader\Gnumeric\processDefinedNames().
Here is the caller graph for this function:| PhpOffice\PhpSpreadsheet\DefinedName::getLocalOnly | ( | ) |
Get localOnly.
Definition at line 198 of file DefinedName.php.
Referenced by PhpOffice\PhpSpreadsheet\Writer\Xlsx\DefinedNames\writeDefinedName().
Here is the caller graph for this function:| PhpOffice\PhpSpreadsheet\DefinedName::getName | ( | ) |
Get name.
Definition at line 127 of file DefinedName.php.
References $name.
Referenced by PhpOffice\PhpSpreadsheet\Spreadsheet\addDefinedName(), PhpOffice\PhpSpreadsheet\Calculation\Calculation\evaluateDefinedName(), PhpOffice\PhpSpreadsheet\Writer\Xlsx\DefinedNames\writeDefinedName(), PhpOffice\PhpSpreadsheet\Writer\Ods\NamedExpressions\writeNamedFormula(), and PhpOffice\PhpSpreadsheet\Writer\Ods\NamedExpressions\writeNamedRange().
Here is the caller graph for this function:| PhpOffice\PhpSpreadsheet\DefinedName::getScope | ( | ) |
Get scope.
Definition at line 217 of file DefinedName.php.
Referenced by PhpOffice\PhpSpreadsheet\Spreadsheet\addDefinedName(), PhpOffice\PhpSpreadsheet\Calculation\Calculation\evaluateDefinedName(), and PhpOffice\PhpSpreadsheet\Writer\Xlsx\DefinedNames\writeDefinedName().
Here is the caller graph for this function:| PhpOffice\PhpSpreadsheet\DefinedName::getValue | ( | ) |
Get range or formula value.
Definition at line 180 of file DefinedName.php.
Referenced by PhpOffice\PhpSpreadsheet\Calculation\Calculation\evaluateDefinedName(), PhpOffice\PhpSpreadsheet\Writer\Xls\Workbook\parseDefinedNameValue(), PhpOffice\PhpSpreadsheet\Writer\Ods\NamedExpressions\writeNamedFormula(), and PhpOffice\PhpSpreadsheet\Writer\Ods\NamedExpressions\writeNamedRange().
Here is the caller graph for this function:| PhpOffice\PhpSpreadsheet\DefinedName::getWorksheet | ( | ) |
Get worksheet.
Definition at line 162 of file DefinedName.php.
Referenced by PhpOffice\PhpSpreadsheet\Writer\Ods\NamedExpressions\convertAddress(), PhpOffice\PhpSpreadsheet\Calculation\Calculation\evaluateDefinedName(), PhpOffice\PhpSpreadsheet\Writer\Xls\Workbook\parseDefinedNameValue(), PhpOffice\PhpSpreadsheet\Writer\Ods\NamedExpressions\writeNamedFormula(), and PhpOffice\PhpSpreadsheet\Writer\Ods\NamedExpressions\writeNamedRange().
Here is the caller graph for this function:| PhpOffice\PhpSpreadsheet\DefinedName::isFormula | ( | ) |
Identify whether this is a named range or a named formula.
Definition at line 236 of file DefinedName.php.
Referenced by PhpOffice\PhpSpreadsheet\DefinedName\__construct(), PhpOffice\PhpSpreadsheet\Calculation\Calculation\evaluateDefinedName(), PhpOffice\PhpSpreadsheet\Spreadsheet\getNamedFormulae(), and PhpOffice\PhpSpreadsheet\Spreadsheet\getNamedRanges().
Here is the caller graph for this function:
|
static |
Resolve a named range to a regular cell range or formula.
Definition at line 244 of file DefinedName.php.
Referenced by PhpOffice\PhpSpreadsheet\Calculation\LookupRef\Helpers\extractCellAddresses(), PhpOffice\PhpSpreadsheet\Calculation\Calculation\extractNamedRange(), and PhpOffice\PhpSpreadsheet\Calculation\Calculation\processTokenStack().
Here is the caller graph for this function:| PhpOffice\PhpSpreadsheet\DefinedName::setLocalOnly | ( | bool | $value | ) |
Set localOnly.
Definition at line 206 of file DefinedName.php.
| PhpOffice\PhpSpreadsheet\DefinedName::setName | ( | string | $name | ) |
Set name.
Definition at line 135 of file DefinedName.php.
References $name, and PhpOffice\PhpSpreadsheet\ReferenceHelper\getInstance().
Here is the call graph for this function:| PhpOffice\PhpSpreadsheet\DefinedName::setScope | ( | ?Worksheet | $value | ) |
Set scope.
Definition at line 225 of file DefinedName.php.
| PhpOffice\PhpSpreadsheet\DefinedName::setValue | ( | string | $value | ) |
Set range or formula value.
Definition at line 188 of file DefinedName.php.
| PhpOffice\PhpSpreadsheet\DefinedName::setWorksheet | ( | ?Worksheet | $value | ) |
Set worksheet.
Definition at line 170 of file DefinedName.php.
|
static |
Definition at line 100 of file DefinedName.php.
Referenced by PhpOffice\PhpSpreadsheet\DefinedName\__construct().
Here is the caller graph for this function:
|
protected |
Definition at line 51 of file DefinedName.php.
|
protected |
Definition at line 37 of file DefinedName.php.
Referenced by PhpOffice\PhpSpreadsheet\NamedFormula\__construct(), PhpOffice\PhpSpreadsheet\DefinedName\__construct(), and PhpOffice\PhpSpreadsheet\NamedRange\__construct().
|
protected |
Definition at line 16 of file DefinedName.php.
Referenced by PhpOffice\PhpSpreadsheet\NamedFormula\__construct(), PhpOffice\PhpSpreadsheet\DefinedName\__construct(), and PhpOffice\PhpSpreadsheet\NamedRange\__construct().
|
protected |
Definition at line 44 of file DefinedName.php.
Referenced by PhpOffice\PhpSpreadsheet\NamedFormula\__construct(), PhpOffice\PhpSpreadsheet\DefinedName\__construct(), and PhpOffice\PhpSpreadsheet\NamedRange\__construct().
|
protected |
Definition at line 30 of file DefinedName.php.
Referenced by PhpOffice\PhpSpreadsheet\DefinedName\__construct(), PhpOffice\PhpSpreadsheet\NamedRange\getCellsInRange(), PhpOffice\PhpSpreadsheet\NamedFormula\getFormula(), and PhpOffice\PhpSpreadsheet\NamedRange\getRange().
|
protected |
Definition at line 23 of file DefinedName.php.
Referenced by PhpOffice\PhpSpreadsheet\NamedFormula\__construct(), PhpOffice\PhpSpreadsheet\DefinedName\__construct(), and PhpOffice\PhpSpreadsheet\NamedRange\__construct().
|
protected |
Definition at line 9 of file DefinedName.php.