@@ 1921-1924 (lines=4) @@ | ||
1918 | $objText->getFont()->setColor( new PHPExcel_Style_Color( self::_readColor($run->rPr->color) ) ); |
|
1919 | } |
|
1920 | ||
1921 | if ( (isset($run->rPr->b["val"]) && ((string) $run->rPr->b["val"] == 'true' || (string) $run->rPr->b["val"] == '1')) |
|
1922 | || (isset($run->rPr->b) && !isset($run->rPr->b["val"])) ) { |
|
1923 | $objText->getFont()->setBold(true); |
|
1924 | } |
|
1925 | ||
1926 | if ( (isset($run->rPr->i["val"]) && ((string) $run->rPr->i["val"] == 'true' || (string) $run->rPr->i["val"] == '1')) |
|
1927 | || (isset($run->rPr->i) && !isset($run->rPr->i["val"])) ) { |
|
@@ 1926-1929 (lines=4) @@ | ||
1923 | $objText->getFont()->setBold(true); |
|
1924 | } |
|
1925 | ||
1926 | if ( (isset($run->rPr->i["val"]) && ((string) $run->rPr->i["val"] == 'true' || (string) $run->rPr->i["val"] == '1')) |
|
1927 | || (isset($run->rPr->i) && !isset($run->rPr->i["val"])) ) { |
|
1928 | $objText->getFont()->setItalic(true); |
|
1929 | } |
|
1930 | ||
1931 | if (isset($run->rPr->vertAlign) && isset($run->rPr->vertAlign["val"])) { |
|
1932 | $vertAlign = strtolower((string)$run->rPr->vertAlign["val"]); |
|
@@ 1947-1950 (lines=4) @@ | ||
1944 | $objText->getFont()->setUnderline((string)$run->rPr->u["val"]); |
|
1945 | } |
|
1946 | ||
1947 | if ( (isset($run->rPr->strike["val"]) && ((string) $run->rPr->strike["val"] == 'true' || (string) $run->rPr->strike["val"] == '1')) |
|
1948 | || (isset($run->rPr->strike) && !isset($run->rPr->strike["val"])) ) { |
|
1949 | $objText->getFont()->setStrikethrough(true); |
|
1950 | } |
|
1951 | } |
|
1952 | } |
|
1953 | } |