@@ 1950-1954 (lines=5) @@ | ||
1947 | } |
|
1948 | $docStyle->getFont()->getColor()->setARGB(self::readColor($style->font->color)); |
|
1949 | ||
1950 | if (isset($style->font->u) && !isset($style->font->u["val"])) { |
|
1951 | $docStyle->getFont()->setUnderline(\PhpSpreadsheet\Style\Font::UNDERLINE_SINGLE); |
|
1952 | } elseif (isset($style->font->u) && isset($style->font->u["val"])) { |
|
1953 | $docStyle->getFont()->setUnderline((string)$style->font->u["val"]); |
|
1954 | } |
|
1955 | ||
1956 | if (isset($style->font->vertAlign) && isset($style->font->vertAlign["val"])) { |
|
1957 | $vertAlign = strtolower((string)$style->font->vertAlign["val"]); |
|
@@ 2106-2110 (lines=5) @@ | ||
2103 | $objText->getFont()->setSubScript(true); |
|
2104 | } |
|
2105 | } |
|
2106 | if (isset($run->rPr->u) && !isset($run->rPr->u["val"])) { |
|
2107 | $objText->getFont()->setUnderline(\PhpSpreadsheet\Style\Font::UNDERLINE_SINGLE); |
|
2108 | } elseif (isset($run->rPr->u) && isset($run->rPr->u["val"])) { |
|
2109 | $objText->getFont()->setUnderline((string)$run->rPr->u["val"]); |
|
2110 | } |
|
2111 | if ((isset($run->rPr->strike["val"]) && self::boolean((string) $run->rPr->strike["val"])) || |
|
2112 | (isset($run->rPr->strike) && !isset($run->rPr->strike["val"]))) { |
|
2113 | $objText->getFont()->setStrikethrough(true); |