[prev in list] [next in list] [prev in thread] [next in thread] 

List:       poi-dev
Subject:    DO NOT REPLY [Bug 41946]  New:  - Corruption issues writing PPT
From:       bugzilla () apache ! org
Date:       2007-03-26 8:42:50
Message-ID: bug-41946-7501 () http ! issues ! apache ! org/bugzilla/
[Download RAW message or body]

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: nick.havard@savvis.net


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: poi-dev-unsubscribe@jakarta.apache.org
Mailing List:    http://jakarta.apache.org/site/mail2.html#poi
The Apache Jakarta POI Project: http://jakarta.apache.org/poi/

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic