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