poi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 55758] New: Problems embedding non-office OLE object into PPT SlideShow
Date Thu, 07 Nov 2013 15:40:05 GMT

            Bug ID: 55758
           Summary: Problems embedding non-office OLE object into PPT
           Product: POI
           Version: 3.9
          Hardware: PC
            Status: NEW
          Severity: normal
          Priority: P2
         Component: HSLF
          Assignee: dev@poi.apache.org
          Reporter: petera@deltasoftinc.com

Created attachment 31026
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=31026&action=edit
PPT Slideshow with single molfile embedded

I have attached the code used for this prototype and both files although one is
an empty ppt file which is pointless.  The file of interest is a mol file which
is readable from accelerys draw version 4.1 (You may be able to d/l and install
a trial of this software).  The object created from accelerys is called a mol
file which is a representation of a molecule.  If you copy the mol file and
paste it into a ppt slideshow it creates a ole object in the ppt file.  I have
also attached(no I haven't only one attachement allowed) some java code which
is based on PoiOleXlsInPpt a proof of concept out on the internet at 
The code uses an ppt/mol file and creates a new ppt and then attempts to create
the ole object using poi's internals to embed the mol file and saves the new
ppt file.  Based on our work with the code, the ppt file gets created, but then
when trying to open the saved file with ppt. the application complains that the
ppt file is corrupt and tries to repair but can't manange to repair the file
and can't open the file.  So the ppt slideshow gets created but then can't be
opened by ppt which suggests some is incorrect in the creation of the new file.
Of course this use case works without a problem when the code which embeds the
ole object is commented out.  So there's something in the embedding code which
is not creating the object properly. Thanks.  I was going to try and attach the
code but it doesn't look like multiple attachments are allowed so you got the
ppt slideshow with a molfile embedded in it. I can provide our code if it makes
things easier but I'm just trying to create a new ppt ss with the molfile
embedded in it much like a copy and paste would do in windoze.  My real work is
to get the molefile and embed into ppt but I can do that if we can just fix the
issue with embedding the molefile into ppt. I can provide any additional info
if needed.  Andreas Beeker was helping me on the user group and this bug is
reported based on his suggestion.

You are receiving this mail because:
You are the assignee for the bug.

To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org

View raw message