From f1ab2f022fdc780aca0944d90e9a0e844a0820d7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anton=20Luka=20=C5=A0ijanec?= Date: Mon, 27 May 2024 13:12:17 +0200 Subject: =?UTF-8?q?2024-02-19:=20popravljen=20(prej=C5=A1nji=20commit=20je?= =?UTF-8?q?=20napa=C4=8Den)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- admin/survey/excel/PHPExcel/RichText/Run.php | 102 --------------------------- 1 file changed, 102 deletions(-) delete mode 100644 admin/survey/excel/PHPExcel/RichText/Run.php (limited to 'admin/survey/excel/PHPExcel/RichText/Run.php') diff --git a/admin/survey/excel/PHPExcel/RichText/Run.php b/admin/survey/excel/PHPExcel/RichText/Run.php deleted file mode 100644 index 1e0442e..0000000 --- a/admin/survey/excel/PHPExcel/RichText/Run.php +++ /dev/null @@ -1,102 +0,0 @@ -setText($pText); - $this->_font = new PHPExcel_Style_Font(); - } - - /** - * Get font - * - * @return PHPExcel_Style_Font - */ - public function getFont() { - return $this->_font; - } - - /** - * Set font - * - * @param PHPExcel_Style_Font $pFont Font - * @throws Exception - * @return PHPExcel_RichText_ITextElement - */ - public function setFont(PHPExcel_Style_Font $pFont = null) { - $this->_font = $pFont; - return $this; - } - - /** - * Get hash code - * - * @return string Hash code - */ - public function getHashCode() { - return md5( - $this->getText() - . $this->_font->getHashCode() - . __CLASS__ - ); - } - - /** - * Implement PHP __clone to create a deep clone, not just a shallow copy. - */ - public function __clone() { - $vars = get_object_vars($this); - foreach ($vars as $key => $value) { - if (is_object($value)) { - $this->$key = clone $value; - } else { - $this->$key = $value; - } - } - } -} -- cgit v1.2.3