0
votes

Is there any way to read and view a PowerPoint presentation within a Windows Store App? What I want to achieve is to open the .pptx file from the computer and display the slides inside the app. Basically, it would be like a PowerPoint viewer. What I figured out with extensive searching is I can use Aspose.Slides API to convert the slides to images and then display them to the user. But firstly, Aspose.Slides is not available for WinRT and secondly, it is not free. The OOXML is really complicated and I can't find an approach to achieve this via OOXML. What could be a work around to the problem? And can there be a way to manipulate the slides?

1
The only ways to do this would be to convert the slides to a different format, such as XAML, HTML or images. There are pro/cons to each model. In any case, you'd probably have to pay for the solution. You could write your own converter, but it is a long, hard task. - Todd Main
Can I get a reference or tutorial or any API in WinRT which is able to do this? I think the images method is the best but I don't know any API which can do that. Any suggestions? - Gaurav Chouhan

1 Answers

2
votes

I haven't seen a WinRT API for PowerPoint, but if you found one for .NET you could easily write a web service that would take a ppt or pptx and use the API to convert it to images or something else that you can display.

If you have some control over the presentations - you might also consider saving them as XPS which is WPF/XAML based format, but even then you would need to do some more work to process it to a XAML format compatible with WinRT/XAML and might still have some problems loading custom embedded fonts etc.