Use draw:mimetype attribute
Once ODF 1.3 will be published, we could use the draw:mimetype [1] if presents instead of magic guessing.
[1] https://issues.oasis-open.org/browse/OFFICE-3943
Once ODF 1.3 will be published, we could use the draw:mimetype [1] if presents instead of magic guessing.
[1] https://issues.oasis-open.org/browse/OFFICE-3943