You are here

private function PHPExcel_Writer_Excel5_Xf::_mapHAlign in Loft Data Grids 6.2

Same name and namespace in other branches
  1. 7.2 vendor/phpoffice/phpexcel/Classes/PHPExcel/Writer/Excel5/Xf.php \PHPExcel_Writer_Excel5_Xf::_mapHAlign()

* Map to BIFF2-BIFF8 codes for horizontal alignment * *

Parameters

string $hAlign: * @return int

1 call to PHPExcel_Writer_Excel5_Xf::_mapHAlign()
PHPExcel_Writer_Excel5_Xf::writeXf in vendor/phpoffice/phpexcel/Classes/PHPExcel/Writer/Excel5/Xf.php
* Generate an Excel BIFF XF record (style or cell). * *

File

vendor/phpoffice/phpexcel/Classes/PHPExcel/Writer/Excel5/Xf.php, line 470

Class

PHPExcel_Writer_Excel5_Xf
PHPExcel_Writer_Excel5_Xf

Code

private function _mapHAlign($hAlign) {
  if (isset(self::$_mapHAlign[$hAlign])) {
    return self::$_mapHAlign[$hAlign];
  }
  return 0;
}