25 $result = @include_once
'Spreadsheet/Excel/Writer.php';
28 $ilias->raiseError($lng->txt(
"error_no_excel_support"), $ilias->error_obj->WARNING);
33 $this->workbook->send($a_filename);
40 if(strlen($tmp = ini_get(
'upload_tmp_dir')))
42 $this->workbook->setTempDir($tmp);
65 return $this->format_title;
69 return $this->format_date;
73 return $this->format_day_time;
79 $this->format_bold =& $this->workbook->addFormat();
80 $this->format_bold->setBold();
84 $this->format_header =& $this->workbook->addFormat();
85 $this->format_header->setBold();
86 $this->format_header->setTop(100);
87 $this->format_header->setColor(
'black');
88 $this->format_header->setPattern(1);
89 $this->format_header->setFgColor(
'silver');
93 $this->format_title =& $this->workbook->addFormat();
94 $this->format_title->setBold();
95 $this->format_title->setColor(
'black');
96 $this->format_title->setPattern(1);
97 $this->format_title->setSize(16);
98 $this->format_title->setAlign(
'center');
102 $this->format_date =& $this->workbook->addFormat();
103 $this->format_date->setNumFormat(
"YYYY-MM-DD hh:mm:ss");
108 $this->format_day_time =& $this->workbook->addFormat();
109 $this->format_day_time->setNumFormat(
"DD:hh:mm:ss");