@@ 1900-1904 (lines=5) @@ | ||
1897 | } |
|
1898 | $docStyle->getFont()->getColor()->setARGB(self::readColor($style->font->color)); |
|
1899 | ||
1900 | if (isset($style->font->u) && !isset($style->font->u['val'])) { |
|
1901 | $docStyle->getFont()->setUnderline(\PhpOffice\PhpSpreadsheet\Style\Font::UNDERLINE_SINGLE); |
|
1902 | } elseif (isset($style->font->u) && isset($style->font->u['val'])) { |
|
1903 | $docStyle->getFont()->setUnderline((string) $style->font->u['val']); |
|
1904 | } |
|
1905 | ||
1906 | if (isset($style->font->vertAlign) && isset($style->font->vertAlign['val'])) { |
|
1907 | $vertAlign = strtolower((string) $style->font->vertAlign['val']); |
|
@@ 2056-2060 (lines=5) @@ | ||
2053 | $objText->getFont()->setSubScript(true); |
|
2054 | } |
|
2055 | } |
|
2056 | if (isset($run->rPr->u) && !isset($run->rPr->u['val'])) { |
|
2057 | $objText->getFont()->setUnderline(\PhpOffice\PhpSpreadsheet\Style\Font::UNDERLINE_SINGLE); |
|
2058 | } elseif (isset($run->rPr->u) && isset($run->rPr->u['val'])) { |
|
2059 | $objText->getFont()->setUnderline((string) $run->rPr->u['val']); |
|
2060 | } |
|
2061 | if ((isset($run->rPr->strike['val']) && self::boolean((string) $run->rPr->strike['val'])) || |
|
2062 | (isset($run->rPr->strike) && !isset($run->rPr->strike['val']))) { |
|
2063 | $objText->getFont()->setStrikethrough(true); |