You are here

public function PHPExcel_Shared_OLE::_getBlockOffset in Loft Data Grids 7.2

Same name and namespace in other branches
  1. 6.2 vendor/phpoffice/phpexcel/Classes/PHPExcel/Shared/OLE.php \PHPExcel_Shared_OLE::_getBlockOffset()

*

Parameters

int block id: * @param int byte offset from beginning of file * @access public

1 call to PHPExcel_Shared_OLE::_getBlockOffset()
PHPExcel_Shared_OLE::read in vendor/phpoffice/phpexcel/Classes/PHPExcel/Shared/OLE.php
* Reads an OLE container from the contents of the file given. * * @acces public *

File

vendor/phpoffice/phpexcel/Classes/PHPExcel/Shared/OLE.php, line 186

Class

PHPExcel_Shared_OLE
OLE package base class.

Code

public function _getBlockOffset($blockId) {
  return 512 + $blockId * $this->bigBlockSize;
}