I'm looking for a .NET-library which allows me to convert PPTX-presentations (MS PowerPoint) to HTML. It should support animations and keep fidelity of original presentations. Which ones would you recommend?
My goal is to stream pptx-presentations to several participants as html. It's kind of conferencing app like MS Lync in PP sharing mode.
p.s. I'm aware of Aspose. It can export ppt to SVG but not pptx.
This is a late answer and it still doesnt answer all because of the lacking animation support but Aspose does support PPTX to HTML and SVG.
http://www.aspose.com/docs/display/slidesnet/Converting+PPTX+to+HTML
PresentationEx pres = new PresentationEx(docStream);
string css = "html,body{padding:0;margin:0;}";
css += ".slide{border:1px solid #ddd;}";
SlideImageFormat slideImageFormat = SlideImageFormat.Svg(new SVGOptions());
HtmlFormatter htmlFormatter = HtmlFormatter.CreateDocumentFormatter(css, false);
HtmlOptions opts = new HtmlOptions {
SlideImageFormat = slideImageFormat,
HtmlFormatter = htmlFormatter
};
pres.Save(Response.OutputStream, SaveFormat.Html, opts);
Additionally, you could add JavaScript to load animations afterwards based on id or some custom engine.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With