@@ 1278-1280 (lines=3) @@ | ||
1275 | $cssClass .= ' ' . $cell->getDataType(); |
|
1276 | } else { |
|
1277 | if ($cellType == 'th') { |
|
1278 | if (isset($this->cssStyles['th.style' . $cell->getXfIndex()])) { |
|
1279 | $cssClass = array_merge($cssClass, $this->cssStyles['th.style' . $cell->getXfIndex()]); |
|
1280 | } |
|
1281 | } else { |
|
1282 | if (isset($this->cssStyles['td.style' . $cell->getXfIndex()])) { |
|
1283 | $cssClass = array_merge($cssClass, $this->cssStyles['td.style' . $cell->getXfIndex()]); |
|
@@ 1281-1285 (lines=5) @@ | ||
1278 | if (isset($this->cssStyles['th.style' . $cell->getXfIndex()])) { |
|
1279 | $cssClass = array_merge($cssClass, $this->cssStyles['th.style' . $cell->getXfIndex()]); |
|
1280 | } |
|
1281 | } else { |
|
1282 | if (isset($this->cssStyles['td.style' . $cell->getXfIndex()])) { |
|
1283 | $cssClass = array_merge($cssClass, $this->cssStyles['td.style' . $cell->getXfIndex()]); |
|
1284 | } |
|
1285 | } |
|
1286 | ||
1287 | // General horizontal alignment: Actual horizontal alignment depends on dataType |
|
1288 | $sharedStyle = $pSheet->getParent()->getCellXfByIndex($cell->getXfIndex()); |