28 if (!defined(
'PHPEXCEL_ROOT')) {
32 define(
'PHPEXCEL_ROOT', dirname(__FILE__) .
'/../../');
36 require_once PHPEXCEL_ROOT .
'PHPExcel/RichText/ITextElement.php';
39 require_once PHPEXCEL_ROOT .
'PHPExcel/RichText/TextElement.php';
42 require_once PHPEXCEL_ROOT .
'PHPExcel/Style/Font.php';
90 $this->_font = $pFont;
102 . $this->_font->getHashCode()
111 $vars = get_object_vars($this);
112 foreach ($vars as
$key => $value) {
113 if (is_object($value)) {
114 $this->
$key = clone $value;
116 $this->
$key = $value;