AshishJoshi-asj / php-excel-reader

Automatically exported from code.google.com/p/php-excel-reader
0 stars 0 forks source link

raw data not stored on store_extended_info = false #145

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I suggest to not handle the raw data as extended_info. The raw data is not 
available on formated cell if store_extended_info is deactivated.

On line 1693 change the code to this:

if ($info) {
   foreach ($info as $key => $val) 
   {
      if($this->store_extended_info == true || $key == "raw")
      {
         $this->sheets[$this->sn]['cellsInfo'][$row + $this->_rowoffset][$col + $this->_coloffset][$key] = $val;
      }
   }
}

Original issue reported on code.google.com by philippm...@gmail.com on 9 Apr 2012 at 10:25