Yes, the output from Slide ID listing quite match with it.

Thanks

Regards,

Budi Darmawan
ITSO Tivoli Projects
[EMAIL PROTECTED]
phone: 1-512-838-7184


Monday, March 27, 2006 1:52 PM
To: POI Users List <poi-user@jakarta.apache.org>
cc:
From: Nick Burch <[EMAIL PROTECTED]>
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: [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