From ad93065ee3f09fe8ae9daeaf53aa64fe07b9e0fe Mon Sep 17 00:00:00 2001 From: Juan Manuel Osorio Gerdts Date: Mon, 11 Jun 2018 16:10:53 +0200 Subject: [PATCH] Handle values of type InlineString --- src/Xlsx/RowIterator.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/Xlsx/RowIterator.php b/src/Xlsx/RowIterator.php index 389d817..4d67bd1 100644 --- a/src/Xlsx/RowIterator.php +++ b/src/Xlsx/RowIterator.php @@ -146,6 +146,14 @@ public function next() case 'is': $rowBuilder->addValue($columnIndex, $this->xml->readString()); break; + case 't': + if($type == ValueTransformer::TYPE_INLINE_STRING) { + $rowBuilder->addValue( + $columnIndex, + $this->valueTransformer->transform($this->xml->readString(), $type, $style) + ); + } + break; } } elseif (\XMLReader::END_ELEMENT === $this->xml->nodeType) { switch ($this->xml->name) {