54 $this->_richTextElements = array();
57 if (!is_null($pCell)) {
59 if ($pCell->getValue() !=
"") {
61 $objRun->
setFont(clone $pCell->getParent()->getStyle($pCell->getCoordinate())->getFont());
79 $this->_richTextElements[] = $pText;
122 foreach ($this->_richTextElements as $text) {
123 $returnValue .= $text->getText();
158 if (is_array($pElements)) {
159 $this->_richTextElements = $pElements;
161 throw new Exception(
"Invalid PHPExcel_RichText_ITextElement[] array passed.");
173 foreach ($this->_richTextElements as $element) {
174 $hashElements .= $element->getHashCode();
187 $vars = get_object_vars($this);
188 foreach ($vars as $key => $value) {
189 if (is_object($value)) {
190 $this->$key = clone $value;
192 $this->$key = $value;