@@ 1306-1308 (lines=3) @@ | ||
1303 | $cssClass .= ' ' . $cell->getDataType(); |
|
1304 | } else { |
|
1305 | if ($cellType == 'th') { |
|
1306 | if (isset($this->cssStyles['th.style' . $cell->getXfIndex()])) { |
|
1307 | $cssClass = array_merge($cssClass, $this->cssStyles['th.style' . $cell->getXfIndex()]); |
|
1308 | } |
|
1309 | } else { |
|
1310 | if (isset($this->cssStyles['td.style' . $cell->getXfIndex()])) { |
|
1311 | $cssClass = array_merge($cssClass, $this->cssStyles['td.style' . $cell->getXfIndex()]); |
|
@@ 1309-1313 (lines=5) @@ | ||
1306 | if (isset($this->cssStyles['th.style' . $cell->getXfIndex()])) { |
|
1307 | $cssClass = array_merge($cssClass, $this->cssStyles['th.style' . $cell->getXfIndex()]); |
|
1308 | } |
|
1309 | } else { |
|
1310 | if (isset($this->cssStyles['td.style' . $cell->getXfIndex()])) { |
|
1311 | $cssClass = array_merge($cssClass, $this->cssStyles['td.style' . $cell->getXfIndex()]); |
|
1312 | } |
|
1313 | } |
|
1314 | ||
1315 | // General horizontal alignment: Actual horizontal alignment depends on dataType |
|
1316 | $sharedStyle = $pSheet->getParent()->getCellXfByIndex($cell->getXfIndex()); |