Re: Create ppt Using potx- File Corrupted Error

2015-07-15 Thread kiwiwings
e handling mentioned above, but it's easy for use to test it on your own ... Andi -- View this message in context: http://apache-poi.1045710.n5.nabble.com/Create-ppt-Using-potx-File-Corrupted-Error-tp5719299p5719401.html Sent from the POI - User mailing l

Re: Create ppt Using potx- File Corrupted Error

2015-07-14 Thread Mark Beardsley
ere in the markup that informs Powerpoint which type of file it is dealing with. If you could isolate this, it should be possible to use the lower level api underpinning POI to chnage the value appropriately. -- View this message in context: http://apache-poi.1045710.n5.nabble.com/Create-ppt-

Re: Create ppt Using potx- File Corrupted Error

2015-07-14 Thread Lokesh
sing 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.104571

Re: Create ppt Using potx- File Corrupted Error

2015-07-13 Thread kiwiwings
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 archiv

Re: Create ppt Using potx- File Corrupted Error

2015-07-13 Thread Lokesh
Andreas Beeker apache.org> writes: > > Hi Lokesh, > > I can't tell you what's the difference between powerpoint templates (potx) and > documents (pptx) right away ... I would need to fiddle around with it. > > But what's your goal? > - ... using the template as a ... template? > so you would

Re: Create ppt Using potx- File Corrupted Error

2015-07-09 Thread Andreas Beeker
Hi Lokesh, I can't tell you what's the difference between powerpoint templates (potx) and documents (pptx) right away ... I would need to fiddle around with it. But what's your goal? - ... using the template as a ... template? so you wouldn't edit the template, but reference it. I would creat

Create ppt Using potx- File Corrupted Error

2015-07-06 Thread RAGHAVENDRA Lokesh
Hi I am able to create slides using potx, but finally when I write to outputstream I using file extension pptx, but when I try to open it the "file is corrupted", when I change the extension to potx it works, Any idea how to get it working ? Sample Code InputStream pptTemplate = getClass().ge