src/PhpSpreadsheet/Reader/Excel2003XML.php 1 location
|
@@ 229-239 (lines=11) @@
|
226 |
|
return $this->loadIntoExisting($pFilename, $spreadsheet); |
227 |
|
} |
228 |
|
|
229 |
|
protected static function identifyFixedStyleValue($styleList, &$styleAttributeValue) |
230 |
|
{ |
231 |
|
$styleAttributeValue = strtolower($styleAttributeValue); |
232 |
|
foreach ($styleList as $style) { |
233 |
|
if ($styleAttributeValue == strtolower($style)) { |
234 |
|
$styleAttributeValue = $style; |
235 |
|
|
236 |
|
return true; |
237 |
|
} |
238 |
|
} |
239 |
|
|
240 |
|
return false; |
241 |
|
} |
242 |
|
|
src/PhpSpreadsheet/Reader/Ods.php 1 location
|
@@ 269-279 (lines=11) @@
|
266 |
|
return $this->loadIntoExisting($pFilename, $spreadsheet); |
267 |
|
} |
268 |
|
|
269 |
|
private static function identifyFixedStyleValue($styleList, &$styleAttributeValue) |
270 |
|
{ |
271 |
|
$styleAttributeValue = strtolower($styleAttributeValue); |
272 |
|
foreach ($styleList as $style) { |
273 |
|
if ($styleAttributeValue == strtolower($style)) { |
274 |
|
$styleAttributeValue = $style; |
275 |
|
|
276 |
|
return true; |
277 |
|
} |
278 |
|
} |
279 |
|
|
280 |
|
return false; |
281 |
|
} |
282 |
|
|