Return-Path: Delivered-To: apmail-jakarta-poi-user-archive@www.apache.org Received: (qmail 10085 invoked from network); 27 Mar 2006 20:57:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 27 Mar 2006 20:57:10 -0000 Received: (qmail 62641 invoked by uid 500); 27 Mar 2006 20:57:07 -0000 Delivered-To: apmail-jakarta-poi-user-archive@jakarta.apache.org Received: (qmail 62627 invoked by uid 500); 27 Mar 2006 20:57:07 -0000 Mailing-List: contact poi-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "POI Users List" Reply-To: "POI Users List" Delivered-To: mailing list poi-user@jakarta.apache.org Received: (qmail 62614 invoked by uid 99); 27 Mar 2006 20:57:07 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Mar 2006 12:57:07 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of vbudi@us.ibm.com designates 32.97.110.152 as permitted sender) Received: from [32.97.110.152] (HELO e34.co.us.ibm.com) (32.97.110.152) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Mar 2006 12:57:06 -0800 Received: from westrelay02.boulder.ibm.com (westrelay02.boulder.ibm.com [9.17.195.11]) by e34.co.us.ibm.com (8.12.11.20060308/8.12.11) with ESMTP id k2RKui7S018841 for ; Mon, 27 Mar 2006 15:56:44 -0500 Received: from d03av02.boulder.ibm.com (d03av02.boulder.ibm.com [9.17.195.168]) by westrelay02.boulder.ibm.com (8.12.10/NCO/VER6.8) with ESMTP id k2RKraUw265896 for ; Mon, 27 Mar 2006 13:53:36 -0700 Received: from d03av02.boulder.ibm.com (loopback [127.0.0.1]) by d03av02.boulder.ibm.com (8.12.11/8.13.3) with ESMTP id k2RKui5x007515 for ; Mon, 27 Mar 2006 13:56:44 -0700 Received: from d03nm132.boulder.ibm.com (d03nm132.boulder.ibm.com [9.17.195.172]) by d03av02.boulder.ibm.com (8.12.11/8.12.11) with ESMTP id k2RKuifE007501 for ; Mon, 27 Mar 2006 13:56:44 -0700 To: "POI Users List" From: Budi Darmawan Subject: Re: Powerpoint and HSLF Date: Mon, 27 Mar 2006 14:57:41 -0600 Message-ID: X-MIMETrack: Serialize by Router on D03NM132/03/M/IBM(Release 6.53HF654 | July 22, 2005) at 03/27/2006 13:59:16 MIME-Version: 1.0 Content-type: multipart/alternative; Boundary="0__=08BBFBADDFE0CCC78f9e8a93df938690918c08BBFBADDFE0CCC7" Content-Disposition: inline X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N --0__=08BBFBADDFE0CCC78f9e8a93df938690918c08BBFBADDFE0CCC7 Content-type: text/plain; charset=US-ASCII Yes, the output from Slide ID listing quite match with it. Thanks Regards, Budi Darmawan ITSO Tivoli Projects vbudi@us.ibm.com phone: 1-512-838-7184 Monday, March 27, 2006 1:52 PM To: POI Users List cc: From: Nick Burch Subject: Re: Powerpoint and HSLF On Mon, 27 Mar 2006, Nick Burch wrote: > > - The slide sequence is listed under the latest 1000 record under 4080 > > and the sequence of 1011 shows the list slides ... There is no real > > Slide number that I can find. > > Yup, you just seem to have to get the slide number from either the RefId > or the Identifier. I'm wondering if the RefId can be used to identify > the slide record, but I've yet to test this out on a document with lots > of slides. I'm starting to think that the RefId in a SlidePersistAtom corresponds to the ID of a core record (as found from PersistPtr stuff). So, you find a SlidePersistPtr. That gives you the slide's external facing ID (via SlideIdentifier), which is also the value used to match a Slide to its Notes (SlideAtom -> Notes ID, NotesAtom -> Slide ID). Then, you take the RefId, and go and fetch the record that has that ID allocated to it by the PersistPtr stuff (in hslf, that means the most recent core record with an ID one less than that, since our array is zero based). That should be the matching slide record. (With slides with notes, this does all tie up). Can you run org.apache.poi.hslf.dev.SlideIdListing against a problem sheet, and check that the RefIds from SlidePersistAtom matches that sheet ID from PersistPtr? If it does, I can use the above to link slides and their text better, hopefully fixing your out-of-order problem Nick --------------------------------------------------------------------- To unsubscribe, e-mail: poi-user-unsubscribe@jakarta.apache.org Mailing List: http://jakarta.apache.org/site/mail2.html#poi The Apache Jakarta Poi Project: http://jakarta.apache.org/poi/ --0__=08BBFBADDFE0CCC78f9e8a93df938690918c08BBFBADDFE0CCC7--