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