Issue 17617 - SVM files are not collected by OfficeDocument
Summary: SVM files are not collected by OfficeDocument
Status: CLOSED WONT_FIX
Alias: None
Product: xml
Classification: Code
Component: smalldevices (show other issues)
Version: current
Hardware: All All
: P3 Trivial (vote)
Target Milestone: AOO Later
Assignee: svante.schubert
QA Contact: issues@xml
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-07-30 09:53 UTC by henrikjust
Modified: 2008-09-16 09:40 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description henrikjust 2003-07-30 09:53:55 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.
Comment 1 caolanm 2004-02-06 09:30:20 UTC
cmc->mmaher:  xmerge thing
Comment 2 martin_maher 2005-04-13 17:05:09 UTC
mmaher->flr: Yours I think
Comment 3 Mathias_Bauer 2007-08-30 10:37:06 UTC
Svante, one for you
Comment 4 henrikjust 2008-09-15 16:01:05 UTC
Old issue, no longer relevant, should be closed
Comment 5 svante.schubert 2008-09-16 09:40:28 UTC
Thanks for the feedback, Henrik!
Closing this issue...