@@ 1467-1471 (lines=5) @@ | ||
1464 | Settings::getLibXmlLoaderOptions() |
|
1465 | ); |
|
1466 | $drawings = []; |
|
1467 | foreach ($relsVML->Relationship as $ele) { |
|
1468 | if ($ele['Type'] == 'http://schemas.openxmlformats.org/officeDocument/2006/relationships/image') { |
|
1469 | $drawings[(string) $ele['Id']] = self::dirAdd($vmlRelationship, $ele['Target']); |
|
1470 | } |
|
1471 | } |
|
1472 | ||
1473 | // Fetch VML document |
|
1474 | $vmlDrawing = simplexml_load_string( |
|
@@ 1530-1534 (lines=5) @@ | ||
1527 | Settings::getLibXmlLoaderOptions() |
|
1528 | ); |
|
1529 | $drawings = []; |
|
1530 | foreach ($relsWorksheet->Relationship as $ele) { |
|
1531 | if ($ele['Type'] == 'http://schemas.openxmlformats.org/officeDocument/2006/relationships/drawing') { |
|
1532 | $drawings[(string) $ele['Id']] = self::dirAdd("$dir/$fileWorksheet", $ele['Target']); |
|
1533 | } |
|
1534 | } |
|
1535 | if ($xmlSheet->drawing && !$this->readDataOnly) { |
|
1536 | foreach ($xmlSheet->drawing as $drawing) { |
|
1537 | $fileDrawing = $drawings[(string) self::getArrayItem($drawing->attributes('http://schemas.openxmlformats.org/officeDocument/2006/relationships'), 'id')]; |