public function PHPExcel_Worksheet::getStyle in Loft Data Grids 6.2
Same name and namespace in other branches
- 7.2 vendor/phpoffice/phpexcel/Classes/PHPExcel/Worksheet.php \PHPExcel_Worksheet::getStyle()
Get style for cell
Parameters
string $pCellCoordinate Cell coordinate (or range) to get style for:
Return value
Throws
1 call to PHPExcel_Worksheet::getStyle()
- PHPExcel_Worksheet::getStyleByColumnAndRow in vendor/
phpoffice/ phpexcel/ Classes/ PHPExcel/ Worksheet.php - Get style for cell by using numeric cell coordinates
File
- vendor/
phpoffice/ phpexcel/ Classes/ PHPExcel/ Worksheet.php, line 1413
Class
- PHPExcel_Worksheet
- PHPExcel_Worksheet
Code
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();
}