Support all ODS cell types

Including:
- date / time
- currency
- percentage
- void

And improved support for boolean
This commit is contained in:
Adrien Loison committed 2015-09-02 14:03:38 -07:00
1 parent aa7978146f
commit 818ec2488c
8 files changed
+112 -34

No files matched your search

+1 -1
View File
@@ -174,7 +174,7 @@ class RowIterator implements IteratorInterface
* Returns the (unescaped) correctly marshalled, cell value associated to the given XML node.
*
* @param \DOMNode $node
* @return string|int|float|bool The value associated with the cell (or empty string if cell's type is undefined)
* @return string|int|float|bool|\DateTime|\DateInterval|null The value associated with the cell, empty string if cell's type is void/undefined, null on error
*/
protected function getCellValue($node)
{