private static function PHPExcel_Writer_Excel5_Font::_mapBold in Loft Data Grids 7.2
Same name and namespace in other branches
- 6.2 vendor/phpoffice/phpexcel/Classes/PHPExcel/Writer/Excel5/Font.php \PHPExcel_Writer_Excel5_Font::_mapBold()
* Map to BIFF5-BIFF8 codes for bold * *
Parameters
boolean $bold: * @return int
1 call to PHPExcel_Writer_Excel5_Font::_mapBold()
- PHPExcel_Writer_Excel5_Font::writeFont in vendor/
phpoffice/ phpexcel/ Classes/ PHPExcel/ Writer/ Excel5/ Font.php - * Get font record data * *
File
- vendor/
phpoffice/ phpexcel/ Classes/ PHPExcel/ Writer/ Excel5/ Font.php, line 135
Class
- PHPExcel_Writer_Excel5_Font
- PHPExcel_Writer_Excel5_Font
Code
private static function _mapBold($bold) {
if ($bold) {
return 0x2bc;
// 700 = Bold font weight
}
return 0x190;
// 400 = Normal font weight
}