You are here

public function PHPExcel_Shared_OLE_PPS::_getPpsWk in Loft Data Grids 6.2

Same name and namespace in other branches
  1. 7.2 vendor/phpoffice/phpexcel/Classes/PHPExcel/Shared/OLE/PPS.php \PHPExcel_Shared_OLE_PPS::_getPpsWk()

* Returns a string with the PPS's WK (What is a WK?) * * @access public *

Return value

string The binary string

File

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

Class

PHPExcel_Shared_OLE_PPS
Class for creating PPS's for OLE containers

Code

public function _getPpsWk() {
  $ret = str_pad($this->Name, 64, "\0");
  $ret .= pack("v", strlen($this->Name) + 2) . pack("c", $this->Type) . pack("c", 0x0) . pack("V", $this->PrevPps) . pack("V", $this->NextPps) . pack("V", $this->DirPps) . "\0\t\2\0" . "\0\0\0\0" . "" . "\0\0\0F" . "\0\0\0\0" . PHPExcel_Shared_OLE::LocalDate2OLE($this->Time1st) . PHPExcel_Shared_OLE::LocalDate2OLE($this->Time2nd) . pack("V", isset($this->_StartBlock) ? $this->_StartBlock : 0) . pack("V", $this->Size) . pack("V", 0);

  // 128
  return $ret;
}