You are here

private static function PHPExcel_Reader_OOCalc::identifyFixedStyleValue in Loft Data Grids 7.2

Same name and namespace in other branches
  1. 6.2 vendor/phpoffice/phpexcel/Classes/PHPExcel/Reader/OOCalc.php \PHPExcel_Reader_OOCalc::identifyFixedStyleValue()

File

vendor/phpoffice/phpexcel/Classes/PHPExcel/Reader/OOCalc.php, line 310

Class

PHPExcel_Reader_OOCalc
PHPExcel_Reader_OOCalc

Code

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