ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Go to the source code of this file.
Namespaces | |
PHPExcel | |
Variables | |
const | EOL (PHP_SAPI == 'cli') ? PHP_EOL : '<br />' |
Create new PHPExcel | object |
$objPHPExcel = new PHPExcel() | |
Set document | properties |
Add some | data |
$html1 | |
$html2 | |
$html3 ='2<sup>3</sup> equals 8' | |
$html4 ='H<sub>2</sub>SO<sub>4</sub> is the chemical formula for Sulphuric acid' | |
$wizard = new PHPExcel_Helper_HTML | |
$richText = $wizard->toRichTextObject($html1) | |
Rename | worksheet |
Write to Excel2007 | format |
$callStartTime = microtime(true) | |
$objWriter = PHPExcel_IOFactory::createWriter($objPHPExcel, 'Excel2007') | |
$callEndTime = microtime(true) | |
$callTime = $callEndTime - $callStartTime | |
File written | to |
sprintf('%.4f', $callTime) | seconds |
memory_get_usage(true)/1024/1024) | MB |
Peak memory | usage |
Done writing | files |
$callEndTime = microtime(true) |
Definition at line 130 of file 42richText.php.
$callStartTime = microtime(true) |
Definition at line 126 of file 42richText.php.
$callTime = $callEndTime - $callStartTime |
Definition at line 131 of file 42richText.php.
$html1 |
Definition at line 58 of file 42richText.php.
Referenced by ilExternalFeedBlockGUI\create(), and ilBookmarkAdministrationGUI\newFormBookmark().
$html2 |
Definition at line 71 of file 42richText.php.
Referenced by ilExternalFeedBlockGUI\create(), ilBookmarkAdministrationGUI\newFormBookmark(), and ilContainerContentGUI\renderItemGroup().
$html3 ='2<sup>3</sup> equals 8' |
Definition at line 81 of file 42richText.php.
Definition at line 83 of file 42richText.php.
$objPHPExcel = new PHPExcel() |
Definition at line 42 of file 42richText.php.
$objWriter = PHPExcel_IOFactory::createWriter($objPHPExcel, 'Excel2007') |
Definition at line 128 of file 42richText.php.
$richText = $wizard->toRichTextObject($html1) |
Definition at line 87 of file 42richText.php.
Referenced by PHPExcel_Reader_Excel5\_readLabelSst().
$wizard = new PHPExcel_Helper_HTML |
Definition at line 86 of file 42richText.php.
Add some data |
Definition at line 56 of file 42richText.php.
getcwd () EOL (PHP_SAPI == 'cli') ? PHP_EOL : '<br />' |
Definition at line 34 of file 42richText.php.
Done writing files |
Definition at line 158 of file 42richText.php.
Write to Excel5 format |
Definition at line 125 of file 42richText.php.
Peak memory memory_get_peak_usage (true)/1024/1024) MB |
Definition at line 136 of file 42richText.php.
Create new PHPExcel object |
Definition at line 37 of file 42richText.php.
Set document properties |
Definition at line 45 of file 42richText.php.
sprintf ('%.4f', $callTime) seconds |
Definition at line 134 of file 42richText.php.
File written to |
Definition at line 133 of file 42richText.php.
Peak memory usage |
Definition at line 155 of file 42richText.php.
Rename worksheet |
Definition at line 116 of file 42richText.php.