ILIAS
eassessment Revision 61809
|
Public Member Functions | |
notifyCacheController () | |
Send notification to the cache controller. | |
detach () | |
attach ($parent) | |
__construct ($pColumn= 'A', $pRow=1, $pValue=null, $pDataType=null, PHPExcel_Worksheet $pSheet=null) | |
Create a new Cell. | |
getColumn () | |
Get cell coordinate column. | |
getRow () | |
Get cell coordinate row. | |
getCoordinate () | |
Get cell coordinate. | |
getValue () | |
Get cell value. | |
getFormattedValue () | |
Get cell value with formatting. | |
setValue ($pValue=null) | |
Set cell value. | |
setValueExplicit ($pValue=null, $pDataType=PHPExcel_Cell_DataType::TYPE_STRING) | |
Set cell value (with explicit data type given) | |
getCalculatedValue ($resetLog=true) | |
Get calculated cell value. | |
setCalculatedValue ($pValue=null) | |
Set calculated value (used for caching) | |
getOldCalculatedValue () | |
Get old calculated value (cached) | |
getDataType () | |
Get cell data type. | |
setDataType ($pDataType=PHPExcel_Cell_DataType::TYPE_STRING) | |
Set cell data type. | |
hasDataValidation () | |
Has Data validation? | |
getDataValidation () | |
Get Data validation. | |
setDataValidation (PHPExcel_Cell_DataValidation $pDataValidation=null) | |
Set Data validation. | |
hasHyperlink () | |
Has Hyperlink. | |
getHyperlink () | |
Get Hyperlink. | |
setHyperlink (PHPExcel_Cell_Hyperlink $pHyperlink=null) | |
Set Hyperlink. | |
getParent () | |
Get parent. | |
rebindParent (PHPExcel_Worksheet $parent) | |
Re-bind parent. | |
isInRange ($pRange= 'A1:A1') | |
Is cell in a specific range? | |
__clone () | |
Implement PHP __clone to create a deep clone, not just a shallow copy. | |
getXfIndex () | |
Get index to cellXf. | |
setXfIndex ($pValue=0) | |
Set index to cellXf. | |
setFormulaAttributes ($pAttributes) | |
getFormulaAttributes () |
Static Public Member Functions | |
static | coordinateFromString ($pCoordinateString= 'A1') |
Coordinate from string. | |
static | absoluteReference ($pCoordinateString= 'A1') |
Make string row, column or cell coordinate absolute. | |
static | absoluteCoordinate ($pCoordinateString= 'A1') |
Make string coordinate absolute. | |
static | splitRange ($pRange= 'A1:A1') |
Split range into coordinate strings. | |
static | buildRange ($pRange) |
Build range from coordinate strings. | |
static | rangeBoundaries ($pRange= 'A1:A1') |
Calculate range boundaries. | |
static | rangeDimension ($pRange= 'A1:A1') |
Calculate range dimension. | |
static | getRangeBoundaries ($pRange= 'A1:A1') |
Calculate range boundaries. | |
static | columnIndexFromString ($pString= 'A') |
Column index from string. | |
static | stringFromColumnIndex ($pColumnIndex=0) |
String from columnindex. | |
static | extractAllCellReferencesInRange ($pRange= 'A1') |
Extract all cell references in range. | |
static | compareCells (PHPExcel_Cell $a, PHPExcel_Cell $b) |
Compare 2 cells. | |
static | getValueBinder () |
Get value binder to use. | |
static | setValueBinder (PHPExcel_Cell_IValueBinder $binder=null) |
Set value binder to use. |
Private Attributes | |
$_column | |
$_row | |
$_value | |
$_calculatedValue = null | |
$_dataType | |
$_parent | |
$_xfIndex | |
$_formulaAttributes | |
Attributes of the formula. |
Static Private Attributes | |
static | $_valueBinder = null |
PHPExcel_Cell::__construct | ( | $pColumn = 'A' , |
|
$pRow = 1 , |
|||
$pValue = null , |
|||
$pDataType = null , |
|||
PHPExcel_Worksheet | $pSheet = null |
||
) |
Create a new Cell.
string | $pColumn | |
int | $pRow | |
mixed | $pValue | |
string | $pDataType | |
PHPExcel_Worksheet | $pSheet |
Exception |
Definition at line 130 of file Cell.php.
References PHPExcel_Cell_DataType\TYPE_STRING, and PHPExcel_Cell_DataType\TYPE_STRING2.
PHPExcel_Cell::__clone | ( | ) |
|
static |
Make string coordinate absolute.
string | $pCoordinateString | e.g. 'A1' |
Exception |
Definition at line 541 of file Cell.php.
References $row, and coordinateFromString().
Referenced by absoluteReference().
|
static |
Make string row, column or cell coordinate absolute.
string | $pCoordinateString | e.g. 'A' or '1' or 'A1' |
Exception |
Definition at line 519 of file Cell.php.
References absoluteCoordinate().
PHPExcel_Cell::attach | ( | $parent | ) |
|
static |
Build range from coordinate strings.
array | $pRange | Array containg one or more arrays containing one or two coordinate strings |
Exception |
Definition at line 577 of file Cell.php.
Referenced by PHPExcel_ReferenceHelper\_updateCellRange().
|
static |
Column index from string.
string | $pString |
Exception |
Definition at line 666 of file Cell.php.
Referenced by PHPExcel_Writer_Excel5_Worksheet\__construct(), PHPExcel_Writer_HTML\_calculateSpans(), PHPExcel_Reader_Excel2007\_castToFormula(), PHPExcel_Writer_HTML\_generateTableHeader(), PHPExcel_Calculation\_processTokenStack(), PHPExcel_Reader_Excel5\_readBIFF8CellAddressB(), PHPExcel_Reader_Excel5\_readBIFF8CellRangeAddressB(), PHPExcel_ReferenceHelper\_updateSingleCellReference(), PHPExcel_Writer_Excel5_Worksheet\_writeBIFF8CellRangeAddressFixed(), PHPExcel_Writer_Excel2007_Worksheet\_writeBreaks(), PHPExcel_Writer_Excel5_Worksheet\_writeBreaks(), PHPExcel_Writer_Excel2007_Worksheet\_writeCols(), PHPExcel_Writer_Excel2007_Drawing\_writeDrawing(), PHPExcel_Writer_Excel5_Worksheet\_writeMergedCells(), PHPExcel_Writer_Excel5_Workbook\_writeNames(), PHPExcel_Writer_Excel5_Worksheet\_writePanes(), PHPExcel_Writer_Excel5_Worksheet\_writeSelection(), PHPExcel_Writer_Excel2007_Worksheet\_writeSheetData(), PHPExcel_Writer_Excel2007_Worksheet\_writeSheetViews(), PHPExcel_Writer_Excel2007_Comments\_writeVMLComment(), PHPExcel_Style\applyFromArray(), PHPExcel_Writer_HTML\buildCSS(), PHPExcel_Writer_Excel5_Escher\close(), PHPExcel_Writer_Excel5_Worksheet\close(), PHPExcel_Calculation_LookupRef\COLUMN(), compareCells(), PHPExcel_Worksheet\duplicateStyle(), PHPExcel_Worksheet\garbageCollect(), PHPExcel_Writer_HTML\generateSheetData(), PHPExcel_Worksheet\getCell(), PHPExcel_Worksheet\getCellByColumnAndRow(), PHPExcel_Worksheet\getColumnDimension(), PHPExcel_Shared_Excel5\getDistanceX(), PHPExcel_ReferenceHelper\insertNewBefore(), isInRange(), PHPExcel_Reader_OOCalc\loadIntoExisting(), PHPExcel_Reader_Excel2003XML\loadIntoExisting(), PHPExcel_Calculation_LookupRef\OFFSET(), PHPExcel_Shared_Excel5\oneAnchor2twoAnchor(), rangeBoundaries(), PHPExcel_Worksheet\removeColumn(), PHPExcel_Worksheet\shrinkRangeToFit(), PHPExcel_ReferenceHelper\updateFormulaReferences(), and PHPExcel_Worksheet_CellIterator\valid().
|
static |
Compare 2 cells.
PHPExcel_Cell | $a | Cell a |
PHPExcel_Cell | $a | Cell b |
Definition at line 770 of file Cell.php.
References columnIndexFromString().
|
static |
Coordinate from string.
string | $pCoordinateString |
Exception |
Definition at line 499 of file Cell.php.
Referenced by PHPExcel_Writer_HTML\_calculateSpans(), PHPExcel_Reader_Excel2007\_castToFormula(), PHPExcel_Calculation\_processTokenStack(), PHPExcel_Reader_Excel5\_readBIFF8CellAddressB(), PHPExcel_Reader_Excel5\_readBIFF8CellRangeAddressB(), PHPExcel_ReferenceHelper\_updateCellRange(), PHPExcel_ReferenceHelper\_updateSingleCellReference(), PHPExcel_Writer_Excel5_Worksheet\_writeBIFF8CellRangeAddressFixed(), PHPExcel_Writer_Excel2007_Worksheet\_writeBreaks(), PHPExcel_Writer_Excel5_Worksheet\_writeBreaks(), PHPExcel_Writer_Excel2007_Drawing\_writeDrawing(), PHPExcel_Writer_Excel5_Worksheet\_writeMergedCells(), PHPExcel_Writer_Excel5_Workbook\_writeNames(), PHPExcel_Writer_Excel5_Worksheet\_writePanes(), PHPExcel_Writer_Excel5_Worksheet\_writeSelection(), PHPExcel_Writer_Excel2007_Worksheet\_writeSheetData(), PHPExcel_Writer_Excel2007_Worksheet\_writeSheetViews(), PHPExcel_Writer_Excel2007_Comments\_writeVMLComment(), absoluteCoordinate(), PHPExcel_Style\applyFromArray(), PHPExcel_Worksheet\cellExists(), PHPExcel_Writer_Excel5_Escher\close(), PHPExcel_Writer_Excel5_Worksheet\close(), PHPExcel_Worksheet\duplicateStyle(), PHPExcel_Calculation\extractNamedRange(), PHPExcel_Worksheet\fromArray(), PHPExcel_Writer_HTML\generateSheetData(), PHPExcel_Worksheet\getCell(), PHPExcel_ReferenceHelper\insertNewBefore(), PHPExcel_Reader_Excel2007\load(), PHPExcel_Reader_Excel5\load(), PHPExcel_Calculation_LookupRef\OFFSET(), PHPExcel_Shared_Excel5\oneAnchor2twoAnchor(), rangeBoundaries(), and PHPExcel_ReferenceHelper\updateFormulaReferences().
|
static |
Extract all cell references in range.
string | $pRange | Range (e.g. A1 or A1:A10 or A1:A10 A100:A1000) |
Definition at line 715 of file Cell.php.
References splitRange().
Referenced by PHPExcel_Reader_Excel5\_readDataValidation(), PHPExcel_Reader_Excel5\_readHyperLink(), PHPExcel_Worksheet\calculateColumnWidths(), PHPExcel_Calculation\extractCellRange(), PHPExcel_Calculation\extractNamedRange(), PHPExcel_Reader_Excel2007\load(), and PHPExcel_Worksheet\mergeCells().
PHPExcel_Cell::getCalculatedValue | ( | $resetLog = true | ) |
Get calculated cell value.
Definition at line 277 of file Cell.php.
References $_calculatedValue, $_value, getCoordinate(), PHPExcel_Calculation\getInstance(), getParent(), and PHPExcel_Cell_DataType\TYPE_FORMULA.
Referenced by getFormattedValue().
PHPExcel_Cell::getColumn | ( | ) |
Get cell coordinate column.
Definition at line 162 of file Cell.php.
References $_column.
Referenced by isInRange().
PHPExcel_Cell::getCoordinate | ( | ) |
Get cell coordinate.
Definition at line 182 of file Cell.php.
References $_row.
Referenced by PHPExcel_Cell_AdvancedValueBinder\bindValue(), getCalculatedValue(), getDataValidation(), getHyperlink(), hasDataValidation(), hasHyperlink(), PHPExcel_Shared_Date\isDateTime(), setDataValidation(), setHyperlink(), and PHPExcel_CachedObjectStorage_CacheBase\updateCacheData().
PHPExcel_Cell::getDataType | ( | ) |
PHPExcel_Cell::getDataValidation | ( | ) |
Get Data validation.
Definition at line 377 of file Cell.php.
References getCoordinate().
PHPExcel_Cell::getFormattedValue | ( | ) |
Get cell value with formatting.
Definition at line 202 of file Cell.php.
References getCalculatedValue(), getXfIndex(), and PHPExcel_Style_NumberFormat\toFormattedString().
PHPExcel_Cell::getFormulaAttributes | ( | ) |
Definition at line 854 of file Cell.php.
References $_formulaAttributes.
PHPExcel_Cell::getHyperlink | ( | ) |
Get Hyperlink.
Exception |
Definition at line 424 of file Cell.php.
References getCoordinate().
PHPExcel_Cell::getOldCalculatedValue | ( | ) |
Get old calculated value (cached)
Definition at line 327 of file Cell.php.
References $_calculatedValue.
PHPExcel_Cell::getParent | ( | ) |
Get parent.
Definition at line 456 of file Cell.php.
References $_parent.
Referenced by PHPExcel_Cell_AdvancedValueBinder\bindValue(), getCalculatedValue(), and PHPExcel_Shared_Date\isDateTime().
|
static |
Calculate range boundaries.
string | $pRange | Cell range (e.g. A1:A1) |
Definition at line 644 of file Cell.php.
Referenced by PHPExcel_Reader_Excel5\_includeCellRangeFiltered(), and PHPExcel_Worksheet\shrinkRangeToFit().
PHPExcel_Cell::getRow | ( | ) |
Get cell coordinate row.
Definition at line 172 of file Cell.php.
References $_row.
Referenced by isInRange().
PHPExcel_Cell::getValue | ( | ) |
|
static |
Get value binder to use.
Definition at line 788 of file Cell.php.
References $_valueBinder.
PHPExcel_Cell::getXfIndex | ( | ) |
Get index to cellXf.
Definition at line 829 of file Cell.php.
References $_xfIndex.
Referenced by getFormattedValue().
PHPExcel_Cell::hasDataValidation | ( | ) |
Has Data validation?
Definition at line 363 of file Cell.php.
References getCoordinate().
PHPExcel_Cell::hasHyperlink | ( | ) |
Has Hyperlink.
Definition at line 409 of file Cell.php.
References getCoordinate().
PHPExcel_Cell::isInRange | ( | $pRange = 'A1:A1' | ) |
Is cell in a specific range?
string | $pRange | Cell range (e.g. A1:A1) |
Definition at line 478 of file Cell.php.
References columnIndexFromString(), getColumn(), getRow(), and rangeBoundaries().
PHPExcel_Cell::notifyCacheController | ( | ) |
Send notification to the cache controller.
Definition at line 106 of file Cell.php.
Referenced by rebindParent(), setCalculatedValue(), setDataType(), setDataValidation(), setHyperlink(), setValueExplicit(), and setXfIndex().
|
static |
Calculate range boundaries.
string | $pRange | Cell range (e.g. A1:A1) |
Definition at line 601 of file Cell.php.
References columnIndexFromString(), and coordinateFromString().
Referenced by isInRange(), rangeDimension(), and PHPExcel_Worksheet\rangeToArray().
|
static |
Calculate range dimension.
string | $pRange | Cell range (e.g. A1:A1) |
Definition at line 630 of file Cell.php.
References rangeBoundaries().
PHPExcel_Cell::rebindParent | ( | PHPExcel_Worksheet | $parent | ) |
Re-bind parent.
PHPExcel_Worksheet | $parent |
Definition at line 466 of file Cell.php.
References notifyCacheController().
PHPExcel_Cell::setCalculatedValue | ( | $pValue = null | ) |
Set calculated value (used for caching)
mixed | $pValue | Value |
Definition at line 313 of file Cell.php.
References notifyCacheController().
PHPExcel_Cell::setDataType | ( | $pDataType = PHPExcel_Cell_DataType::TYPE_STRING | ) |
Set cell data type.
string | $pDataType |
Definition at line 348 of file Cell.php.
References notifyCacheController(), PHPExcel_Cell_DataType\TYPE_STRING, and PHPExcel_Cell_DataType\TYPE_STRING2.
PHPExcel_Cell::setDataValidation | ( | PHPExcel_Cell_DataValidation | $pDataValidation = null | ) |
Set Data validation.
PHPExcel_Cell_DataValidation | $pDataValidation |
Exception |
Definition at line 393 of file Cell.php.
References getCoordinate(), and notifyCacheController().
PHPExcel_Cell::setFormulaAttributes | ( | $pAttributes | ) |
PHPExcel_Cell::setHyperlink | ( | PHPExcel_Cell_Hyperlink | $pHyperlink = null | ) |
Set Hyperlink.
PHPExcel_Cell_Hyperlink | $pHyperlink |
Exception |
Definition at line 440 of file Cell.php.
References getCoordinate(), and notifyCacheController().
PHPExcel_Cell::setValue | ( | $pValue = null | ) |
Set cell value.
This clears the cell formula.
mixed | $pValue | Value |
Definition at line 217 of file Cell.php.
|
static |
Set value binder to use.
PHPExcel_Cell_IValueBinder | $binder |
Exception |
Definition at line 802 of file Cell.php.
PHPExcel_Cell::setValueExplicit | ( | $pValue = null , |
|
$pDataType = PHPExcel_Cell_DataType::TYPE_STRING |
|||
) |
Set cell value (with explicit data type given)
mixed | $pValue | Value |
string | $pDataType | Explicit data type |
Exception |
Definition at line 233 of file Cell.php.
References PHPExcel_Cell_DataType\checkErrorCode(), PHPExcel_Cell_DataType\checkString(), notifyCacheController(), PHPExcel_Cell_DataType\TYPE_BOOL, PHPExcel_Cell_DataType\TYPE_ERROR, PHPExcel_Cell_DataType\TYPE_FORMULA, PHPExcel_Cell_DataType\TYPE_INLINE, PHPExcel_Cell_DataType\TYPE_NULL, PHPExcel_Cell_DataType\TYPE_NUMERIC, PHPExcel_Cell_DataType\TYPE_STRING, and PHPExcel_Cell_DataType\TYPE_STRING2.
Referenced by PHPExcel_Cell_AdvancedValueBinder\bindValue(), and PHPExcel_Cell_DefaultValueBinder\bindValue().
PHPExcel_Cell::setXfIndex | ( | $pValue = 0 | ) |
Set index to cellXf.
int | $pValue |
Definition at line 840 of file Cell.php.
References notifyCacheController().
|
static |
Split range into coordinate strings.
string | $pRange |
Definition at line 560 of file Cell.php.
Referenced by PHPExcel_Writer_HTML\_calculateSpans(), PHPExcel_ReferenceHelper\_updateCellRange(), PHPExcel_Writer_Excel5_Workbook\_writeAllDefinedNamesBiff8(), PHPExcel_Writer_Excel2007_Workbook\_writeDefinedNameForNamedRange(), PHPExcel_Writer_Excel5_Worksheet\_writeMergedCells(), PHPExcel_Writer_Excel5_Workbook\_writeNames(), PHPExcel_Writer_Excel5_Worksheet\_writeSelection(), extractAllCellReferencesInRange(), PHPExcel_Calculation\extractNamedRange(), and PHPExcel_Worksheet\setSelectedCells().
|
static |
String from columnindex.
int | $pColumnIndex | Column index (base 0 !!!) |
Definition at line 698 of file Cell.php.
Referenced by PHPExcel_Writer_HTML\_generateRow(), PHPExcel_Writer_Excel5_Worksheet\_positionImage(), PHPExcel_Calculation\_processTokenStack(), PHPExcel_Reader_Excel5\_readBIFF5CellRangeAddressFixed(), PHPExcel_Reader_Excel5\_readBIFF8CellAddress(), PHPExcel_Reader_Excel5\_readBIFF8CellAddressB(), PHPExcel_Reader_Excel5\_readBIFF8CellRangeAddress(), PHPExcel_Reader_Excel5\_readBIFF8CellRangeAddressB(), PHPExcel_Reader_Excel5\_readBIFF8CellRangeAddressFixed(), PHPExcel_Reader_Excel5\_readBlank(), PHPExcel_Reader_Excel5\_readBoolErr(), PHPExcel_Reader_Excel5_Escher\_readClientAnchor(), PHPExcel_Reader_Excel5\_readFormula(), PHPExcel_Reader_Excel5\_readLabel(), PHPExcel_Reader_Excel5\_readLabelSst(), PHPExcel_Reader_Excel5\_readMulBlank(), PHPExcel_Reader_Excel5\_readMulRk(), PHPExcel_Reader_Excel5\_readNumber(), PHPExcel_Reader_Excel5\_readPane(), PHPExcel_Reader_Excel5\_readRk(), PHPExcel_ReferenceHelper\_updateSingleCellReference(), PHPExcel_Worksheet_PageSetup\addPrintAreaByColumnAndRow(), PHPExcel_Style\applyFromArray(), PHPExcel_Calculation_LookupRef\CELL_ADDRESS(), PHPExcel_Worksheet\cellExistsByColumnAndRow(), PHPExcel_Writer_Excel5_Worksheet\close(), PHPExcel_Worksheet\duplicateStyle(), PHPExcel_Worksheet\freezePaneByColumnAndRow(), PHPExcel_Worksheet\garbageCollect(), PHPExcel_Worksheet\getCellByColumnAndRow(), PHPExcel_Worksheet\getColumnDimensionByColumn(), PHPExcel_Worksheet\getCommentByColumnAndRow(), PHPExcel_Shared_Excel5\getDistanceX(), PHPExcel_Worksheet\getStyleByColumnAndRow(), PHPExcel_ReferenceHelper\insertNewBefore(), PHPExcel_Worksheet\insertNewColumnBeforeByIndex(), PHPExcel_Reader_Excel2007\load(), PHPExcel_Reader_SYLK\loadIntoExisting(), PHPExcel_Reader_OOCalc\loadIntoExisting(), PHPExcel_Reader_Excel2003XML\loadIntoExisting(), PHPExcel_Worksheet\mergeCellsByColumnAndRow(), PHPExcel_Calculation_LookupRef\OFFSET(), PHPExcel_Shared_Excel5\oneAnchor2twoAnchor(), PHPExcel_Worksheet\protectCellsByColumnAndRow(), PHPExcel_Worksheet\rangeToArray(), PHPExcel_Worksheet\removeColumn(), PHPExcel_Worksheet\removeColumnByIndex(), PHPExcel_Worksheet\setAutoFilterByColumnAndRow(), PHPExcel_Worksheet\setBreakByColumnAndRow(), PHPExcel_Worksheet\setCellValueByColumnAndRow(), PHPExcel_Worksheet\setCellValueExplicitByColumnAndRow(), PHPExcel_Worksheet_PageSetup\setPrintAreaByColumnAndRow(), PHPExcel_Worksheet\setSelectedCellByColumnAndRow(), PHPExcel_Worksheet\shrinkRangeToFit(), PHPExcel_Worksheet\unmergeCellsByColumnAndRow(), and PHPExcel_Worksheet\unprotectCellsByColumnAndRow().
|
private |
Definition at line 71 of file Cell.php.
Referenced by getCalculatedValue(), and getOldCalculatedValue().
|
private |
Definition at line 50 of file Cell.php.
Referenced by getColumn().
|
private |
Definition at line 78 of file Cell.php.
Referenced by getDataType().
|
private |
Attributes of the formula.
Definition at line 99 of file Cell.php.
Referenced by getFormulaAttributes().
|
private |
Definition at line 85 of file Cell.php.
Referenced by getParent().
|
private |
Definition at line 57 of file Cell.php.
Referenced by getCoordinate(), and getRow().
|
private |
Definition at line 64 of file Cell.php.
Referenced by getCalculatedValue(), and getValue().
|
staticprivate |
Definition at line 43 of file Cell.php.
Referenced by getValueBinder().
|
private |
Definition at line 92 of file Cell.php.
Referenced by getXfIndex().