|
ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Collaboration diagram for PHPExcel:Public Member Functions | |
| hasMacros () | |
| The workbook has macros ? More... | |
| setHasMacros ($hasMacros=false) | |
| Define if a workbook has macros. More... | |
| setMacrosCode ($MacrosCode) | |
| Set the macros code. More... | |
| getMacrosCode () | |
| Return the macros code. More... | |
| setMacrosCertificate ($Certificate=NULL) | |
| Set the macros certificate. More... | |
| hasMacrosCertificate () | |
| Is the project signed ? More... | |
| getMacrosCertificate () | |
| Return the macros certificate. More... | |
| discardMacros () | |
| Remove all macros, certificate from spreadsheet. More... | |
| setRibbonXMLData ($Target=NULL, $XMLData=NULL) | |
| set ribbon XML data More... | |
| getRibbonXMLData ($What='all') | |
| retrieve ribbon XML Data More... | |
| setRibbonBinObjects ($BinObjectsNames=NULL, $BinObjectsData=NULL) | |
| store binaries ribbon objects (pictures) More... | |
| getRibbonBinObjects ($What='all') | |
| retrieve Binaries Ribbon Objects More... | |
| hasRibbon () | |
| This workbook have a custom UI ? More... | |
| hasRibbonBinObjects () | |
| This workbook have additionnal object for the ribbon ? More... | |
| sheetCodeNameExists ($pSheetCodeName) | |
| Check if a sheet with a specified code name already exists. More... | |
| getSheetByCodeName ($pName='') | |
| Get sheet by code name. More... | |
| __construct () | |
| Create a new PHPExcel with one Worksheet. More... | |
| __destruct () | |
| Code to execute when this worksheet is unset() More... | |
| disconnectWorksheets () | |
| Disconnect all worksheets from this PHPExcel workbook object, typically so that the PHPExcel object can be unset. More... | |
| getCalculationEngine () | |
| Return the calculation engine for this worksheet. More... | |
| getProperties () | |
| Get properties. More... | |
| setProperties (PHPExcel_DocumentProperties $pValue) | |
| Set properties. More... | |
| getSecurity () | |
| Get security. More... | |
| setSecurity (PHPExcel_DocumentSecurity $pValue) | |
| Set security. More... | |
| getActiveSheet () | |
| Get active sheet. More... | |
| createSheet ($iSheetIndex=NULL) | |
| Create sheet and add it to this workbook. More... | |
| sheetNameExists ($pSheetName) | |
| Check if a sheet with a specified name already exists. More... | |
| addSheet (PHPExcel_Worksheet $pSheet, $iSheetIndex=NULL) | |
| Add sheet. More... | |
| removeSheetByIndex ($pIndex=0) | |
| Remove sheet by index. More... | |
| getSheet ($pIndex=0) | |
| Get sheet by index. More... | |
| getAllSheets () | |
| Get all sheets. More... | |
| getSheetByName ($pName='') | |
| Get sheet by name. More... | |
| getIndex (PHPExcel_Worksheet $pSheet) | |
| Get index for sheet. More... | |
| setIndexByName ($sheetName, $newIndex) | |
| Set index for sheet by sheet name. More... | |
| getSheetCount () | |
| Get sheet count. More... | |
| getActiveSheetIndex () | |
| Get active sheet index. More... | |
| setActiveSheetIndex ($pIndex=0) | |
| Set active sheet index. More... | |
| setActiveSheetIndexByName ($pValue='') | |
| Set active sheet index by name. More... | |
| getSheetNames () | |
| Get sheet names. More... | |
| addExternalSheet (PHPExcel_Worksheet $pSheet, $iSheetIndex=null) | |
| Add external sheet. More... | |
| getNamedRanges () | |
| Get named ranges. More... | |
| addNamedRange (PHPExcel_NamedRange $namedRange) | |
| Add named range. More... | |
| getNamedRange ($namedRange, PHPExcel_Worksheet $pSheet=null) | |
| Get named range. More... | |
| removeNamedRange ($namedRange, PHPExcel_Worksheet $pSheet=null) | |
| Remove named range. More... | |
| getWorksheetIterator () | |
| Get worksheet iterator. More... | |
| copy () | |
| Copy workbook (!= clone!) More... | |
| __clone () | |
| Implement PHP __clone to create a deep clone, not just a shallow copy. More... | |
| getCellXfCollection () | |
| Get the workbook collection of cellXfs. More... | |
| getCellXfByIndex ($pIndex=0) | |
| Get cellXf by index. More... | |
| getCellXfByHashCode ($pValue='') | |
| Get cellXf by hash code. More... | |
| cellXfExists ($pCellStyle=null) | |
| Check if style exists in style collection. More... | |
| getDefaultStyle () | |
| Get default style. More... | |
| addCellXf (PHPExcel_Style $style) | |
| Add a cellXf to the workbook. More... | |
| removeCellXfByIndex ($pIndex=0) | |
| Remove cellXf by index. More... | |
| getCellXfSupervisor () | |
| Get the cellXf supervisor. More... | |
| getCellStyleXfCollection () | |
| Get the workbook collection of cellStyleXfs. More... | |
| getCellStyleXfByIndex ($pIndex=0) | |
| Get cellStyleXf by index. More... | |
| getCellStyleXfByHashCode ($pValue='') | |
| Get cellStyleXf by hash code. More... | |
| addCellStyleXf (PHPExcel_Style $pStyle) | |
| Add a cellStyleXf to the workbook. More... | |
| removeCellStyleXfByIndex ($pIndex=0) | |
| Remove cellStyleXf by index. More... | |
| garbageCollect () | |
| Eliminate all unneeded cellXf and afterwards update the xfIndex for all cells and columns in the workbook. More... | |
| getID () | |
| Return the unique ID value assigned to this spreadsheet workbook. More... | |
Private Member Functions | |
| _getExtensionOnly ($ThePath) | |
| return the extension of a filename. More... | |
Private Attributes | |
| $_uniqueID | |
| $_properties | |
| $_security | |
| $_workSheetCollection = array() | |
| $_calculationEngine = NULL | |
| $_activeSheetIndex = 0 | |
| $_namedRanges = array() | |
| $_cellXfSupervisor | |
| $_cellXfCollection = array() | |
| $_cellStyleXfCollection = array() | |
| $_hasMacros = FALSE | |
| $_macrosCode =NULL | |
| $_macrosCertificate =NULL | |
| $_ribbonXMLData =NULL | |
| $_ribbonBinObjects =NULL | |
Definition at line 43 of file PHPExcel.php.
| PHPExcel::__construct | ( | ) |
Create a new PHPExcel with one Worksheet.
Definition at line 357 of file PHPExcel.php.
References addCellStyleXf(), addCellXf(), and PHPExcel_Calculation\getInstance().
Here is the call graph for this function:| PHPExcel::__destruct | ( | ) |
Code to execute when this worksheet is unset()
Definition at line 389 of file PHPExcel.php.
References disconnectWorksheets(), and PHPExcel_Calculation\unsetInstance().
Here is the call graph for this function:| PHPExcel::__clone | ( | ) |
Implement PHP __clone to create a deep clone, not just a shallow copy.
Definition at line 863 of file PHPExcel.php.
References $key.
|
private |
return the extension of a filename.
Internal use for a array_map callback (php<5.3 don't like lambda function)
Definition at line 275 of file PHPExcel.php.
| PHPExcel::addCellStyleXf | ( | PHPExcel_Style | $pStyle | ) |
Add a cellStyleXf to the workbook.
| PHPExcel_Style | $pStyle |
Definition at line 1027 of file PHPExcel.php.
References PHPExcel_Style\setIndex().
Referenced by __construct().
Here is the call graph for this function:
Here is the caller graph for this function:| PHPExcel::addCellXf | ( | PHPExcel_Style | $style | ) |
Add a cellXf to the workbook.
| PHPExcel_Style | $style |
Definition at line 938 of file PHPExcel.php.
References $style.
Referenced by __construct(), and addExternalSheet().
Here is the caller graph for this function:| PHPExcel::addExternalSheet | ( | PHPExcel_Worksheet | $pSheet, |
$iSheetIndex = null |
|||
| ) |
Add external sheet.
| PHPExcel_Worksheet | $pSheet | External sheet to add |
| int | null | $iSheetIndex | Index where sheet should go (0,1,..., or null for last) |
| PHPExcel_Exception |
Definition at line 738 of file PHPExcel.php.
References addCellXf(), addSheet(), PHPExcel_Worksheet\getCell(), PHPExcel_Worksheet\getCellCollection(), PHPExcel_Worksheet\getParent(), PHPExcel_Worksheet\getTitle(), PHPExcel_Worksheet\rebindParent(), and sheetNameExists().
Here is the call graph for this function:| PHPExcel::addNamedRange | ( | PHPExcel_NamedRange | $namedRange | ) |
Add named range.
| PHPExcel_NamedRange | $namedRange |
Definition at line 778 of file PHPExcel.php.
References PHPExcel_NamedRange\getName(), and PHPExcel_NamedRange\getScope().
Referenced by PHPExcel_Worksheet\rebindParent().
Here is the call graph for this function:
Here is the caller graph for this function:| PHPExcel::addSheet | ( | PHPExcel_Worksheet | $pSheet, |
$iSheetIndex = NULL |
|||
| ) |
Add sheet.
| PHPExcel_Worksheet | $pSheet | |
| int | null | $iSheetIndex | Index where sheet should go (0,1,..., or null for last) |
| PHPExcel_Exception |
Definition at line 505 of file PHPExcel.php.
References $_activeSheetIndex, PHPExcel_Worksheet\getParent(), PHPExcel_Worksheet\getTitle(), PHPExcel_Worksheet\rebindParent(), and sheetNameExists().
Referenced by addExternalSheet(), and createSheet().
Here is the call graph for this function:
Here is the caller graph for this function:| PHPExcel::cellXfExists | ( | $pCellStyle = null | ) |
Check if style exists in style collection.
| PHPExcel_Style | $pCellStyle |
Definition at line 914 of file PHPExcel.php.
| PHPExcel::copy | ( | ) |
Copy workbook (!= clone!)
Definition at line 848 of file PHPExcel.php.
References $i.
| PHPExcel::createSheet | ( | $iSheetIndex = NULL | ) |
Create sheet and add it to this workbook.
| int | null | $iSheetIndex | Index where sheet should go (0,1,..., or null for last) |
| PHPExcel_Exception |
Definition at line 479 of file PHPExcel.php.
References addSheet().
Here is the call graph for this function:| PHPExcel::discardMacros | ( | ) |
Remove all macros, certificate from spreadsheet.
| none |
Definition at line 220 of file PHPExcel.php.
| PHPExcel::disconnectWorksheets | ( | ) |
Disconnect all worksheets from this PHPExcel workbook object, typically so that the PHPExcel object can be unset.
Definition at line 399 of file PHPExcel.php.
References $worksheet.
Referenced by __destruct().
Here is the caller graph for this function:| PHPExcel::garbageCollect | ( | ) |
Eliminate all unneeded cellXf and afterwards update the xfIndex for all cells and columns in the workbook.
Definition at line 1052 of file PHPExcel.php.
References $i, $index, and getWorksheetIterator().
Here is the call graph for this function:| PHPExcel::getActiveSheet | ( | ) |
Get active sheet.
| PHPExcel_Exception |
Definition at line 467 of file PHPExcel.php.
References getSheet().
Referenced by setActiveSheetIndex().
Here is the call graph for this function:
Here is the caller graph for this function:| PHPExcel::getActiveSheetIndex | ( | ) |
Get active sheet index.
Definition at line 671 of file PHPExcel.php.
References $_activeSheetIndex.
| PHPExcel::getAllSheets | ( | ) |
Get all sheets.
Definition at line 590 of file PHPExcel.php.
References $_workSheetCollection.
| PHPExcel::getCalculationEngine | ( | ) |
Return the calculation engine for this worksheet.
Definition at line 415 of file PHPExcel.php.
References $_calculationEngine.
| PHPExcel::getCellStyleXfByHashCode | ( | $pValue = '' | ) |
Get cellStyleXf by hash code.
| string | $pValue |
Definition at line 1012 of file PHPExcel.php.
| PHPExcel::getCellStyleXfByIndex | ( | $pIndex = 0 | ) |
Get cellStyleXf by index.
| int | $pIndex |
Definition at line 1001 of file PHPExcel.php.
| PHPExcel::getCellStyleXfCollection | ( | ) |
Get the workbook collection of cellStyleXfs.
Definition at line 990 of file PHPExcel.php.
References $_cellStyleXfCollection.
| PHPExcel::getCellXfByHashCode | ( | $pValue = '' | ) |
Get cellXf by hash code.
| string | $pValue |
Definition at line 898 of file PHPExcel.php.
| PHPExcel::getCellXfByIndex | ( | $pIndex = 0 | ) |
Get cellXf by index.
| int | $pIndex |
Definition at line 887 of file PHPExcel.php.
| PHPExcel::getCellXfCollection | ( | ) |
Get the workbook collection of cellXfs.
Definition at line 876 of file PHPExcel.php.
References $_cellXfCollection.
| PHPExcel::getCellXfSupervisor | ( | ) |
Get the cellXf supervisor.
Definition at line 980 of file PHPExcel.php.
References $_cellXfSupervisor.
| PHPExcel::getDefaultStyle | ( | ) |
Get default style.
| PHPExcel_Exception |
Definition at line 925 of file PHPExcel.php.
Referenced by PHPExcel_Writer_HTML\__construct().
Here is the caller graph for this function:| PHPExcel::getID | ( | ) |
Return the unique ID value assigned to this spreadsheet workbook.
Definition at line 1135 of file PHPExcel.php.
References $_uniqueID.
| PHPExcel::getIndex | ( | PHPExcel_Worksheet | $pSheet | ) |
Get index for sheet.
| PHPExcel_Worksheet | $pSheet |
| PHPExcel_Exception |
Definition at line 620 of file PHPExcel.php.
References $key, and PHPExcel_Worksheet\getHashCode().
Referenced by setActiveSheetIndexByName(), and setIndexByName().
Here is the call graph for this function:
Here is the caller graph for this function:| PHPExcel::getMacrosCertificate | ( | ) |
Return the macros certificate.
Definition at line 210 of file PHPExcel.php.
References $_macrosCertificate.
| PHPExcel::getMacrosCode | ( | ) |
Return the macros code.
Definition at line 183 of file PHPExcel.php.
References $_macrosCode.
| PHPExcel::getNamedRange | ( | $namedRange, | |
| PHPExcel_Worksheet | $pSheet = null |
||
| ) |
Get named range.
| string | $namedRange | |
| PHPExcel_Worksheet | null | $pSheet | Scope. Use null for global scope |
Definition at line 796 of file PHPExcel.php.
| PHPExcel::getNamedRanges | ( | ) |
Get named ranges.
Definition at line 768 of file PHPExcel.php.
References $_namedRanges.
Referenced by PHPExcel_Writer_Excel2007_Workbook\_writeNamedRanges().
Here is the caller graph for this function:| PHPExcel::getProperties | ( | ) |
Get properties.
Definition at line 425 of file PHPExcel.php.
References $_properties.
| PHPExcel::getRibbonBinObjects | ( | $What = 'all' | ) |
retrieve Binaries Ribbon Objects
Definition at line 283 of file PHPExcel.php.
References $_ribbonBinObjects.
| PHPExcel::getRibbonXMLData | ( | $What = 'all' | ) |
retrieve ribbon XML Data
return string|null|array
Definition at line 243 of file PHPExcel.php.
References $_ribbonXMLData.
| PHPExcel::getSecurity | ( | ) |
Get security.
Definition at line 445 of file PHPExcel.php.
References $_security.
| PHPExcel::getSheet | ( | $pIndex = 0 | ) |
Get sheet by index.
| int | $pIndex | Sheet index |
| PHPExcel_Exception |
Definition at line 573 of file PHPExcel.php.
References getSheetCount().
Referenced by getActiveSheet(), and getSheetNames().
Here is the call graph for this function:
Here is the caller graph for this function:| PHPExcel::getSheetByCodeName | ( | $pName = '' | ) |
Get sheet by code name.
Warning : sheet don't have always a code name !
| string | $pName | Sheet name |
Definition at line 342 of file PHPExcel.php.
References $i.
Referenced by sheetCodeNameExists().
Here is the caller graph for this function:| PHPExcel::getSheetByName | ( | $pName = '' | ) |
Get sheet by name.
| string | $pName | Sheet name |
Definition at line 601 of file PHPExcel.php.
References $i.
Referenced by setActiveSheetIndexByName(), setIndexByName(), and sheetNameExists().
Here is the caller graph for this function:| PHPExcel::getSheetCount | ( | ) |
Get sheet count.
Definition at line 661 of file PHPExcel.php.
Referenced by getSheet(), getSheetNames(), and PHPExcel_Reader_CSV\loadIntoExisting().
Here is the caller graph for this function:| PHPExcel::getSheetNames | ( | ) |
Get sheet names.
Definition at line 719 of file PHPExcel.php.
References $i, getSheet(), and getSheetCount().
Here is the call graph for this function:| PHPExcel::getWorksheetIterator | ( | ) |
Get worksheet iterator.
Definition at line 839 of file PHPExcel.php.
Referenced by garbageCollect(), and PHPExcel_ReferenceHelper\updateNamedFormulas().
Here is the caller graph for this function:| PHPExcel::hasMacros | ( | ) |
The workbook has macros ?
Definition at line 155 of file PHPExcel.php.
References $_hasMacros.
| PHPExcel::hasMacrosCertificate | ( | ) |
Is the project signed ?
Definition at line 201 of file PHPExcel.php.
| PHPExcel::hasRibbon | ( | ) |
This workbook have a custom UI ?
Definition at line 312 of file PHPExcel.php.
| PHPExcel::hasRibbonBinObjects | ( | ) |
This workbook have additionnal object for the ribbon ?
Definition at line 321 of file PHPExcel.php.
| PHPExcel::removeCellStyleXfByIndex | ( | $pIndex = 0 | ) |
Remove cellStyleXf by index.
| int | $pIndex |
| PHPExcel_Exception |
Definition at line 1039 of file PHPExcel.php.
| PHPExcel::removeCellXfByIndex | ( | $pIndex = 0 | ) |
Remove cellXf by index.
It is ensured that all cells get their xf index updated.
| int | $pIndex | Index to cellXf |
| PHPExcel_Exception |
Definition at line 950 of file PHPExcel.php.
References $worksheet.
| PHPExcel::removeNamedRange | ( | $namedRange, | |
| PHPExcel_Worksheet | $pSheet = null |
||
| ) |
Remove named range.
| string | $namedRange | |
| PHPExcel_Worksheet | null | $pSheet | Scope: use null for global scope. |
Definition at line 821 of file PHPExcel.php.
| PHPExcel::removeSheetByIndex | ( | $pIndex = 0 | ) |
Remove sheet by index.
| int | $pIndex | Active sheet index |
| PHPExcel_Exception |
Definition at line 546 of file PHPExcel.php.
References $_activeSheetIndex.
| PHPExcel::setActiveSheetIndex | ( | $pIndex = 0 | ) |
Set active sheet index.
| int | $pIndex | Active sheet index |
| PHPExcel_Exception |
Definition at line 683 of file PHPExcel.php.
References getActiveSheet().
Referenced by setActiveSheetIndexByName().
Here is the call graph for this function:
Here is the caller graph for this function:| PHPExcel::setActiveSheetIndexByName | ( | $pValue = '' | ) |
Set active sheet index by name.
| string | $pValue | Sheet title |
| PHPExcel_Exception |
Definition at line 704 of file PHPExcel.php.
References $worksheet, getIndex(), getSheetByName(), and setActiveSheetIndex().
Here is the call graph for this function:| PHPExcel::setHasMacros | ( | $hasMacros = false | ) |
Define if a workbook has macros.
| true|false |
Definition at line 164 of file PHPExcel.php.
Referenced by setMacrosCode().
Here is the caller graph for this function:| PHPExcel::setIndexByName | ( | $sheetName, | |
| $newIndex | |||
| ) |
Set index for sheet by sheet name.
| string | $sheetName | Sheet name to modify index for |
| int | $newIndex | New index for the sheet |
| PHPExcel_Exception |
Definition at line 639 of file PHPExcel.php.
References getIndex(), and getSheetByName().
Here is the call graph for this function:| PHPExcel::setMacrosCertificate | ( | $Certificate = NULL | ) |
Set the macros certificate.
| binary|null |
Definition at line 192 of file PHPExcel.php.
| PHPExcel::setMacrosCode | ( | $MacrosCode | ) |
Set the macros code.
| binary | string|null |
Definition at line 173 of file PHPExcel.php.
References setHasMacros().
Here is the call graph for this function:| PHPExcel::setProperties | ( | PHPExcel_DocumentProperties | $pValue | ) |
Set properties.
| PHPExcel_DocumentProperties | $pValue |
Definition at line 435 of file PHPExcel.php.
| PHPExcel::setRibbonBinObjects | ( | $BinObjectsNames = NULL, |
|
$BinObjectsData = NULL |
|||
| ) |
store binaries ribbon objects (pictures)
Definition at line 264 of file PHPExcel.php.
| PHPExcel::setRibbonXMLData | ( | $Target = NULL, |
|
$XMLData = NULL |
|||
| ) |
set ribbon XML data
Definition at line 230 of file PHPExcel.php.
| PHPExcel::setSecurity | ( | PHPExcel_DocumentSecurity | $pValue | ) |
Set security.
| PHPExcel_DocumentSecurity | $pValue |
Definition at line 455 of file PHPExcel.php.
| PHPExcel::sheetCodeNameExists | ( | $pSheetCodeName | ) |
Check if a sheet with a specified code name already exists.
| string | $pSheetCodeName | Name of the worksheet to check |
Definition at line 331 of file PHPExcel.php.
References getSheetByCodeName().
Here is the call graph for this function:| PHPExcel::sheetNameExists | ( | $pSheetName | ) |
Check if a sheet with a specified name already exists.
| string | $pSheetName | Name of the worksheet to check |
Definition at line 492 of file PHPExcel.php.
References getSheetByName().
Referenced by addExternalSheet(), and addSheet().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 85 of file PHPExcel.php.
Referenced by addSheet(), getActiveSheetIndex(), and removeSheetByIndex().
|
private |
Definition at line 78 of file PHPExcel.php.
Referenced by getCalculationEngine().
|
private |
Definition at line 113 of file PHPExcel.php.
Referenced by getCellStyleXfCollection().
|
private |
Definition at line 106 of file PHPExcel.php.
Referenced by getCellXfCollection().
|
private |
Definition at line 99 of file PHPExcel.php.
Referenced by getCellXfSupervisor().
|
private |
Definition at line 120 of file PHPExcel.php.
Referenced by hasMacros().
|
private |
Definition at line 133 of file PHPExcel.php.
Referenced by getMacrosCertificate().
|
private |
Definition at line 127 of file PHPExcel.php.
Referenced by getMacrosCode().
|
private |
Definition at line 92 of file PHPExcel.php.
Referenced by getNamedRanges().
|
private |
Definition at line 57 of file PHPExcel.php.
Referenced by getProperties().
|
private |
Definition at line 148 of file PHPExcel.php.
Referenced by getRibbonBinObjects().
|
private |
Definition at line 140 of file PHPExcel.php.
Referenced by getRibbonXMLData().
|
private |
Definition at line 64 of file PHPExcel.php.
Referenced by getSecurity().
|
private |
Definition at line 50 of file PHPExcel.php.
Referenced by getID().
|
private |
Definition at line 71 of file PHPExcel.php.
Referenced by getAllSheets().