@@ 1929-1933 (lines=5) @@ | ||
1926 | } |
|
1927 | $docStyle->getFont()->getColor()->setARGB(self::readColor($style->font->color)); |
|
1928 | ||
1929 | if (isset($style->font->u) && !isset($style->font->u['val'])) { |
|
1930 | $docStyle->getFont()->setUnderline(Style\Font::UNDERLINE_SINGLE); |
|
1931 | } elseif (isset($style->font->u) && isset($style->font->u['val'])) { |
|
1932 | $docStyle->getFont()->setUnderline((string) $style->font->u['val']); |
|
1933 | } |
|
1934 | ||
1935 | if (isset($style->font->vertAlign) && isset($style->font->vertAlign['val'])) { |
|
1936 | $vertAlign = strtolower((string) $style->font->vertAlign['val']); |
|
@@ 2095-2099 (lines=5) @@ | ||
2092 | $objText->getFont()->setSubScript(true); |
|
2093 | } |
|
2094 | } |
|
2095 | if (isset($run->rPr->u) && !isset($run->rPr->u['val'])) { |
|
2096 | $objText->getFont()->setUnderline(Style\Font::UNDERLINE_SINGLE); |
|
2097 | } elseif (isset($run->rPr->u) && isset($run->rPr->u['val'])) { |
|
2098 | $objText->getFont()->setUnderline((string) $run->rPr->u['val']); |
|
2099 | } |
|
2100 | if ((isset($run->rPr->strike['val']) && self::boolean((string) $run->rPr->strike['val'])) || |
|
2101 | (isset($run->rPr->strike) && !isset($run->rPr->strike['val']))) { |
|
2102 | $objText->getFont()->setStrikethrough(true); |