ILIAS
eassessment Revision 61809
|
Adapter class to provide Excel writing support for ILIAS. More...
Public Member Functions | |
__construct () | |
save () | |
deliver ($outputfilename) | |
getWorksheetCount () | |
setActiveWorksheet ($index=0) | |
setWorksheetTitle ($title) | |
setColumnWidth ($columnindex, $width) | |
addWorksheet ($title="") | |
setCellValue ($row, $col, $value, $format=CELL_FORMAT_NONE) | |
getFileExtension () |
Data Fields | |
$objPHPExcel |
Protected Member Functions | |
formatCellTitle () | |
formatCellCenter () | |
formatCellBold () | |
formatCellPercent () |
Private Member Functions | |
getCellTitle ($index) |
Adapter class to provide Excel writing support for ILIAS.
Definition at line 13 of file class.ilExcelXMLAdapter.php.
ilExcelXMLAdapter::__construct | ( | ) |
Definition at line 17 of file class.ilExcelXMLAdapter.php.
References PHPExcel_CachedObjectStorageFactory\cache_in_memory_gzip, and PHPExcel_Settings\setCacheStorageMethod().
ilExcelXMLAdapter::addWorksheet | ( | $title = "" | ) |
Reimplemented from ilExcelAdapter.
Definition at line 104 of file class.ilExcelXMLAdapter.php.
References $title.
ilExcelXMLAdapter::deliver | ( | $outputfilename | ) |
Reimplemented from ilExcelAdapter.
Definition at line 56 of file class.ilExcelXMLAdapter.php.
|
protected |
Definition at line 184 of file class.ilExcelXMLAdapter.php.
Referenced by setCellValue().
|
protected |
Definition at line 169 of file class.ilExcelXMLAdapter.php.
References PHPExcel_Style_Alignment\HORIZONTAL_CENTER.
Referenced by setCellValue().
|
protected |
Definition at line 196 of file class.ilExcelXMLAdapter.php.
References PHPExcel_Style_Alignment\HORIZONTAL_CENTER.
|
protected |
Definition at line 148 of file class.ilExcelXMLAdapter.php.
References PHPExcel_Style_Fill\FILL_SOLID, and PHPExcel_Style_Alignment\HORIZONTAL_CENTER.
Referenced by setCellValue().
|
private |
Definition at line 216 of file class.ilExcelXMLAdapter.php.
Referenced by setCellValue(), and setColumnWidth().
ilExcelXMLAdapter::getFileExtension | ( | ) |
Reimplemented from ilExcelAdapter.
Definition at line 211 of file class.ilExcelXMLAdapter.php.
ilExcelXMLAdapter::getWorksheetCount | ( | ) |
Reimplemented from ilExcelAdapter.
Definition at line 70 of file class.ilExcelXMLAdapter.php.
ilExcelXMLAdapter::save | ( | ) |
Reimplemented from ilExcelAdapter.
Definition at line 47 of file class.ilExcelXMLAdapter.php.
References ilUtil\ilTempnam().
Referenced by deliver().
ilExcelXMLAdapter::setActiveWorksheet | ( | $index = 0 | ) |
Reimplemented from ilExcelAdapter.
Definition at line 75 of file class.ilExcelXMLAdapter.php.
ilExcelXMLAdapter::setCellValue | ( | $row, | |
$col, | |||
$value, | |||
$format = CELL_FORMAT_NONE |
|||
) |
Reimplemented from ilExcelAdapter.
Definition at line 118 of file class.ilExcelXMLAdapter.php.
References CELL_FORMAT_BOLD, CELL_FORMAT_CENTER, CELL_FORMAT_DATETIME, CELL_FORMAT_MINUTES, CELL_FORMAT_NONE, CELL_FORMAT_PERCENT, CELL_FORMAT_TITLE, PHPExcel_Style_NumberFormat\FORMAT_DATE_DATETIME, PHPExcel_Style_NumberFormat\FORMAT_PERCENTAGE, formatCellBold(), formatCellCenter(), formatCellTitle(), and getCellTitle().
ilExcelXMLAdapter::setColumnWidth | ( | $columnindex, | |
$width | |||
) |
Reimplemented from ilExcelAdapter.
Definition at line 92 of file class.ilExcelXMLAdapter.php.
References getCellTitle().
ilExcelXMLAdapter::setWorksheetTitle | ( | $title | ) |
Reimplemented from ilExcelAdapter.
Definition at line 80 of file class.ilExcelXMLAdapter.php.
References $title.
ilExcelXMLAdapter::$objPHPExcel |
Definition at line 15 of file class.ilExcelXMLAdapter.php.