You are here

public function PHPExcel_Style_Alignment::getStyleArray in Loft Data Grids 6.2

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

* Build style array from subcomponents * *

Parameters

array $array: * @return array

8 calls to PHPExcel_Style_Alignment::getStyleArray()
PHPExcel_Style_Alignment::applyFromArray in vendor/phpoffice/phpexcel/Classes/PHPExcel/Style/Alignment.php
* Apply styles from array * * <code> * $objPHPExcel->getActiveSheet()->getStyle('B2')->getAlignment()->applyFromArray( * array( * 'horizontal' => PHPExcel_Style_Alignment::HORIZONTAL_CENTER, …
PHPExcel_Style_Alignment::setHorizontal in vendor/phpoffice/phpexcel/Classes/PHPExcel/Style/Alignment.php
* Set Horizontal * *
PHPExcel_Style_Alignment::setIndent in vendor/phpoffice/phpexcel/Classes/PHPExcel/Style/Alignment.php
* Set indent * *
PHPExcel_Style_Alignment::setReadorder in vendor/phpoffice/phpexcel/Classes/PHPExcel/Style/Alignment.php
* Set read order * *
PHPExcel_Style_Alignment::setShrinkToFit in vendor/phpoffice/phpexcel/Classes/PHPExcel/Style/Alignment.php
* Set Shrink to fit * *

... See full list

File

vendor/phpoffice/phpexcel/Classes/PHPExcel/Style/Alignment.php, line 148

Class

PHPExcel_Style_Alignment
PHPExcel_Style_Alignment

Code

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