@@ 1768-1770 (lines=3) @@ | ||
1765 | if (isset($style->font)) { |
|
1766 | $docStyle->getFont()->setName((string) $style->font->name["val"]); |
|
1767 | $docStyle->getFont()->setSize((string) $style->font->sz["val"]); |
|
1768 | if (isset($style->font->b)) { |
|
1769 | $docStyle->getFont()->setBold(!isset($style->font->b["val"]) || $style->font->b["val"] == 'true' || $style->font->b["val"] == '1'); |
|
1770 | } |
|
1771 | if (isset($style->font->i)) { |
|
1772 | $docStyle->getFont()->setItalic(!isset($style->font->i["val"]) || $style->font->i["val"] == 'true' || $style->font->i["val"] == '1'); |
|
1773 | } |
|
@@ 1771-1773 (lines=3) @@ | ||
1768 | if (isset($style->font->b)) { |
|
1769 | $docStyle->getFont()->setBold(!isset($style->font->b["val"]) || $style->font->b["val"] == 'true' || $style->font->b["val"] == '1'); |
|
1770 | } |
|
1771 | if (isset($style->font->i)) { |
|
1772 | $docStyle->getFont()->setItalic(!isset($style->font->i["val"]) || $style->font->i["val"] == 'true' || $style->font->i["val"] == '1'); |
|
1773 | } |
|
1774 | if (isset($style->font->strike)) { |
|
1775 | $docStyle->getFont()->setStrikethrough(!isset($style->font->strike["val"]) || $style->font->strike["val"] == 'true' || $style->font->strike["val"] == '1'); |
|
1776 | } |
|
@@ 1774-1776 (lines=3) @@ | ||
1771 | if (isset($style->font->i)) { |
|
1772 | $docStyle->getFont()->setItalic(!isset($style->font->i["val"]) || $style->font->i["val"] == 'true' || $style->font->i["val"] == '1'); |
|
1773 | } |
|
1774 | if (isset($style->font->strike)) { |
|
1775 | $docStyle->getFont()->setStrikethrough(!isset($style->font->strike["val"]) || $style->font->strike["val"] == 'true' || $style->font->strike["val"] == '1'); |
|
1776 | } |
|
1777 | $docStyle->getFont()->getColor()->setARGB(self::_readColor($style->font->color)); |
|
1778 | ||
1779 | if (isset($style->font->u) && !isset($style->font->u["val"])) { |