@@ 458-460 (lines=3) @@ | ||
455 | case 'Size': |
|
456 | $this->styles[$styleID]['font']['size'] = $styleAttributeValue; |
|
457 | break; |
|
458 | case 'Color': |
|
459 | $this->styles[$styleID]['font']['color']['rgb'] = substr($styleAttributeValue, 1); |
|
460 | break; |
|
461 | case 'Bold': |
|
462 | $this->styles[$styleID]['font']['bold'] = true; |
|
463 | break; |
|
@@ 478-480 (lines=3) @@ | ||
475 | case 'Interior': |
|
476 | foreach ($styleAttributes as $styleAttributeKey => $styleAttributeValue) { |
|
477 | switch ($styleAttributeKey) { |
|
478 | case 'Color': |
|
479 | $this->styles[$styleID]['fill']['color']['rgb'] = substr($styleAttributeValue, 1); |
|
480 | break; |
|
481 | case 'Pattern': |
|
482 | $this->styles[$styleID]['fill']['type'] = strtolower($styleAttributeValue); |
|
483 | break; |