You are here

private function PHPExcel_Reader_Excel5::_loadOLE in Loft Data Grids 6.2

Same name and namespace in other branches
  1. 7.2 vendor/phpoffice/phpexcel/Classes/PHPExcel/Reader/Excel5.php \PHPExcel_Reader_Excel5::_loadOLE()

* Use OLE reader to extract the relevant data streams from the OLE file * *

Parameters

string $pFilename:

3 calls to PHPExcel_Reader_Excel5::_loadOLE()
PHPExcel_Reader_Excel5::listWorksheetInfo in vendor/phpoffice/phpexcel/Classes/PHPExcel/Reader/Excel5.php
* Return worksheet info (Name, Last Column Letter, Last Column Index, Total Rows, Total Columns) * *
PHPExcel_Reader_Excel5::listWorksheetNames in vendor/phpoffice/phpexcel/Classes/PHPExcel/Reader/Excel5.php
* Reads names of the worksheets from a file, without parsing the whole file to a PHPExcel object * *
PHPExcel_Reader_Excel5::load in vendor/phpoffice/phpexcel/Classes/PHPExcel/Reader/Excel5.php
* Loads PHPExcel from file * *

File

vendor/phpoffice/phpexcel/Classes/PHPExcel/Reader/Excel5.php, line 1159

Class

PHPExcel_Reader_Excel5
PHPExcel_Reader_Excel5

Code

private function _loadOLE($pFilename) {

  // OLE reader
  $ole = new PHPExcel_Shared_OLERead();

  // get excel data,
  $res = $ole
    ->read($pFilename);

  // Get workbook data: workbook stream + sheet streams
  $this->_data = $ole
    ->getStream($ole->wrkbook);

  // Get summary information data
  $this->_summaryInformation = $ole
    ->getStream($ole->summaryInformation);

  // Get additional document summary information data
  $this->_documentSummaryInformation = $ole
    ->getStream($ole->documentSummaryInformation);

  // Get user-defined property data
  //		$this->_userDefinedProperties = $ole->getUserDefinedProperties();
}