Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions SpreadsheetReader_ODS.php
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,13 @@ public function next()
}
else
{
$LastCellContent = '';
// If there is an office value for this cell use that instead of what is actually in the cell; stops formating errors like incorrect scientific notation
if ($this -> Content -> getAttribute('office:value') !== null)
{
$LastCellContent = $this -> Content -> getAttribute('office:value');
} else {
$LastCellContent = '';
}
}
case 'text:p':
if ($this -> Content -> nodeType != XMLReader::END_ELEMENT)
Expand Down Expand Up @@ -336,4 +342,4 @@ public function count()
return $this -> Index + 1;
}
}
?>
?>