You are here

protected static function PHPExcel_Reader_Excel2003XML::identifyFixedStyleValue in Loft Data Grids 6.2

Same name and namespace in other branches
  1. 7.2 vendor/phpoffice/phpexcel/Classes/PHPExcel/Reader/Excel2003XML.php \PHPExcel_Reader_Excel2003XML::identifyFixedStyleValue()
1 call to PHPExcel_Reader_Excel2003XML::identifyFixedStyleValue()
PHPExcel_Reader_Excel2003XML::loadIntoExisting in vendor/phpoffice/phpexcel/Classes/PHPExcel/Reader/Excel2003XML.php
* Loads PHPExcel from file into PHPExcel instance * *

File

vendor/phpoffice/phpexcel/Classes/PHPExcel/Reader/Excel2003XML.php, line 242

Class

PHPExcel_Reader_Excel2003XML
PHPExcel_Reader_Excel2003XML

Code

protected static function identifyFixedStyleValue($styleList, &$styleAttributeValue) {
  $styleAttributeValue = strtolower($styleAttributeValue);
  foreach ($styleList as $style) {
    if ($styleAttributeValue == strtolower($style)) {
      $styleAttributeValue = $style;
      return true;
    }
  }
  return false;
}