poi-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Filip Defoort <filip...@cirquedigital.com>
Subject Re: 3rd PowerPoint Slide is Corrupt
Date Thu, 21 Jan 2010 19:33:06 GMT
On Thu, Jan 21, 2010 at 11:29 AM, Joe Dente <jdente@21technologies.com> wrote:
> Filip,
>
> What do you mean by re-read the file after every save? I modified my
> prototype so that after every call to save the PowerPoint slide I create
> a new handle to the SlideShow ('ppt = new SlideShow(new
> FileInputStream(file))' or just call 'createPpt' with the same filename
> in the prototype) and use the new handle to perform the createSlide and
> save operations. This change has no effect and I still end up getting a
> corrupt slideshow.

Yes, that's what I did - just do a Workbook wb = new XSSFWorkbook(...)
after save. Doesn't seem to work in your case though...

- Filip

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


Mime
View raw message