ILIAS
Release_4_0_x_branch Revision 61816
|
Public Member Functions | |
__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. | |
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 caluclated 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. |
Static Public Member Functions | |
static | coordinateFromString ($pCoordinateString= 'A1') |
Coordinate from string. | |
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 | rangeDimension ($pRange= 'A1:A1') |
Calculate range dimension. | |
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 |
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 137 of file Cell.php.
PHPExcel_Cell::__clone | ( | ) |
|
static |
Make string coordinate absolute.
string | $pCoordinateString |
Exception |
Definition at line 521 of file Cell.php.
References $row, and coordinateFromString().
|
static |
Build range from coordinate strings.
array | $pRange | Array containg one or more arrays containing one or two coordinate strings |
Exception |
Definition at line 560 of file Cell.php.
Referenced by PHPExcel_ReferenceHelper\_updateCellRange().
|
static |
Column index from string.
string | $pString |
Exception |
Definition at line 616 of file Cell.php.
References $result, and elseif().
Referenced by PHPExcel_Writer_Excel5_Worksheet\__construct(), PHPExcel_Reader_Excel2007\_castToFormula(), PHPExcel_Writer_HTML\_generateRow(), PHPExcel_Writer_HTML\_generateTableHeader(), PHPExcel_Reader_Excel5\_readBIFF8CellAddressB(), PHPExcel_Writer_Excel5_Worksheet\_storeBreaks(), PHPExcel_Writer_Excel5_Worksheet\_storeMergedCells(), PHPExcel_Writer_Excel5_Workbook\_storeNames(), PHPExcel_Writer_Excel5_Worksheet\_storePanes(), PHPExcel_ReferenceHelper\_updateSingleCellReference(), PHPExcel_Writer_Excel5_Workbook\_writeAllDefinedNamesBiff8(), PHPExcel_Writer_Excel5_Worksheet\_writeBIFF8CellRangeAddressFixed(), PHPExcel_Writer_Excel2007_Worksheet\_writeBreaks(), PHPExcel_Writer_Excel2007_Worksheet\_writeCols(), PHPExcel_Writer_Excel2007_Drawing\_writeDrawing(), 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_Functions\COLUMN(), compareCells(), PHPExcel_Worksheet\duplicateStyle(), extractAllCellReferencesInRange(), PHPExcel_Worksheet\fromArray(), PHPExcel_Writer_HTML\generateSheetData(), PHPExcel_Shared_Excel5\getDistanceX(), PHPExcel_Worksheet\getHighestColumn(), PHPExcel_ReferenceHelper\insertNewBefore(), isInRange(), PHPExcel_Calculation_Functions\OFFSET(), PHPExcel_Shared_Excel5\oneAnchor2twoAnchor(), rangeDimension(), PHPExcel_Worksheet\removeColumn(), PHPExcel_Worksheet\sortCellCollection(), PHPExcel_Worksheet\toArray(), and PHPExcel_Worksheet_CellIterator\valid().
|
static |
Compare 2 cells.
PHPExcel_Cell | $a | Cell a |
PHPExcel_Cell | $a | Cell b |
Definition at line 729 of file Cell.php.
References columnIndexFromString(), and elseif().
|
static |
Coordinate from string.
string | $pCoordinateString |
Exception |
Definition at line 491 of file Cell.php.
References $row.
Referenced by PHPExcel_Reader_Excel2007\_castToFormula(), PHPExcel_Reader_Excel5\_readBIFF8CellAddressB(), PHPExcel_Writer_Excel5_Worksheet\_storeBreaks(), PHPExcel_Writer_Excel5_Worksheet\_storeMergedCells(), PHPExcel_Writer_Excel5_Workbook\_storeNames(), PHPExcel_Writer_Excel5_Worksheet\_storePanes(), PHPExcel_ReferenceHelper\_updateSingleCellReference(), PHPExcel_Writer_Excel5_Workbook\_writeAllDefinedNamesBiff8(), PHPExcel_Writer_Excel5_Worksheet\_writeBIFF8CellRangeAddressFixed(), PHPExcel_Writer_Excel2007_Worksheet\_writeBreaks(), PHPExcel_Writer_Excel2007_Drawing\_writeDrawing(), PHPExcel_Writer_Excel2007_Worksheet\_writeSheetViews(), PHPExcel_Writer_Excel2007_Comments\_writeVMLComment(), absoluteCoordinate(), PHPExcel_Style\applyFromArray(), PHPExcel_Worksheet\cellExists(), PHPExcel_Writer_Excel5_Escher\close(), PHPExcel_Worksheet\duplicateStyle(), extractAllCellReferencesInRange(), PHPExcel_Calculation\extractCellRange(), PHPExcel_Calculation\extractNamedRange(), PHPExcel_Worksheet\fromArray(), PHPExcel_Writer_HTML\generateSheetData(), PHPExcel_Worksheet\getCell(), PHPExcel_ReferenceHelper\insertNewBefore(), isInRange(), PHPExcel_Reader_Excel2007\load(), PHPExcel_Reader_Excel5\load(), PHPExcel_Shared_Excel5\oneAnchor2twoAnchor(), rangeDimension(), and PHPExcel_Worksheet\toArray().
|
static |
Extract all cell references in range.
string | $pRange | Range (e.g. A1 or A1:A10 or A1:A10 A100:A1000) |
Definition at line 655 of file Cell.php.
References $row, columnIndexFromString(), coordinateFromString(), splitRange(), and stringFromColumnIndex().
Referenced by PHPExcel_Reader_Excel5\_readHyperLink(), PHPExcel_Calculation\extractCellRange(), PHPExcel_Calculation\extractNamedRange(), PHPExcel_Reader_Excel2007\load(), and PHPExcel_Style\setConditionalStyles().
PHPExcel_Cell::getCalculatedValue | ( | $resetLog = true | ) |
Get caluclated cell value.
Definition at line 252 of file Cell.php.
References $_calculatedValue, $_value, $result, PHPExcel_Calculation\getInstance(), and PHPExcel_Cell_DataType\TYPE_FORMULA.
PHPExcel_Cell::getColumn | ( | ) |
Get cell coordinate column.
Definition at line 172 of file Cell.php.
Referenced by isInRange().
PHPExcel_Cell::getCoordinate | ( | ) |
Get cell coordinate.
Definition at line 192 of file Cell.php.
References $_row.
Referenced by PHPExcel_Cell_AdvancedValueBinder\bindValue(), getDataValidation(), getHyperlink(), hasDataValidation(), hasHyperlink(), PHPExcel_Shared_Date\isDateTime(), setDataValidation(), and setHyperlink().
PHPExcel_Cell::getDataType | ( | ) |
PHPExcel_Cell::getDataValidation | ( | ) |
Get Data validation.
Definition at line 350 of file Cell.php.
References getCoordinate().
PHPExcel_Cell::getHyperlink | ( | ) |
Get Hyperlink.
Exception |
Definition at line 397 of file Cell.php.
References getCoordinate().
PHPExcel_Cell::getOldCalculatedValue | ( | ) |
Get old calculated value (cached)
Definition at line 304 of file Cell.php.
References $_calculatedValue.
PHPExcel_Cell::getParent | ( | ) |
Get parent.
Definition at line 429 of file Cell.php.
References $_parent.
Referenced by PHPExcel_Cell_AdvancedValueBinder\bindValue(), and PHPExcel_Shared_Date\isDateTime().
PHPExcel_Cell::getRow | ( | ) |
Get cell coordinate row.
Definition at line 182 of file Cell.php.
References $_row.
Referenced by isInRange().
PHPExcel_Cell::getValue | ( | ) |
|
static |
Get value binder to use.
Definition at line 747 of file Cell.php.
References $_valueBinder.
PHPExcel_Cell::getXfIndex | ( | ) |
PHPExcel_Cell::hasDataValidation | ( | ) |
Has Data validation?
Definition at line 336 of file Cell.php.
References getCoordinate().
PHPExcel_Cell::hasHyperlink | ( | ) |
Has Hyperlink.
Definition at line 382 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 450 of file Cell.php.
References columnIndexFromString(), coordinateFromString(), getColumn(), and getRow().
|
static |
Calculate range dimension.
string | $pRange | Cell range (e.g. A1:A1) |
Definition at line 583 of file Cell.php.
References columnIndexFromString(), and coordinateFromString().
Referenced by PHPExcel_Writer_HTML\_generateRow().
PHPExcel_Cell::rebindParent | ( | PHPExcel_Worksheet | $parent | ) |
Re-bind parent.
PHPExcel_Worksheet | $parent |
Definition at line 439 of file Cell.php.
PHPExcel_Cell::setCalculatedValue | ( | $pValue = null | ) |
Set calculated value (used for caching)
mixed | $pValue | Value |
Definition at line 291 of file Cell.php.
PHPExcel_Cell::setDataType | ( | $pDataType = PHPExcel_Cell_DataType::TYPE_STRING | ) |
Set cell data type.
string | $pDataType |
Definition at line 325 of file Cell.php.
PHPExcel_Cell::setDataValidation | ( | PHPExcel_Cell_DataValidation | $pDataValidation = null | ) |
Set Data validation.
PHPExcel_Cell_DataValidation | $pDataValidation |
Exception |
Definition at line 367 of file Cell.php.
References getCoordinate().
PHPExcel_Cell::setHyperlink | ( | PHPExcel_Cell_Hyperlink | $pHyperlink = null | ) |
Set Hyperlink.
PHPExcel_Cell_Hyperlink | $pHyperlink |
Exception |
Definition at line 414 of file Cell.php.
References getCoordinate().
PHPExcel_Cell::setValue | ( | $pValue = null | ) |
Set cell value.
This clears the cell formula.
mixed | $pValue | Value |
Definition at line 215 of file Cell.php.
|
static |
Set value binder to use.
PHPExcel_Cell_IValueBinder | $binder |
Exception |
Definition at line 757 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 |
Definition at line 230 of file Cell.php.
References PHPExcel_Shared_String\Substring(), and PHPExcel_Cell_DataType\TYPE_STRING.
Referenced by PHPExcel_Cell_DefaultValueBinder\bindValue(), PHPExcel_Cell_AdvancedValueBinder\bindValue(), and PHPExcel_RichText\setParent().
PHPExcel_Cell::setXfIndex | ( | $pValue = 0 | ) |
Set index to cellXf.
int | $pValue |
Definition at line 795 of file Cell.php.
|
static |
Split range into coordinate strings.
string | $pRange |
Definition at line 544 of file Cell.php.
Referenced by PHPExcel_Writer_HTML\_generateRow(), PHPExcel_Writer_Excel5_Worksheet\_storeMergedCells(), PHPExcel_Writer_Excel5_Workbook\_storeNames(), PHPExcel_ReferenceHelper\_updateCellRange(), PHPExcel_Writer_Excel5_Workbook\_writeAllDefinedNamesBiff8(), PHPExcel_Writer_Excel2007_Workbook\_writeDefinedNameForNamedRange(), extractAllCellReferencesInRange(), and PHPExcel_Worksheet\setXSelectedCells().
|
static |
String from columnindex.
int | $pColumnIndex | Column index (base 0 !!!) |
Definition at line 640 of file Cell.php.
Referenced by PHPExcel_Writer_HTML\_generateRow(), PHPExcel_Writer_Excel5_Worksheet\_positionImage(), PHPExcel_Reader_Excel5\_readBIFF5CellRangeAddressFixed(), PHPExcel_Reader_Excel5\_readBIFF8CellAddress(), PHPExcel_Reader_Excel5\_readBIFF8CellAddressB(), PHPExcel_Reader_Excel5\_readBIFF8CellRangeAddress(), 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_Style\applyFromArray(), PHPExcel_Calculation_Functions\CELL_ADDRESS(), PHPExcel_Worksheet\cellExistsByColumnAndRow(), PHPExcel_Writer_Excel5_Worksheet\close(), PHPExcel_Worksheet\duplicateStyle(), extractAllCellReferencesInRange(), PHPExcel_Worksheet\freezePaneByColumnAndRow(), PHPExcel_Worksheet\fromArray(), PHPExcel_Worksheet\getCellByColumnAndRow(), PHPExcel_Worksheet\getColumnDimensionByColumn(), PHPExcel_Worksheet\getCommentByColumnAndRow(), PHPExcel_Shared_Excel5\getDistanceX(), PHPExcel_Worksheet\getHighestColumn(), PHPExcel_Worksheet\getStyleByColumnAndRow(), PHPExcel_ReferenceHelper\insertNewBefore(), PHPExcel_Worksheet\insertNewColumnBeforeByIndex(), PHPExcel_Reader_Excel2007\load(), PHPExcel_Reader_CSV\loadIntoExisting(), PHPExcel_Worksheet\mergeCellsByColumnAndRow(), PHPExcel_Calculation_Functions\OFFSET(), PHPExcel_Shared_Excel5\oneAnchor2twoAnchor(), PHPExcel_Worksheet\protectCellsByColumnAndRow(), 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\unmergeCellsByColumnAndRow(), and PHPExcel_Worksheet\unprotectCellsByColumnAndRow().
|
private |
Definition at line 104 of file Cell.php.
Referenced by getCalculatedValue(), and getOldCalculatedValue().
|
private |
Definition at line 111 of file Cell.php.
Referenced by getDataType().
|
private |
Definition at line 118 of file Cell.php.
Referenced by getParent().
|
private |
Definition at line 90 of file Cell.php.
Referenced by getCoordinate(), and getRow().
|
private |
Definition at line 97 of file Cell.php.
Referenced by getCalculatedValue(), and getValue().
|
staticprivate |
Definition at line 76 of file Cell.php.
Referenced by getValueBinder().
|
private |
Definition at line 125 of file Cell.php.
Referenced by getXfIndex().