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) | |
addWorksheet ($title="") | |
setColumnWidth ($columnindex, $width) | |
setCellValue ($row, $col, $value, $format=CELL_FORMAT_NONE) | |
getFileExtension () | |
convertToWindowsCharset ($string) | |
Zusatzfunktion: Umlaute in Excel Tabellenblätter darstellen. |
Data Fields | |
$adapter | |
$workbook | |
$excelfile | |
$activesheet | |
$format_bold | |
$format_percent | |
$format_datetime | |
$format_minutes | |
$format_title | |
$format_center |
Protected Member Functions | |
getActiveSheet () |
Adapter class to provide Excel writing support for ILIAS.
Definition at line 13 of file class.ilExcelXLSAdapter.php.
ilExcelXLSAdapter::__construct | ( | ) |
Definition at line 26 of file class.ilExcelXLSAdapter.php.
References addWorksheet(), and ilUtil\ilTempnam().
ilExcelXLSAdapter::addWorksheet | ( | $title = "" | ) |
Reimplemented from ilExcelAdapter.
Definition at line 91 of file class.ilExcelXLSAdapter.php.
References $title, convertToWindowsCharset(), and getWorksheetCount().
Referenced by __construct().
ilExcelXLSAdapter::convertToWindowsCharset | ( | $string | ) |
Zusatzfunktion: Umlaute in Excel Tabellenblätter darstellen.
Definition at line 149 of file class.ilExcelXLSAdapter.php.
Referenced by addWorksheet(), setCellValue(), and setWorksheetTitle().
ilExcelXLSAdapter::deliver | ( | $outputfilename | ) |
Reimplemented from ilExcelAdapter.
Definition at line 62 of file class.ilExcelXLSAdapter.php.
References ilUtil\deliverFile(), and exit.
|
protected |
Definition at line 79 of file class.ilExcelXLSAdapter.php.
References $activesheet.
Referenced by setCellValue(), and setWorksheetTitle().
ilExcelXLSAdapter::getFileExtension | ( | ) |
Reimplemented from ilExcelAdapter.
Definition at line 140 of file class.ilExcelXLSAdapter.php.
ilExcelXLSAdapter::getWorksheetCount | ( | ) |
Reimplemented from ilExcelAdapter.
Definition at line 69 of file class.ilExcelXLSAdapter.php.
Referenced by addWorksheet().
ilExcelXLSAdapter::save | ( | ) |
Reimplemented from ilExcelAdapter.
Definition at line 56 of file class.ilExcelXLSAdapter.php.
References $excelfile.
ilExcelXLSAdapter::setActiveWorksheet | ( | $index = 0 | ) |
Reimplemented from ilExcelAdapter.
Definition at line 74 of file class.ilExcelXLSAdapter.php.
ilExcelXLSAdapter::setCellValue | ( | $row, | |
$col, | |||
$value, | |||
$format = CELL_FORMAT_NONE |
|||
) |
Reimplemented from ilExcelAdapter.
Definition at line 110 of file class.ilExcelXLSAdapter.php.
References $row, CELL_FORMAT_BOLD, CELL_FORMAT_CENTER, CELL_FORMAT_DATETIME, CELL_FORMAT_MINUTES, CELL_FORMAT_NONE, CELL_FORMAT_PERCENT, CELL_FORMAT_TITLE, convertToWindowsCharset(), and getActiveSheet().
ilExcelXLSAdapter::setColumnWidth | ( | $columnindex, | |
$width | |||
) |
ilExcelXLSAdapter::setWorksheetTitle | ( | $title | ) |
Reimplemented from ilExcelAdapter.
Definition at line 85 of file class.ilExcelXLSAdapter.php.
References $title, convertToWindowsCharset(), and getActiveSheet().
ilExcelXLSAdapter::$activesheet |
Definition at line 18 of file class.ilExcelXLSAdapter.php.
Referenced by getActiveSheet().
ilExcelXLSAdapter::$adapter |
Definition at line 15 of file class.ilExcelXLSAdapter.php.
ilExcelXLSAdapter::$excelfile |
Definition at line 17 of file class.ilExcelXLSAdapter.php.
Referenced by save().
ilExcelXLSAdapter::$format_bold |
Definition at line 19 of file class.ilExcelXLSAdapter.php.
ilExcelXLSAdapter::$format_center |
Definition at line 24 of file class.ilExcelXLSAdapter.php.
ilExcelXLSAdapter::$format_datetime |
Definition at line 21 of file class.ilExcelXLSAdapter.php.
ilExcelXLSAdapter::$format_minutes |
Definition at line 22 of file class.ilExcelXLSAdapter.php.
ilExcelXLSAdapter::$format_percent |
Definition at line 20 of file class.ilExcelXLSAdapter.php.
ilExcelXLSAdapter::$format_title |
Definition at line 23 of file class.ilExcelXLSAdapter.php.
ilExcelXLSAdapter::$workbook |
Definition at line 16 of file class.ilExcelXLSAdapter.php.