DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=41946>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=41946

           Summary: Corruption issues writing PPT
           Product: POI
           Version: 3.0-dev
          Platform: Other
        OS/Version: Windows XP
            Status: NEW
          Severity: blocker
          Priority: P2
         Component: HSLF
        AssignedTo: poi-dev@jakarta.apache.org
        ReportedBy: [EMAIL PROTECTED]


Using the attached ppt, I am reading it in and then writing it back out as a
different file.

The following message is displayed
===========================
Couldn't find the new location of the "slide" with id 299 that used to be at 
13418
Not updating the position of it, you probably won't be able to find it any more
(if you ever could!)
===========================


To read file in.
      SlideShow ppt = null;
      ppt = new SlideShow(new HSLFSlideShow("c:\\files\nh.ppt"));

To write file back out.
      FileOutputStream fos = new FileOutputStream("c:\\files\\njh.ppt");
      ppt.write(fos);
      fos.close();


The ppt that is being read in (nh.ppt), use to be a much larger ppt which I have
trimmed down for the purposes of development and testing. The subsegment file
cannot be opened in Powerpoint.

The ppt has a single master slide (with title master) and three presentation
slides. Is it likely that there are references to some of the deleted slides in
the presentation hanging around.

I am using a version of POI that I compiled myself from source downloaded from
the subversion repository.

Nick.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
Mailing List:    http://jakarta.apache.org/site/mail2.html#poi
The Apache Jakarta POI Project: http://jakarta.apache.org/poi/

Reply via email to