Can you provide more details what you are doing? Are you opening a .potx file, modify it with POI and save as .pptx ?
If so, one important step is required: you need to replace potx content type with pptx: ppt.getPackage().replaceContentType( "application/vnd.openxmlformats-officedocument.presentationml.template.main+xml", "application/vnd.openxmlformats-officedocument.presentationml.slideshow.main+xml"); Without it PowerPoint won't recognize the file. Yegor On Tue, May 22, 2012 at 6:12 PM, Pablo Rivera | MediaSquare <[email protected]> wrote: > Hi, > > I want to apply the master and layout slides of a potx file to a pptx. If I > create a XMLSlideShow passig it the potx file it works in LibreOffice, but > MS Office 2010 cant open it. If I save the potx as a pptx everything goes > OK, but if it is possible I'd prefer the elegant way with potx :) > > What should I do? > > > - > - *Pablo Rivera* > - Software Engineer > - > - [email protected] > - T:(+34) 902 10 83 84 > - > - > - www.mediasq.com --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
