Oh holy crap.
I am *such* and idiot.
Spot the bug:
for (int i=0; i < deck.getSlideCount(); i++) {
Slide slide = deck.getSlide(1);
}
How the heck did I miss that?!
I was looking at the wrong slide the whole time, slide[1] has no notes
and no images, hence I was thinking that none of the slides were
returning notes or images. It turns out it's working perfectly.
Thank you POI team! I'm sorry I doubted you. :)
- Katie
On Fri, Oct 30, 2009 at 9:05 AM, Katie Bell <[email protected]> wrote:
> Ah, but I already checked the _rels files for the slides and the notes
> and image relationships *are* there. :(
>
> On Thu, Oct 29, 2009 at 11:06 PM, Nick Burch <[email protected]> wrote:
>> On Thu, 29 Oct 2009, Katie Bell wrote:
>>>
>>> There should be image and notes relationships as well, I've tried this
>>> with my own code as well as using the (mispelling is correct)
>>> XSLFSlideShow.getNodesPart(...) function. I am certain that the notes are
>>> present in the file, since i've inspected the files.
>>
>> Alas I don't know where the notes are stored, but...
>>
>> I'd suggest running one of the files through unzip, and see what you have in
>> the way of _rels/ directories. For example, _rels/.rels tells you the
>> package wide relationships, and ppt/_rels/presentation.xml.rels the ones on
>> the presentation. It's possible that the relationship isn't stored quite
>> where you might expect, so you're querying the wrong thing.
>>
>> Nick
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [email protected]
>> For additional commands, e-mail: [email protected]
>>
>>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]