You are here

private static function PHPExcel_Writer_Excel5_Xf::_mapVAlign in Loft Data Grids 7.2

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

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

Parameters

string $vAlign: * @return int

1 call to PHPExcel_Writer_Excel5_Xf::_mapVAlign()
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 493

Class

PHPExcel_Writer_Excel5_Xf
PHPExcel_Writer_Excel5_Xf

Code

private static function _mapVAlign($vAlign) {
  if (isset(self::$_mapVAlign[$vAlign])) {
    return self::$_mapVAlign[$vAlign];
  }
  return 2;
}