You are here

public function PHPExcel_Style_Font::getStyleArray in Loft Data Grids 6.2

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

* Build style array from subcomponents * *

Parameters

array $array: * @return array

9 calls to PHPExcel_Style_Font::getStyleArray()
PHPExcel_Style_Font::applyFromArray in vendor/phpoffice/phpexcel/Classes/PHPExcel/Style/Font.php
* Apply styles from array * * <code> * $objPHPExcel->getActiveSheet()->getStyle('B2')->getFont()->applyFromArray( * array( * 'name' => 'Arial', * 'bold' => TRUE, …
PHPExcel_Style_Font::setBold in vendor/phpoffice/phpexcel/Classes/PHPExcel/Style/Font.php
* Set Bold * *
PHPExcel_Style_Font::setItalic in vendor/phpoffice/phpexcel/Classes/PHPExcel/Style/Font.php
* Set Italic * *
PHPExcel_Style_Font::setName in vendor/phpoffice/phpexcel/Classes/PHPExcel/Style/Font.php
* Set Name * *
PHPExcel_Style_Font::setSize in vendor/phpoffice/phpexcel/Classes/PHPExcel/Style/Font.php
* Set Size * *

... See full list

File

vendor/phpoffice/phpexcel/Classes/PHPExcel/Style/Font.php, line 160

Class

PHPExcel_Style_Font
PHPExcel_Style_Font

Code

public function getStyleArray($array) {
  return array(
    'font' => $array,
  );
}