Example #1
0
 /**
  * Get style for cell
  *
  * @param string $pCellCoordinate Cell coordinate (or range) to get style for
  * @return PHPExcel_Style
  * @throws PHPExcel_Exception
  */
 public function getStyle($pCellCoordinate = 'A1')
 {
     // set this sheet as active
     $this->_parent->setActiveSheetIndex($this->_parent->getIndex($this));
     // set cell coordinate as active
     $this->setSelectedCells(strtoupper($pCellCoordinate));
     return $this->_parent->getCellXfSupervisor();
 }