@@ 1325-1327 (lines=3) @@ | ||
1322 | $cssClass .= ' ' . $cell->getDataType(); |
|
1323 | } else { |
|
1324 | if ($cellType == 'th') { |
|
1325 | if (isset($this->cssStyles['th.style' . $cell->getXfIndex()])) { |
|
1326 | $cssClass = array_merge($cssClass, $this->cssStyles['th.style' . $cell->getXfIndex()]); |
|
1327 | } |
|
1328 | } else { |
|
1329 | if (isset($this->cssStyles['td.style' . $cell->getXfIndex()])) { |
|
1330 | $cssClass = array_merge($cssClass, $this->cssStyles['td.style' . $cell->getXfIndex()]); |
|
@@ 1328-1332 (lines=5) @@ | ||
1325 | if (isset($this->cssStyles['th.style' . $cell->getXfIndex()])) { |
|
1326 | $cssClass = array_merge($cssClass, $this->cssStyles['th.style' . $cell->getXfIndex()]); |
|
1327 | } |
|
1328 | } else { |
|
1329 | if (isset($this->cssStyles['td.style' . $cell->getXfIndex()])) { |
|
1330 | $cssClass = array_merge($cssClass, $this->cssStyles['td.style' . $cell->getXfIndex()]); |
|
1331 | } |
|
1332 | } |
|
1333 | ||
1334 | // General horizontal alignment: Actual horizontal alignment depends on dataType |
|
1335 | $sharedStyle = $pSheet->getParent()->getCellXfByIndex($cell->getXfIndex()); |