3 require_once
'Modules/Test/classes/inc.AssessmentConstants.php';
4 require_once
'Services/Excel/classes/class.ilExcel.php';
21 parent::__construct();
40 if (is_string($a_value) && !is_numeric($a_value)) {
41 $this->workbook->getActiveSheet()->setCellValueExplicit(
44 \
PhpOffice\PhpSpreadsheet\Cell\DataType::TYPE_STRING,
48 parent::setCellByCoordinates($a_coords, $a_value);
55 public function setCell($a_row, $a_col, $a_value, $datatype=null)
57 if (is_string($a_value) && !is_numeric($a_value)) {
58 $this->workbook->getActiveSheet()->setCellValueExplicitByColumnAndRow(
62 \
PhpOffice\PhpSpreadsheet\Cell\DataType::TYPE_STRING,
66 parent::setCell($a_row, $a_col, $a_value);
76 if ($this->stringEscaping ==
false) {
79 return strip_tags($a_value);
const EXCEL_BACKGROUND_COLOR
setBold($a_coords)
Set cell(s) to bold.
setColors($a_coords, $a_background, $a_font=null)
Set cell(s) colors.
prepareValue($a_value)
Prepare value for cell.