Inline styles for HTML not yet implemented

This commit is contained in:
MarkBaker 2015-01-12 23:18:46 +00:00
parent 5e24bcfedc
commit c7da475ef9

View File

@ -395,13 +395,13 @@ class PHPExcel_Reader_HTML extends PHPExcel_Reader_Abstract implements PHPExcel_
$this->_flushCell($sheet, $column, $row, $cellContent); $this->_flushCell($sheet, $column, $row, $cellContent);
if (isset($attributeArray['style']) && !empty($attributeArray['style'])) { // if (isset($attributeArray['style']) && !empty($attributeArray['style'])) {
$styleAry = $this->getPhpExcelStyleArray($attributeArray['style']); // $styleAry = $this->getPhpExcelStyleArray($attributeArray['style']);
//
if (!empty($styleAry)) { // if (!empty($styleAry)) {
$sheet->getStyle($column . $row)->applyFromArray($styleAry); // $sheet->getStyle($column . $row)->applyFromArray($styleAry);
} // }
} // }
if (isset($attributeArray['rowspan']) && isset($attributeArray['colspan'])) { if (isset($attributeArray['rowspan']) && isset($attributeArray['colspan'])) {
//create merging rowspan and colspan //create merging rowspan and colspan