public function addCellXf(Style $style)
    {
        $this->cellXfCollection[] = $style;
        $style->setIndex(count($this->cellXfCollection) - 1);
    }
public function addCellXf(Style $style)
    {
        $this->cellXfCollection[] = $style;
        $style->setIndex(count($this->cellXfCollection) - 1);
    }
public function addCellXf ( Style $ style ) { $ this -> cellXfCollection [ ] = $ style ; $ style -> setIndex ( count ( $ this -> cellXfCollection ) - 1 ) ; }
Add a cellXf to the workbook.

@param Style $style
Add a cellXf to the workbook .