You are here

private static function PHPExcel_Reader_Excel2007::_readBorder in Loft Data Grids 6.2

Same name and namespace in other branches
  1. 7.2 vendor/phpoffice/phpexcel/Classes/PHPExcel/Reader/Excel2007.php \PHPExcel_Reader_Excel2007::_readBorder()
1 call to PHPExcel_Reader_Excel2007::_readBorder()
PHPExcel_Reader_Excel2007::_readStyle in vendor/phpoffice/phpexcel/Classes/PHPExcel/Reader/Excel2007.php

File

vendor/phpoffice/phpexcel/Classes/PHPExcel/Reader/Excel2007.php, line 1921

Class

PHPExcel_Reader_Excel2007
PHPExcel_Reader_Excel2007

Code

private static function _readBorder($docBorder, $eleBorder) {
  if (isset($eleBorder["style"])) {
    $docBorder
      ->setBorderStyle((string) $eleBorder["style"]);
  }
  if (isset($eleBorder->color)) {
    $docBorder
      ->getColor()
      ->setARGB(self::_readColor($eleBorder->color));
  }
}