ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
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(), array, and PHPExcel_Calculation\getInstance().
PHPExcel::__destruct | ( | ) |
Code to execute when this worksheet is unset()
Definition at line 389 of file PHPExcel.php.
References disconnectWorksheets(), and PHPExcel_Calculation\unsetInstance().
PHPExcel::__clone | ( | ) |
Implement PHP __clone to create a deep clone, not just a shallow copy.
Definition at line 863 of file PHPExcel.php.
|
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().
PHPExcel::addCellXf | ( | PHPExcel_Style | $style | ) |
Add a cellXf to the workbook.
PHPExcel_Style | $style |
Definition at line 938 of file PHPExcel.php.
References $style, and PHPExcel_Style\setIndex().
Referenced by __construct(), and addExternalSheet().
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().
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().
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, array, PHPExcel_Worksheet\getParent(), PHPExcel_Worksheet\getTitle(), PHPExcel_Worksheet\rebindParent(), and sheetNameExists().
Referenced by addExternalSheet(), and createSheet().
PHPExcel::cellXfExists | ( | $pCellStyle = null | ) |
Check if style exists in style collection.
PHPExcel_Style | $pCellStyle |
Definition at line 914 of file PHPExcel.php.
PHPExcel::copy | ( | ) |
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().
Referenced by PHPExcel_Reader_SYLK\loadIntoExisting(), PHPExcel_Reader_CSV\loadIntoExisting(), PHPExcel_Reader_Excel2003XML\loadIntoExisting(), PHPExcel_Reader_OOCalc\loadIntoExisting(), and PHPExcel_Reader_HTML\loadIntoExisting().
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, and array.
Referenced by __destruct().
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 array, and getWorksheetIterator().
PHPExcel::getActiveSheet | ( | ) |
Get active sheet.
PHPExcel_Exception |
Definition at line 467 of file PHPExcel.php.
References getSheet().
Referenced by PHPExcel_Reader_SYLK\loadIntoExisting(), PHPExcel_Reader_Excel2003XML\loadIntoExisting(), PHPExcel_Reader_OOCalc\loadIntoExisting(), PHPExcel_Reader_HTML\loadIntoExisting(), and setActiveSheetIndex().
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().
PHPExcel::getID | ( | ) |
Return the unique ID value assigned to this spreadsheet workbook.
Definition at line 1135 of file PHPExcel.php.
References $_uniqueID.
Referenced by ilObjSCORM2004LearningModuleGUI\initPropertiesForm(), ilObjContentObjectGUI\pastePage(), and ilObjSCORMLearningModuleGUI\properties().
PHPExcel::getIndex | ( | PHPExcel_Worksheet | $pSheet | ) |
Get index for sheet.
PHPExcel_Worksheet | $pSheet |
PHPExcel_Exception |
Definition at line 620 of file PHPExcel.php.
References PHPExcel_Worksheet\getHashCode().
Referenced by setActiveSheetIndexByName(), and setIndexByName().
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().
PHPExcel::getProperties | ( | ) |
Get properties.
Definition at line 425 of file PHPExcel.php.
References $_properties.
Referenced by ilADTBasedObjectGUI\initForm(), PHPExcel_Reader_Gnumeric\loadIntoExisting(), PHPExcel_Reader_Excel2003XML\loadIntoExisting(), and PHPExcel_Reader_OOCalc\loadIntoExisting().
PHPExcel::getRibbonBinObjects | ( | $What = 'all' | ) |
retrieve Binaries Ribbon Objects
Definition at line 283 of file PHPExcel.php.
References $_ribbonBinObjects, and array.
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().
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.
Referenced by sheetCodeNameExists().
PHPExcel::getSheetByName | ( | $pName = '' | ) |
Get sheet by name.
string | $pName | Sheet name |
Definition at line 601 of file PHPExcel.php.
Referenced by setActiveSheetIndexByName(), setIndexByName(), and sheetNameExists().
PHPExcel::getSheetCount | ( | ) |
Get sheet count.
Definition at line 661 of file PHPExcel.php.
Referenced by getSheet(), getSheetNames(), PHPExcel_Reader_SYLK\loadIntoExisting(), PHPExcel_Reader_CSV\loadIntoExisting(), and PHPExcel_Reader_HTML\loadIntoExisting().
PHPExcel::getSheetNames | ( | ) |
Get sheet names.
Definition at line 719 of file PHPExcel.php.
References array, getSheet(), and getSheetCount().
PHPExcel::getWorksheetIterator | ( | ) |
Get worksheet iterator.
Definition at line 839 of file PHPExcel.php.
Referenced by garbageCollect(), and PHPExcel_ReferenceHelper\updateNamedFormulas().
PHPExcel::hasMacros | ( | ) |
The workbook has macros ?
Definition at line 155 of file PHPExcel.php.
References $_hasMacros.
PHPExcel::hasMacrosCertificate | ( | ) |
PHPExcel::hasRibbon | ( | ) |
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 PHPExcel_Reader_SYLK\loadIntoExisting(), PHPExcel_Reader_CSV\loadIntoExisting(), PHPExcel_Reader_Excel2003XML\loadIntoExisting(), PHPExcel_Reader_OOCalc\loadIntoExisting(), PHPExcel_Reader_HTML\loadIntoExisting(), and setActiveSheetIndexByName().
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().
PHPExcel::setHasMacros | ( | $hasMacros = false | ) |
Define if a workbook has macros.
true|false |
Definition at line 164 of file PHPExcel.php.
Referenced by setMacrosCode().
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().
PHPExcel::setMacrosCertificate | ( | $Certificate = NULL | ) |
PHPExcel::setMacrosCode | ( | $MacrosCode | ) |
Set the macros code.
binary | string|null |
Definition at line 173 of file PHPExcel.php.
References setHasMacros().
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.
References array.
PHPExcel::setRibbonXMLData | ( | $Target = NULL , |
|
$XMLData = NULL |
|||
) |
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().
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().
|
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().