Apache OpenOffice (AOO) Bugzilla – Issue 17617
SVM files are not collected by OfficeDocument
Last modified: 2008-09-16 09:40:28 UTC
The class org.openoffice.xmerge.converter.xml.OfficeDocument collects information about embedded objects from mainfest.xml. It uses the MIME type stored in mainfest.xml to determine which entries represents objects like this: if (type.startsWith("application/vnd.sun.xml")) { // this is an xml object... } else if (type.equals("text/xml")) { // part of an object/main document... } else if (!type.equals("")) { // this is a binary object... } However, SVM files are stored by OOo with empty MIME type, and thus discarded by the last condition. I need to read the SVM files (more precisely i need to read EPS files, and they are embedded in SVM files by OOo). Could you please remove the condition 'if (!type.equals(""))' so that they will become accessible. I have tested this change, and it works fine.
cmc->mmaher: xmerge thing
mmaher->flr: Yours I think
Svante, one for you
Old issue, no longer relevant, should be closed
Thanks for the feedback, Henrik! Closing this issue...