@@ 1449-1453 (lines=5) @@ | ||
1446 | Settings::getLibXmlLoaderOptions() |
|
1447 | ); |
|
1448 | $drawings = []; |
|
1449 | foreach ($relsVML->Relationship as $ele) { |
|
1450 | if ($ele['Type'] == 'http://schemas.openxmlformats.org/officeDocument/2006/relationships/image') { |
|
1451 | $drawings[(string) $ele['Id']] = self::dirAdd($vmlRelationship, $ele['Target']); |
|
1452 | } |
|
1453 | } |
|
1454 | ||
1455 | // Fetch VML document |
|
1456 | $vmlDrawing = simplexml_load_string( |
|
@@ 1512-1516 (lines=5) @@ | ||
1509 | Settings::getLibXmlLoaderOptions() |
|
1510 | ); |
|
1511 | $drawings = []; |
|
1512 | foreach ($relsWorksheet->Relationship as $ele) { |
|
1513 | if ($ele['Type'] == 'http://schemas.openxmlformats.org/officeDocument/2006/relationships/drawing') { |
|
1514 | $drawings[(string) $ele['Id']] = self::dirAdd("$dir/$fileWorksheet", $ele['Target']); |
|
1515 | } |
|
1516 | } |
|
1517 | if ($xmlSheet->drawing && !$this->readDataOnly) { |
|
1518 | foreach ($xmlSheet->drawing as $drawing) { |
|
1519 | $fileDrawing = $drawings[(string) self::getArrayItem($drawing->attributes('http://schemas.openxmlformats.org/officeDocument/2006/relationships'), 'id')]; |