src/PhpSpreadsheet/Reader/Ods.php 1 location
|
@@ 273-283 (lines=11) @@
|
270 |
|
return $this->loadIntoExisting($pFilename, $spreadsheet); |
271 |
|
} |
272 |
|
|
273 |
|
private static function identifyFixedStyleValue($styleList, &$styleAttributeValue) |
274 |
|
{ |
275 |
|
$styleAttributeValue = strtolower($styleAttributeValue); |
276 |
|
foreach ($styleList as $style) { |
277 |
|
if ($styleAttributeValue == strtolower($style)) { |
278 |
|
$styleAttributeValue = $style; |
279 |
|
|
280 |
|
return true; |
281 |
|
} |
282 |
|
} |
283 |
|
|
284 |
|
return false; |
285 |
|
} |
286 |
|
|
src/PhpSpreadsheet/Reader/Xml.php 1 location
|
@@ 261-271 (lines=11) @@
|
258 |
|
return $this->loadIntoExisting($pFilename, $spreadsheet); |
259 |
|
} |
260 |
|
|
261 |
|
protected static function identifyFixedStyleValue($styleList, &$styleAttributeValue) |
262 |
|
{ |
263 |
|
$styleAttributeValue = strtolower($styleAttributeValue); |
264 |
|
foreach ($styleList as $style) { |
265 |
|
if ($styleAttributeValue == strtolower($style)) { |
266 |
|
$styleAttributeValue = $style; |
267 |
|
|
268 |
|
return true; |
269 |
|
} |
270 |
|
} |
271 |
|
|
272 |
|
return false; |
273 |
|
} |
274 |
|
|