ILIAS
Release_4_0_x_branch Revision 61816
|
Public Member Functions | |
__construct () | |
Create a new PHPExcel with one Worksheet. | |
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. | |
getSheetNames () | |
Get sheet names. | |
addExternalSheet (PHPExcel_Worksheet $pSheet) | |
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 in the workbook. |
Private Attributes | |
$_properties | |
$_security | |
$_workSheetCollection = array() | |
$_activeSheetIndex = 0 | |
$_namedRanges = array() | |
$_cellXfSupervisor | |
$_cellXfCollection = array() | |
$_cellStyleXfCollection = array() |
Definition at line 63 of file PHPExcel.php.
PHPExcel::__construct | ( | ) |
Create a new PHPExcel with one Worksheet.
Definition at line 124 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 529 of file PHPExcel.php.
References $key.
PHPExcel::addCellStyleXf | ( | PHPExcel_Style | $pStyle | ) |
Add a cellStyleXf to the workbook.
PHPExcel_Style | $pStyle |
Definition at line 681 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 593 of file PHPExcel.php.
References PHPExcel_Style\setIndex().
Referenced by __construct(), and addExternalSheet().
PHPExcel::addExternalSheet | ( | PHPExcel_Worksheet | $pSheet | ) |
Add external sheet.
PHPExcel_Worksheet | $pSheet | External sheet to add |
Exception |
Definition at line 396 of file PHPExcel.php.
References addCellXf(), addSheet(), 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 435 of file PHPExcel.php.
References PHPExcel_NamedRange\getName(), and PHPExcel_NamedRange\getWorksheet().
Referenced by PHPExcel_Worksheet\rebindParent().
PHPExcel::addSheet | ( | PHPExcel_Worksheet | $pSheet = null , |
$iSheetIndex = null |
|||
) |
Add sheet.
PHPExcel_Worksheet | $pSheet |
Exception |
Definition at line 217 of file PHPExcel.php.
Referenced by addExternalSheet(), and createSheet().
PHPExcel::copy | ( | ) |
Copy workbook (!= clone!)
Definition at line 514 of file PHPExcel.php.
PHPExcel::createSheet | ( | $iSheetIndex = null | ) |
Create sheet and add it to this workbook.
Definition at line 204 of file PHPExcel.php.
References addSheet().
Referenced by PHPExcel_Reader_CSV\loadIntoExisting().
PHPExcel::garbageCollect | ( | ) |
Eliminate all unneeded cellXf and afterwards update the xfIndex for all cells in the workbook.
Definition at line 705 of file PHPExcel.php.
References $map, and getWorksheetIterator().
PHPExcel::getActiveSheet | ( | ) |
Get active sheet.
Definition at line 194 of file PHPExcel.php.
References $_activeSheetIndex.
Referenced by PHPExcel_Reader_CSV\loadIntoExisting(), and setActiveSheetIndex().
PHPExcel::getActiveSheetIndex | ( | ) |
Get active sheet index.
Definition at line 351 of file PHPExcel.php.
References $_activeSheetIndex.
PHPExcel::getAllSheets | ( | ) |
Get all sheets.
Definition at line 271 of file PHPExcel.php.
References $_workSheetCollection.
PHPExcel::getCellStyleXfByHashCode | ( | $pValue = '' | ) |
Get cellStyleXf by hash code.
string | $pValue |
Definition at line 666 of file PHPExcel.php.
PHPExcel::getCellStyleXfByIndex | ( | $pIndex = 0 | ) |
Get cellStyleXf by index.
int | $pIndex |
Definition at line 655 of file PHPExcel.php.
PHPExcel::getCellStyleXfCollection | ( | ) |
Get the workbook collection of cellStyleXfs.
Definition at line 644 of file PHPExcel.php.
References $_cellStyleXfCollection.
PHPExcel::getCellXfByHashCode | ( | $pValue = '' | ) |
Get cellXf by hash code.
string | $pValue |
Definition at line 564 of file PHPExcel.php.
PHPExcel::getCellXfByIndex | ( | $pIndex = 0 | ) |
Get cellXf by index.
int | $index |
Definition at line 553 of file PHPExcel.php.
PHPExcel::getCellXfCollection | ( | ) |
Get the workbook collection of cellXfs.
Definition at line 542 of file PHPExcel.php.
References $_cellXfCollection.
PHPExcel::getCellXfSupervisor | ( | ) |
Get the cellXf supervisor.
Definition at line 634 of file PHPExcel.php.
References $_cellXfSupervisor.
PHPExcel::getDefaultStyle | ( | ) |
Get default style.
Exception |
Definition at line 580 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 302 of file PHPExcel.php.
References $key, and PHPExcel_Worksheet\getHashCode().
Referenced by setIndexByName().
PHPExcel::getNamedRange | ( | $namedRange, | |
PHPExcel_Worksheet | $pSheet = null |
||
) |
Get named range.
string | $namedRange |
Definition at line 445 of file PHPExcel.php.
References $key.
PHPExcel::getNamedRanges | ( | ) |
Get named ranges.
Definition at line 425 of file PHPExcel.php.
References $_namedRanges.
Referenced by PHPExcel_Writer_Excel2007_Workbook\_writeNamedRanges().
PHPExcel::getProperties | ( | ) |
Get properties.
Definition at line 154 of file PHPExcel.php.
References $_properties.
PHPExcel::getSecurity | ( | ) |
Get security.
Definition at line 174 of file PHPExcel.php.
References $_security.
PHPExcel::getSheet | ( | $pIndex = 0 | ) |
Get sheet by index.
int | $pIndex | Sheet index |
Exception |
Definition at line 257 of file PHPExcel.php.
Referenced by getSheetNames().
PHPExcel::getSheetByName | ( | $pName = '' | ) |
Get sheet by name.
string | $pName | Sheet name |
Exception |
Definition at line 283 of file PHPExcel.php.
Referenced by addExternalSheet(), and setIndexByName().
PHPExcel::getSheetCount | ( | ) |
Get sheet count.
Definition at line 341 of file PHPExcel.php.
Referenced by getSheetNames(), and PHPExcel_Reader_CSV\loadIntoExisting().
PHPExcel::getSheetNames | ( | ) |
Get sheet names.
Definition at line 378 of file PHPExcel.php.
References getSheet(), and getSheetCount().
PHPExcel::getWorksheetIterator | ( | ) |
Get worksheet iterator.
Definition at line 505 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 693 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 605 of file PHPExcel.php.
PHPExcel::removeNamedRange | ( | $namedRange, | |
PHPExcel_Worksheet | $pSheet = null |
||
) |
Remove named range.
string | $namedRange |
Definition at line 478 of file PHPExcel.php.
References $key.
PHPExcel::removeSheetByIndex | ( | $pIndex = 0 | ) |
Remove sheet by index.
int | $pIndex | Active sheet index |
Exception |
Definition at line 241 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 363 of file PHPExcel.php.
References getActiveSheet().
Referenced by PHPExcel_Reader_CSV\loadIntoExisting().
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 319 of file PHPExcel.php.
References getIndex(), and getSheetByName().
PHPExcel::setProperties | ( | PHPExcel_DocumentProperties | $pValue | ) |
Set properties.
PHPExcel_DocumentProperties | $pValue |
Definition at line 164 of file PHPExcel.php.
PHPExcel::setSecurity | ( | PHPExcel_DocumentSecurity | $pValue | ) |
Set security.
PHPExcel_DocumentSecurity | $pValue |
Definition at line 184 of file PHPExcel.php.
|
private |
Definition at line 91 of file PHPExcel.php.
Referenced by getActiveSheet(), and getActiveSheetIndex().
|
private |
Definition at line 119 of file PHPExcel.php.
Referenced by getCellStyleXfCollection().
|
private |
Definition at line 112 of file PHPExcel.php.
Referenced by getCellXfCollection().
|
private |
Definition at line 105 of file PHPExcel.php.
Referenced by getCellXfSupervisor().
|
private |
Definition at line 98 of file PHPExcel.php.
Referenced by getNamedRanges().
|
private |
Definition at line 70 of file PHPExcel.php.
Referenced by getProperties().
|
private |
Definition at line 77 of file PHPExcel.php.
Referenced by getSecurity().
|
private |
Definition at line 84 of file PHPExcel.php.
Referenced by getAllSheets().