45 $result = @include_once
'Spreadsheet/Excel/Writer.php';
48 $ilias->raiseError($lng->txt(
"error_no_excel_support"), $ilias->error_obj->WARNING);
53 $this->workbook->send($a_filename);
60 if(strlen($tmp = ini_get(
'upload_tmp_dir')))
62 $this->workbook->setTempDir($tmp);
85 return $this->format_title;
89 return $this->format_date;
93 return $this->format_day_time;
99 $this->format_bold =& $this->workbook->addFormat();
100 $this->format_bold->setBold();
104 $this->format_header =& $this->workbook->addFormat();
105 $this->format_header->setBold();
106 $this->format_header->setTop(100);
107 $this->format_header->setColor(
'black');
108 $this->format_header->setPattern(1);
109 $this->format_header->setFgColor(
'silver');
113 $this->format_title =& $this->workbook->addFormat();
114 $this->format_title->setBold();
115 $this->format_title->setColor(
'black');
116 $this->format_title->setPattern(1);
117 $this->format_title->setSize(16);
118 $this->format_title->setAlign(
'center');
122 $this->format_date =& $this->workbook->addFormat();
123 $this->format_date->setNumFormat(
"YYYY-MM-DD hh:mm:ss");
128 $this->format_day_time =& $this->workbook->addFormat();
129 $this->format_day_time->setNumFormat(
"DD:hh:mm:ss");