public function PHPExcel::getDefaultStyle in Loft Data Grids 6.2
Same name and namespace in other branches
- 7.2 vendor/phpoffice/phpexcel/Classes/PHPExcel.php \PHPExcel::getDefaultStyle()
Get default style
Return value
Throws
File
- vendor/
phpoffice/ phpexcel/ Classes/ PHPExcel.php, line 925
Class
- PHPExcel
- PHPExcel
Code
public function getDefaultStyle() {
if (isset($this->_cellXfCollection[0])) {
return $this->_cellXfCollection[0];
}
throw new PHPExcel_Exception('No default style found for this workbook');
}