Andreas Beeker <kiwiwings <at> 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 wouldn't edit the template, but reference it. > I would create an empty document in Office, which is based on the template > and use this file as the pptTemplate > - ... or using the template as an empty document? > so save it as powerpoint document in Office and use it as the pptTemplate. > (I'm not sure if the resulting file differs from the first option ...) > > Andi > > On 06.07.2015 14:20, RAGHAVENDRA Lokesh wrote: > > 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 > > > > >
Hi Andreas The goal is (1) Create a ppt template with place holders for Text, Image (2) Create a XMLSlideShow using the Template (3) Get the right layouts and add appropriate information for Text & Image (4) Save the output into .ppt file(outpurstream write to a file with .pptx extension) File is generated, but i have to change the extenstion to potx to open it, otherwise i am getting "File is Corrupted" error. Let me know if you need further informatin, Waiting for your inputs --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
