poi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yegor Kozlov <yegor.koz...@dinom.ru>
Subject Re: XSLF - Final uses for XSLFSlideShow
Date Fri, 02 Sep 2011 11:35:39 GMT
On Tue, Aug 30, 2011 at 6:51 PM, Nick Burch <nick.burch@alfresco.com> wrote:
> Hi All
>
> This is mostly one for Yegor...
>
> I'm updating the Tika XSLF extractor for 3.8 beta 4, and I can mostly but
> not completely ditch use of
>
> The two bits missing from XMLSlideShow now are:
>  * Access to the Notes for a slide
>  * Access to the Comments for a slide
>
> Possibly the Tika code should be updated to not need the XSLFCommonSlideData
> part, now that XSLFSlide has some drawing and text stuff, but I'm not sure
> if that's quite ready yet
>
> I was pondering added a quick wrapper for notes and comments around the CT
> objects, and exposing, but I couldn't find a way to get the
> CTSlideIdListEntry id for a slide. Am I missing something?
>

It should be accessible like this:

        XMLSlideShow ppt = ...;
        CTSlideIdListEntry sid =
ppt.getCTPresentation().getSldIdLst().getSldIdArray(slideIndex);

where slideIndex is 0-based index of the slide.

Yegor

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


Mime
View raw message