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