From c99ec67d6897b609d395e7b8d0f820e7a77f370a Mon Sep 17 00:00:00 2001 From: Balint Kovacs Date: Sun, 2 Oct 2016 23:06:51 +0200 Subject: [PATCH] Fix hyperlink reading in ODS files --- src/PhpSpreadsheet/Reader/OOCalc.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/PhpSpreadsheet/Reader/OOCalc.php b/src/PhpSpreadsheet/Reader/OOCalc.php index bf1dfc33..8fbece26 100644 --- a/src/PhpSpreadsheet/Reader/OOCalc.php +++ b/src/PhpSpreadsheet/Reader/OOCalc.php @@ -485,6 +485,9 @@ class OOCalc extends BaseReader implements IReader $spanSection .= $spanData; } array_push($dataArray, $spanSection); + } elseif (isset($pData->a)) { + //Reading the hyperlinks in p + array_push($dataArray, $pData->a); } else { array_push($dataArray, $pData); }