diff --git a/Classes/PHPExcel/Cell.php b/Classes/PHPExcel/Cell.php index 6bf16ee6..6dec3a83 100644 --- a/Classes/PHPExcel/Cell.php +++ b/Classes/PHPExcel/Cell.php @@ -935,5 +935,15 @@ class PHPExcel_Cell return $this->_formulaAttributes; } + /** + * Convert to string + * + * @return string + */ + public function __toString() + { + return (string) $this->getValue(); + } + } diff --git a/changelog.txt b/changelog.txt index ec0a7638..55342932 100644 --- a/changelog.txt +++ b/changelog.txt @@ -81,6 +81,8 @@ Fixed in develop branch: - Feature: (MBaker) Modified ERF and ERFC Engineering functions to accept Excel 2010's modified acceptance of negative arguments - General: (alexgann) Add Currency detection to the Advanced Value Binder - General: (MBaker) Work item 18404 - setCellValueExplicitByColumnAndRow() do not return PHPExcel_Worksheet +- General: (MBaker) Work item 18324 - Reader factory doesn't read anymore XLTX and XLT files +- General: (MBaker) Magic __toString() method added to Cell object to return raw data value as a string - Bugfix: (cyberconte) Patch 12318 - OOCalc cells containing inside the tag - Bugfix: (schir1964) Fix to listWorksheetInfo() method for OOCalc Reader - Bugfix: (MBaker) Support for "e" (epoch) date format mask