@@ 1911-1915 (lines=5) @@ | ||
1908 | } |
|
1909 | $docStyle->getFont()->getColor()->setARGB(self::readColor($style->font->color)); |
|
1910 | ||
1911 | if (isset($style->font->u) && !isset($style->font->u['val'])) { |
|
1912 | $docStyle->getFont()->setUnderline(Style\Font::UNDERLINE_SINGLE); |
|
1913 | } elseif (isset($style->font->u) && isset($style->font->u['val'])) { |
|
1914 | $docStyle->getFont()->setUnderline((string) $style->font->u['val']); |
|
1915 | } |
|
1916 | ||
1917 | if (isset($style->font->vertAlign) && isset($style->font->vertAlign['val'])) { |
|
1918 | $vertAlign = strtolower((string) $style->font->vertAlign['val']); |
|
@@ 2077-2081 (lines=5) @@ | ||
2074 | $objText->getFont()->setSubScript(true); |
|
2075 | } |
|
2076 | } |
|
2077 | if (isset($run->rPr->u) && !isset($run->rPr->u['val'])) { |
|
2078 | $objText->getFont()->setUnderline(Style\Font::UNDERLINE_SINGLE); |
|
2079 | } elseif (isset($run->rPr->u) && isset($run->rPr->u['val'])) { |
|
2080 | $objText->getFont()->setUnderline((string) $run->rPr->u['val']); |
|
2081 | } |
|
2082 | if ((isset($run->rPr->strike['val']) && self::boolean((string) $run->rPr->strike['val'])) || |
|
2083 | (isset($run->rPr->strike) && !isset($run->rPr->strike['val']))) { |
|
2084 | $objText->getFont()->setStrikethrough(true); |