private function PHPExcel_Writer_Excel5_Workbook::_writeCountry in Loft Data Grids 7.2
Same name and namespace in other branches
- 6.2 vendor/phpoffice/phpexcel/Classes/PHPExcel/Writer/Excel5/Workbook.php \PHPExcel_Writer_Excel5_Workbook::_writeCountry()
* Stores the COUNTRY record for localization * *
Return value
string
1 call to PHPExcel_Writer_Excel5_Workbook::_writeCountry()
- PHPExcel_Writer_Excel5_Workbook::writeWorkbook in vendor/
phpoffice/ phpexcel/ Classes/ PHPExcel/ Writer/ Excel5/ Workbook.php - * Assemble worksheets into a workbook and send the BIFF data to an OLE * storage. * *
File
- vendor/
phpoffice/ phpexcel/ Classes/ PHPExcel/ Writer/ Excel5/ Workbook.php, line 1230
Class
- PHPExcel_Writer_Excel5_Workbook
- PHPExcel_Writer_Excel5_Workbook
Code
private function _writeCountry() {
$record = 0x8c;
// Record identifier
$length = 4;
// Number of bytes to follow
$header = pack('vv', $record, $length);
/* using the same country code always for simplicity */
$data = pack('vv', $this->_country_code, $this->_country_code);
//$this->_append($header . $data);
return $this
->writeData($header . $data);
}