@@ 1918-1922 (lines=5) @@ | ||
1915 | } |
|
1916 | $docStyle->getFont()->getColor()->setARGB(self::readColor($style->font->color)); |
|
1917 | ||
1918 | if (isset($style->font->u) && !isset($style->font->u['val'])) { |
|
1919 | $docStyle->getFont()->setUnderline(\PhpOffice\PhpSpreadsheet\Style\Font::UNDERLINE_SINGLE); |
|
1920 | } elseif (isset($style->font->u, $style->font->u['val'])) { |
|
1921 | $docStyle->getFont()->setUnderline((string) $style->font->u['val']); |
|
1922 | } |
|
1923 | ||
1924 | if (isset($style->font->vertAlign, $style->font->vertAlign['val'])) { |
|
1925 | $vertAlign = strtolower((string) $style->font->vertAlign['val']); |
|
@@ 2084-2088 (lines=5) @@ | ||
2081 | $objText->getFont()->setSubscript(true); |
|
2082 | } |
|
2083 | } |
|
2084 | if (isset($run->rPr->u) && !isset($run->rPr->u['val'])) { |
|
2085 | $objText->getFont()->setUnderline(\PhpOffice\PhpSpreadsheet\Style\Font::UNDERLINE_SINGLE); |
|
2086 | } elseif (isset($run->rPr->u, $run->rPr->u['val'])) { |
|
2087 | $objText->getFont()->setUnderline((string) $run->rPr->u['val']); |
|
2088 | } |
|
2089 | if ((isset($run->rPr->strike['val']) && self::boolean((string) $run->rPr->strike['val'])) || |
|
2090 | (isset($run->rPr->strike) && !isset($run->rPr->strike['val']))) { |
|
2091 | $objText->getFont()->setStrikethrough(true); |