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