ILIAS
eassessment Revision 61809
|
Public Member Functions | |
__construct () | |
Create a new PHPExcel with one Worksheet. | |
disconnectWorksheets () | |
getProperties () | |
Get properties. | |
setProperties (PHPExcel_DocumentProperties $pValue) | |
Set properties. | |
getSecurity () | |
Get security. | |
setSecurity (PHPExcel_DocumentSecurity $pValue) | |
Set security. | |
getActiveSheet () | |
Get active sheet. | |
createSheet ($iSheetIndex=null) | |
Create sheet and add it to this workbook. | |
addSheet (PHPExcel_Worksheet $pSheet=null, $iSheetIndex=null) | |
Add sheet. | |
removeSheetByIndex ($pIndex=0) | |
Remove sheet by index. | |
getSheet ($pIndex=0) | |
Get sheet by index. | |
getAllSheets () | |
Get all sheets. | |
getSheetByName ($pName= '') | |
Get sheet by name. | |
getIndex (PHPExcel_Worksheet $pSheet) | |
Get index for sheet. | |
setIndexByName ($sheetName, $newIndex) | |
Set index for sheet by sheet name. | |
getSheetCount () | |
Get sheet count. | |
getActiveSheetIndex () | |
Get active sheet index. | |
setActiveSheetIndex ($pIndex=0) | |
Set active sheet index. | |
setActiveSheetIndexByName ($pValue= '') | |
Set active sheet index by name. | |
getSheetNames () | |
Get sheet names. | |
addExternalSheet (PHPExcel_Worksheet $pSheet, $iSheetIndex=null) | |
Add external sheet. | |
getNamedRanges () | |
Get named ranges. | |
addNamedRange (PHPExcel_NamedRange $namedRange) | |
Add named range. | |
getNamedRange ($namedRange, PHPExcel_Worksheet $pSheet=null) | |
Get named range. | |
removeNamedRange ($namedRange, PHPExcel_Worksheet $pSheet=null) | |
Remove named range. | |
getWorksheetIterator () | |
Get worksheet iterator. | |
copy () | |
Copy workbook (!= clone!) | |
__clone () | |
Implement PHP __clone to create a deep clone, not just a shallow copy. | |
getCellXfCollection () | |
Get the workbook collection of cellXfs. | |
getCellXfByIndex ($pIndex=0) | |
Get cellXf by index. | |
getCellXfByHashCode ($pValue= '') | |
Get cellXf by hash code. | |
getDefaultStyle () | |
Get default style. | |
addCellXf (PHPExcel_Style $style) | |
Add a cellXf to the workbook. | |
removeCellXfByIndex ($pIndex=0) | |
Remove cellXf by index. | |
getCellXfSupervisor () | |
Get the cellXf supervisor. | |
getCellStyleXfCollection () | |
Get the workbook collection of cellStyleXfs. | |
getCellStyleXfByIndex ($pIndex=0) | |
Get cellStyleXf by index. | |
getCellStyleXfByHashCode ($pValue= '') | |
Get cellStyleXf by hash code. | |
addCellStyleXf (PHPExcel_Style $pStyle) | |
Add a cellStyleXf to the workbook. | |
removeCellStyleXfByIndex ($pIndex=0) | |
Remove cellStyleXf by index. | |
garbageCollect () | |
Eliminate all unneeded cellXf and afterwards update the xfIndex for all cells and columns in the workbook. |
Private Attributes | |
$_properties | |
$_security | |
$_workSheetCollection = array() | |
$_activeSheetIndex = 0 | |
$_namedRanges = array() | |
$_cellXfSupervisor | |
$_cellXfCollection = array() | |
$_cellStyleXfCollection = array() |
Definition at line 43 of file PHPExcel.php.
PHPExcel::__construct | ( | ) |
Create a new PHPExcel with one Worksheet.
Definition at line 104 of file PHPExcel.php.
References addCellStyleXf(), and addCellXf().
PHPExcel::__clone | ( | ) |
Implement PHP __clone to create a deep clone, not just a shallow copy.
Definition at line 538 of file PHPExcel.php.
PHPExcel::addCellStyleXf | ( | PHPExcel_Style | $pStyle | ) |
Add a cellStyleXf to the workbook.
PHPExcel_Style | $pStyle |
Definition at line 691 of file PHPExcel.php.
References PHPExcel_Style\setIndex().
Referenced by __construct().
PHPExcel::addCellXf | ( | PHPExcel_Style | $style | ) |
Add a cellXf to the workbook.
PHPExcel_Style |
Definition at line 602 of file PHPExcel.php.
References 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) |
Exception |
Definition at line 413 of file PHPExcel.php.
References addCellXf(), addSheet(), PHPExcel_Worksheet\getCell(), PHPExcel_Worksheet\getCellCollection(), PHPExcel_Worksheet\getParent(), getSheetByName(), PHPExcel_Worksheet\getTitle(), and PHPExcel_Worksheet\rebindParent().
PHPExcel::addNamedRange | ( | PHPExcel_NamedRange | $namedRange | ) |
Add named range.
PHPExcel_NamedRange | $namedRange |
Definition at line 453 of file PHPExcel.php.
References PHPExcel_NamedRange\getName(), and PHPExcel_NamedRange\getScope().
Referenced by PHPExcel_Worksheet\rebindParent().
PHPExcel::addSheet | ( | PHPExcel_Worksheet | $pSheet = null , |
$iSheetIndex = null |
|||
) |
Add sheet.
PHPExcel_Worksheet | $pSheet | |
int | null | $iSheetIndex | Index where sheet should go (0,1,..., or null for last) |
Exception |
Definition at line 209 of file PHPExcel.php.
References $_activeSheetIndex.
Referenced by addExternalSheet(), and createSheet().
PHPExcel::copy | ( | ) |
Copy workbook (!= clone!)
Definition at line 523 of file PHPExcel.php.
PHPExcel::createSheet | ( | $iSheetIndex = null | ) |
Create sheet and add it to this workbook.
Definition at line 194 of file PHPExcel.php.
References addSheet().
Referenced by PHPExcel_Reader_SYLK\loadIntoExisting(), PHPExcel_Reader_CSV\loadIntoExisting(), PHPExcel_Reader_OOCalc\loadIntoExisting(), and PHPExcel_Reader_Excel2003XML\loadIntoExisting().
PHPExcel::disconnectWorksheets | ( | ) |
Definition at line 130 of file PHPExcel.php.
PHPExcel::garbageCollect | ( | ) |
Eliminate all unneeded cellXf and afterwards update the xfIndex for all cells and columns in the workbook.
Definition at line 716 of file PHPExcel.php.
References getWorksheetIterator().
PHPExcel::getActiveSheet | ( | ) |
Get active sheet.
Definition at line 184 of file PHPExcel.php.
References $_activeSheetIndex.
Referenced by PHPExcel_Reader_SYLK\loadIntoExisting(), PHPExcel_Reader_CSV\loadIntoExisting(), PHPExcel_Reader_OOCalc\loadIntoExisting(), PHPExcel_Reader_Excel2003XML\loadIntoExisting(), and setActiveSheetIndex().
PHPExcel::getActiveSheetIndex | ( | ) |
Get active sheet index.
Definition at line 350 of file PHPExcel.php.
References $_activeSheetIndex.
PHPExcel::getAllSheets | ( | ) |
Get all sheets.
Definition at line 270 of file PHPExcel.php.
References $_workSheetCollection.
PHPExcel::getCellStyleXfByHashCode | ( | $pValue = '' | ) |
Get cellStyleXf by hash code.
string | $pValue |
Definition at line 676 of file PHPExcel.php.
PHPExcel::getCellStyleXfByIndex | ( | $pIndex = 0 | ) |
Get cellStyleXf by index.
int | $pIndex |
Definition at line 665 of file PHPExcel.php.
PHPExcel::getCellStyleXfCollection | ( | ) |
Get the workbook collection of cellStyleXfs.
Definition at line 654 of file PHPExcel.php.
References $_cellStyleXfCollection.
PHPExcel::getCellXfByHashCode | ( | $pValue = '' | ) |
Get cellXf by hash code.
string | $pValue |
Definition at line 573 of file PHPExcel.php.
PHPExcel::getCellXfByIndex | ( | $pIndex = 0 | ) |
Get cellXf by index.
int | $index |
Definition at line 562 of file PHPExcel.php.
PHPExcel::getCellXfCollection | ( | ) |
Get the workbook collection of cellXfs.
Definition at line 551 of file PHPExcel.php.
References $_cellXfCollection.
PHPExcel::getCellXfSupervisor | ( | ) |
Get the cellXf supervisor.
Definition at line 644 of file PHPExcel.php.
References $_cellXfSupervisor.
PHPExcel::getDefaultStyle | ( | ) |
Get default style.
Exception |
Definition at line 589 of file PHPExcel.php.
Referenced by PHPExcel_Writer_HTML\__construct().
PHPExcel::getIndex | ( | PHPExcel_Worksheet | $pSheet | ) |
Get index for sheet.
PHPExcel_Worksheet | $pSheet |
Exception |
Definition at line 301 of file PHPExcel.php.
References PHPExcel_Worksheet\getHashCode().
Referenced by setIndexByName().
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 471 of file PHPExcel.php.
PHPExcel::getNamedRanges | ( | ) |
Get named ranges.
Definition at line 443 of file PHPExcel.php.
References $_namedRanges.
Referenced by PHPExcel_Writer_Excel2007_Workbook\_writeNamedRanges().
PHPExcel::getProperties | ( | ) |
Get properties.
Definition at line 144 of file PHPExcel.php.
References $_properties.
Referenced by PHPExcel_Reader_OOCalc\loadIntoExisting(), PHPExcel_Reader_Gnumeric\loadIntoExisting(), and PHPExcel_Reader_Excel2003XML\loadIntoExisting().
PHPExcel::getSecurity | ( | ) |
Get security.
Definition at line 164 of file PHPExcel.php.
References $_security.
PHPExcel::getSheet | ( | $pIndex = 0 | ) |
Get sheet by index.
int | $pIndex | Sheet index |
Exception |
Definition at line 256 of file PHPExcel.php.
Referenced by getSheetNames().
PHPExcel::getSheetByName | ( | $pName = '' | ) |
Get sheet by name.
string | $pName | Sheet name |
Exception |
Definition at line 282 of file PHPExcel.php.
Referenced by addExternalSheet(), setActiveSheetIndexByName(), and setIndexByName().
PHPExcel::getSheetCount | ( | ) |
Get sheet count.
Definition at line 340 of file PHPExcel.php.
Referenced by getSheetNames(), PHPExcel_Reader_SYLK\loadIntoExisting(), and PHPExcel_Reader_CSV\loadIntoExisting().
PHPExcel::getSheetNames | ( | ) |
Get sheet names.
Definition at line 394 of file PHPExcel.php.
References getSheet(), and getSheetCount().
PHPExcel::getWorksheetIterator | ( | ) |
Get worksheet iterator.
Definition at line 514 of file PHPExcel.php.
Referenced by garbageCollect(), and PHPExcel_ReferenceHelper\updateNamedFormulas().
PHPExcel::removeCellStyleXfByIndex | ( | $pIndex = 0 | ) |
Remove cellStyleXf by index.
int | $pIndex |
Exception |
Definition at line 703 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 |
Exception |
Definition at line 614 of file PHPExcel.php.
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 496 of file PHPExcel.php.
PHPExcel::removeSheetByIndex | ( | $pIndex = 0 | ) |
Remove sheet by index.
int | $pIndex | Active sheet index |
Exception |
Definition at line 240 of file PHPExcel.php.
Referenced by PHPExcel_Reader_Excel2007\load(), and PHPExcel_Reader_Excel5\load().
PHPExcel::setActiveSheetIndex | ( | $pIndex = 0 | ) |
Set active sheet index.
int | $pIndex | Active sheet index |
Exception |
Definition at line 362 of file PHPExcel.php.
References getActiveSheet().
Referenced by PHPExcel_Reader_SYLK\loadIntoExisting(), PHPExcel_Reader_CSV\loadIntoExisting(), PHPExcel_Reader_OOCalc\loadIntoExisting(), PHPExcel_Reader_Excel2003XML\loadIntoExisting(), and setActiveSheetIndexByName().
PHPExcel::setActiveSheetIndexByName | ( | $pValue = '' | ) |
Set active sheet index by name.
string | $pValue | Sheet title |
Exception |
Definition at line 379 of file PHPExcel.php.
References getSheetByName(), and setActiveSheetIndex().
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 |
Exception |
Definition at line 318 of file PHPExcel.php.
References getIndex(), and getSheetByName().
PHPExcel::setProperties | ( | PHPExcel_DocumentProperties | $pValue | ) |
Set properties.
PHPExcel_DocumentProperties | $pValue |
Definition at line 154 of file PHPExcel.php.
PHPExcel::setSecurity | ( | PHPExcel_DocumentSecurity | $pValue | ) |
Set security.
PHPExcel_DocumentSecurity | $pValue |
Definition at line 174 of file PHPExcel.php.
|
private |
Definition at line 71 of file PHPExcel.php.
Referenced by addSheet(), getActiveSheet(), and getActiveSheetIndex().
|
private |
Definition at line 99 of file PHPExcel.php.
Referenced by getCellStyleXfCollection().
|
private |
Definition at line 92 of file PHPExcel.php.
Referenced by getCellXfCollection().
|
private |
Definition at line 85 of file PHPExcel.php.
Referenced by getCellXfSupervisor().
|
private |
Definition at line 78 of file PHPExcel.php.
Referenced by getNamedRanges().
|
private |
Definition at line 50 of file PHPExcel.php.
Referenced by getProperties().
|
private |
Definition at line 57 of file PHPExcel.php.
Referenced by getSecurity().
|
private |
Definition at line 64 of file PHPExcel.php.
Referenced by getAllSheets().