poi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 51187] New: Opening and saving PPTX with specific image corrupts file (Power point will no longer open)
Date Wed, 11 May 2011 23:09:27 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=51187

             Bug #: 51187
           Summary: Opening and saving PPTX with specific image corrupts
                    file (Power point will no longer open)
           Product: POI
           Version: 3.8-dev
          Platform: PC
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XSLF
        AssignedTo: dev@poi.apache.org
        ReportedBy: thyde@centraldesktop.com
    Classification: Unclassified


Created attachment 26986
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=26986
File that will be corrupted if you open and save it.

Executing this code against the attached file will create a file that is
unreadable PPT.  The PPT contains only a single small image.

  OPCPackage docPackage = OPCPackage.openOrCreate(input);

File output = File.createTempFile("office-ooxml-",null);
            System.out.println(output.getCanonicalPath());
            docPackage.save(output);


Same was true for 3.7 vs 3.8-beta2

In ppt/slides/_rels/slide1.xml.rels I notedd that the target on rId3 went from
slide1.xml on the good version to "" on the bad.   Could be more material
differences, I just didn't notice.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- 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


Mime
View raw message