You are here

private function PHPExcel_Writer_Excel5_Worksheet::_writeBoolErr in Loft Data Grids 7.2

Same name and namespace in other branches
  1. 6.2 vendor/phpoffice/phpexcel/Classes/PHPExcel/Writer/Excel5/Worksheet.php \PHPExcel_Writer_Excel5_Worksheet::_writeBoolErr()

* Write a boolean or an error type to the specified row and column (zero indexed) * *

Parameters

int $row Row index (0-based): * @param int $col Column index (0-based) * @param int $value * @param boolean $isError Error or Boolean? * @param int $xfIndex

1 call to PHPExcel_Writer_Excel5_Worksheet::_writeBoolErr()
PHPExcel_Writer_Excel5_Worksheet::close in vendor/phpoffice/phpexcel/Classes/PHPExcel/Writer/Excel5/Worksheet.php
* Add data to the beginning of the workbook (note the reverse order) * and to the end of the workbook. * * @access public *

File

vendor/phpoffice/phpexcel/Classes/PHPExcel/Writer/Excel5/Worksheet.php, line 839

Class

PHPExcel_Writer_Excel5_Worksheet
PHPExcel_Writer_Excel5_Worksheet

Code

private function _writeBoolErr($row, $col, $value, $isError, $xfIndex) {
  $record = 0x205;
  $length = 8;
  $header = pack("vv", $record, $length);
  $data = pack("vvvCC", $row, $col, $xfIndex, $value, $isError);
  $this
    ->_append($header . $data);
  return 0;
}