如何将幻灯片转换成HTML?

时间:2021-08-15 03:41:02

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.

我试图将PowerPoint幻灯片插入到HTML保存链接的幻灯片中。我想知道你们是否知道一种很好的方法可以将幻灯片导出到HTML然后在页面上的div中显示出来,在同一个页面上有一个链接,说做一个JavaScript函数。

5 个解决方案

#1


2  

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!

虽然不是你想要的那样,谷歌文档或Slideshare都允许你将Powerpoint嵌入到flash中——也许这是一种更优雅的方式。也就是说,如果嵌入是目的的话!

#2


3  

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.

我从未使用过它,但是PPT2HTML可能会有帮助。还有一个博客,描述如何保存你的演示文稿,然后修改它。

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.

这并不是您想要的,但是有一些基于html的表示工具,如S5、DOMSlides,您可能需要考虑,因为它们不会因被翻译而受损。

#3


2  

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 :)

1)u可以将其转换为flash swf 2)将所有幻灯片转换为一个图像文件,然后添加两个按钮(Back,Next),并基于一个整数变量调用Next和previous图像,该按钮将向您显示前面和下面的幻灯片:)

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

对不起,如果不复制您的div标记中的所有powerpoint导出的HTML代码,您将无法嵌入它

#4


1  

I remember there was a function in PowerPoint to export it to an HTML, I would do that and then have it in the page using an <iframe> and then put that inside a <div>

我记得在PowerPoint中有一个函数可以将它导出到HTML中,我会这样做,然后在页面中使用

#5


1  

You can use the jQuery plugin called PPTXjs.

您可以使用名为PPTXjs的jQuery插件。

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

此插件仅使用javascript将pptx转换为html(不需要服务器端代码)。

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

它基于PPTX2HTML,但支持更多的形状、媒体(音频、视频)等。

Using:

使用:

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

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

有关详细信息:https://github.com/meshesha/PPTXjs。

#1


2  

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!

虽然不是你想要的那样,谷歌文档或Slideshare都允许你将Powerpoint嵌入到flash中——也许这是一种更优雅的方式。也就是说,如果嵌入是目的的话!

#2


3  

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.

我从未使用过它,但是PPT2HTML可能会有帮助。还有一个博客,描述如何保存你的演示文稿,然后修改它。

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.

这并不是您想要的,但是有一些基于html的表示工具,如S5、DOMSlides,您可能需要考虑,因为它们不会因被翻译而受损。

#3


2  

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 :)

1)u可以将其转换为flash swf 2)将所有幻灯片转换为一个图像文件,然后添加两个按钮(Back,Next),并基于一个整数变量调用Next和previous图像,该按钮将向您显示前面和下面的幻灯片:)

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

对不起,如果不复制您的div标记中的所有powerpoint导出的HTML代码,您将无法嵌入它

#4


1  

I remember there was a function in PowerPoint to export it to an HTML, I would do that and then have it in the page using an <iframe> and then put that inside a <div>

我记得在PowerPoint中有一个函数可以将它导出到HTML中,我会这样做,然后在页面中使用

#5


1  

You can use the jQuery plugin called PPTXjs.

您可以使用名为PPTXjs的jQuery插件。

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

此插件仅使用javascript将pptx转换为html(不需要服务器端代码)。

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

它基于PPTX2HTML,但支持更多的形状、媒体(音频、视频)等。

Using:

使用:

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

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

有关详细信息:https://github.com/meshesha/PPTXjs。