(element)
| 1240 | } |
| 1241 | |
| 1242 | function readImageData(element) { |
| 1243 | var relationshipId = element.attributes['r:id']; |
| 1244 | |
| 1245 | if (relationshipId) { |
| 1246 | return readImage( |
| 1247 | findEmbeddedImageFile(relationshipId), |
| 1248 | element.attributes["o:title"]); |
| 1249 | } else { |
| 1250 | return emptyResultWithMessages([warning("A v:imagedata element without a relationship ID was ignored")]); |
| 1251 | } |
| 1252 | } |
| 1253 | |
| 1254 | function findEmbeddedImageFile(relationshipId) { |
| 1255 | var path = uris.uriToZipEntryName("word", relationships.findTargetByRelationshipId(relationshipId)); |
nothing calls this directly
no test coverage detected