kiwiwings <kiwiwings <at> apache.org> writes:

> 
> Hi Lokesh,
> 
> as I mentioned above, I modify your goal / todo list:
> 
> (1) Create a potx template with place holders for Text, Image
> (1b) Create an empty pptx file referencing the potx with Office
> (2) Create a XMLSlideShow using the pptx from 1b 
> (3) Get the right layouts and add appropriate information for Text & Image 
> (4) Save the output into .pptx file
> 
> Is this working with the extra step?
> 
> Andi
> 
> --
> View this message in context:
http://apache-poi.1045710.n5.nabble.com/Create-ppt-Using-potx-File-Corrupted-Error-tp5719299p5719357.html
> Sent from the POI - User mailing list archive at Nabble.com.
> 
Hi Andi

I am not clear with step 1b, my code is below i am creating an XMLSlideShow
passing the templte(potx file)

InputStream pptTemplate = getClass().getResourceAsStream("/" + "test.potx");
XMLSlideShow initialPresentation = new XMLSlideShow(pptTemplate);





---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to