@@ 1779-1783 (lines=5) @@ | ||
1776 | } |
|
1777 | $docStyle->getFont()->getColor()->setARGB(self::_readColor($style->font->color)); |
|
1778 | ||
1779 | if (isset($style->font->u) && !isset($style->font->u["val"])) { |
|
1780 | $docStyle->getFont()->setUnderline(PHPExcel_Style_Font::UNDERLINE_SINGLE); |
|
1781 | } else if (isset($style->font->u) && isset($style->font->u["val"])) { |
|
1782 | $docStyle->getFont()->setUnderline((string)$style->font->u["val"]); |
|
1783 | } |
|
1784 | ||
1785 | if (isset($style->font->vertAlign) && isset($style->font->vertAlign["val"])) { |
|
1786 | $vertAlign = strtolower((string)$style->font->vertAlign["val"]); |
|
@@ 1941-1945 (lines=5) @@ | ||
1938 | } |
|
1939 | } |
|
1940 | ||
1941 | if (isset($run->rPr->u) && !isset($run->rPr->u["val"])) { |
|
1942 | $objText->getFont()->setUnderline(PHPExcel_Style_Font::UNDERLINE_SINGLE); |
|
1943 | } else if (isset($run->rPr->u) && isset($run->rPr->u["val"])) { |
|
1944 | $objText->getFont()->setUnderline((string)$run->rPr->u["val"]); |
|
1945 | } |
|
1946 | ||
1947 | if ( (isset($run->rPr->strike["val"]) && ((string) $run->rPr->strike["val"] == 'true' || (string) $run->rPr->strike["val"] == '1')) |
|
1948 | || (isset($run->rPr->strike) && !isset($run->rPr->strike["val"])) ) { |