You are here

public function PHPExcel::addCellStyleXf in Loft Data Grids 6.2

Same name and namespace in other branches
  1. 7.2 vendor/phpoffice/phpexcel/Classes/PHPExcel.php \PHPExcel::addCellStyleXf()

Add a cellStyleXf to the workbook

Parameters

PHPExcel_Style $pStyle:

1 call to PHPExcel::addCellStyleXf()
PHPExcel::__construct in vendor/phpoffice/phpexcel/Classes/PHPExcel.php
* Create a new PHPExcel with one Worksheet

File

vendor/phpoffice/phpexcel/Classes/PHPExcel.php, line 1027

Class

PHPExcel
PHPExcel

Code

public function addCellStyleXf(PHPExcel_Style $pStyle) {
  $this->_cellStyleXfCollection[] = $pStyle;
  $pStyle
    ->setIndex(count($this->_cellStyleXfCollection) - 1);
}