简体   繁体   中英

How to convert a PowerPoint slide into HTML?

I am trying to insert PowerPoint slides into HTML preserving links in the PowerPoint slide. I was just wondering if any of you knew a good method to maybe exporting a PowerPoint slide to an HTML and then displaying it in a div on your page, with a link to say do a JavaScript function on that same page.

I've never used it, but PPT2HTML might help. There's also this blog that describes how to save your presentation for the web then modify it.

This isn't exactly what you're after, but there are some html-based presentation tools like S5 , DOMSlides you might want to consider as they wouldn't suffer from being translated.

You can use the jQuery plugin called PPTXjs.

This plugin convert pptx to html using javascript only (no server side code needed).

It is based on PPTX2HTML but support a lot more shapes, media (audio, video) and more.

Using:

    $("#result").pptxToHtml({
        pptxFileUrl: "path/to/slide.pptx"
    });

For more details : https://github.com/meshesha/PPTXjs .

1)u can convert it to flash swf 2)convert all slides to an image file and then add 2 buttons(Back,Next) with calling the next and previous images based on an integer variable and this buttons will show u the previous and next slides :)

sorry but u cant embed it without copying all the Powerpoint-exported HTML code in your div tag

我记得 PowerPoint 中有一个函数可以将其导出为 HTML,我会这样做,然后使用<iframe>将其放入页面中,然后将其放入<div>

Though not quite what you asked, Google Docs or Slideshare both let you embed Powerpoint as flash - perhaps that would be a more elegant way to do this. That is, if embedding is the aim!

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM