如何从 Powerpoint 转换为 HTML/CSS? (自由软件)

发布于 2024-11-14 06:46:33 字数 1539 浏览 3 评论 0原文

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(8

内心激荡 2024-11-21 06:46:33

PowerPoint 2010 及更高版本中不再存在“另存为网页”选项。

Microsoft 提供了一种解决方法,总结为“使用 ppSaveAsHTML 参数对于 *.htm 文件格式。”

  • 在 PowerPoint 2010 中,打开要导出为 HTML 的演示文稿。
  • 按 Alt+F11,这将打开 VB for Apps。
  • 按 Ctrl+G,这将打开“立即”窗格。
  • 在“立即”窗格中,键入以下内容,然后按 Enter 键:

    ActivePresentation.SaveAs ":\users\\desktop\.htm", ppSaveAsHTML, msoFalse

使用单个文件网页进行保存 (*.mht;*.mhtml)文件格式,将文件名末尾的htm替换为mht,并替换ppSaveAsHTMLppSaveAsWebArchive

The "Save As Webpage" option no longer exists on PowerPoint 2010 and later.

Microsoft has provided a workaround, summarized as, "use the ppSaveAsHTML argument for the *.htm file format."

  • In PowerPoint 2010, open the presentation that you want to export to HTML.
  • Press Alt+F11, this opens VB for Apps.
  • Press Ctrl+G, this opens the Immediate pane.
  • In the Immediate pane, type the following, and then press the Enter key:

    ActivePresentation.SaveAs "<Drive>:\users\<username>\desktop\<filename>.htm", ppSaveAsHTML, msoFalse

To save by using the Single File Web Page (*.mht;*.mhtml) file format, replace htm at the end of the file name with mht, and replace ppSaveAsHTML with ppSaveAsWebArchive.

转身泪倾城 2024-11-21 06:46:33

因为我猜你不是最擅长网页设计硬编码,所以你的选择是:

进入 powerpoint,然后使用“保存为网页”按钮。它不会是完美的,您可能需要调整一些东西,但是您可以使用比正常网站少得多的编码知识来使其看起来正确。

或者:如果您精通 Flash,则创建一个 Flash 网站并将 powerpoint 嵌入到 Flash 中。

或者:如果您根本不想编码,这里有一个 powerpoint 转换工具:http: //www.pptools.com/ppt2html/index.html
我不确定它的效果如何,您可能最终会感到沮丧,并且无论如何您都必须编写一些代码。

选项 #1 很好,并且只需要很少的实际编码,只需修复 powerpoint 出错的地方即可。

选项#3,闪光 ewww。

选项 #4 我还没有尝试过,但如果你愿意的话,你当然可以,可能不会太快或可定制。

但总体而言,最好的选择是用您的眼睛查看它,并使用您的代码知识和 w3fools.com 进行转换,错误,哎呀,http://www.w3schools.com/ 作为资源。

Since I'm guessing you're not the best with web design hardcode, your options are:

Go into powerpoint, and use the 'Save For Web' button. It won't be perfect, you'll probably have to tweak some stuff, but you could make it look right with much less coding knowledge then the normal site.

OR: Make a flash site and embed the powerpoint into the flash, if you're flash savvy.

OR: Here's a poweproint conversion tool if your powerpoint if you don't want to code at all: http://www.pptools.com/ppt2html/index.html
I'm not sure how well it works, you'll probably just end up frustrated and you'll have to code some anyway.

Option #1 is good, and it will require very little actual coding, just fixing the thing powerpoint does wrong.

Option #3, flash ewww.

Option #4 I haven't tried it, but you sure can if you're feeling up to it, probably won't be too fast or customizable.

But overall, the best bet is going to be look at it with your eyes and convert it using your knowledge of code and w3fools.com, err, oops, http://www.w3schools.com/ as a resource.

夏末的微笑 2024-11-21 06:46:33

FWIW,我认为 PPTools PPT2HTML 插件不会给出所需的结果。我写的,所以我想我可以像任何人一样权威地回答。 ;-)

它将为您提供原始 PPT 幻灯片的图像,还可以选择包含保留链接和操作设置(如果有)的图像映射。

它可以用来以相当可预测的方式提取标题、正文和任何其他文本,甚至可以在每个文本位周围插入您喜欢的任何 HTML/CSS 代码,但除非幻灯片是相当简单的示例库存 PPT 幻灯片的数量可能不是很有帮助。

FWIW, I don't think the PPTools PPT2HTML add-in will give the needed results. I wrote it, so I suppose I can answer as authoritatively as anyone. ;-)

It'll give you an image of the original PPT slide, optionally with an image map that preserves the links and action settings if any.

And it could be used to extract the title, body and any other text in a fairly predictable way, and could even insert any HTML/CSS code you like around each of these bits of text, but unless the slide/slides are fairly simple examples of stock PPT slides, that might not be very helpful.

输什么也不输骨气 2024-11-21 06:46:33

我使用的是 PowerPoint 2016。我使用此网站来转换我的 PowerPoint到 HTML 文件。我将 CSS、HTML、JavaScript 全部包含在一个 HTML 文件中。

I'm using PowerPoint 2016. I used this site to convert my PowerPoint to an HTML file. I got the CSS, HTML, JavaScript all in one HTML file.

带上头具痛哭 2024-11-21 06:46:33

我发现(对于开发人员)最好的是 PowerPoint to Html5 SDK。它将 powerpoint 转换为 html,包括视频和音频,具有令人惊叹的播放器 API。非常容易定制(可以定制播放器模板)。质量也很好:尝试一下

The best i found (for developers) is PowerPoint to Html5 SDK. It convert powerpoint to html including video and audio with amazing player API. Very easy to customize (player template can be customized). Quality is also good: try it

小霸王臭丫头 2024-11-21 06:46:33

您尝试过转换工具html5point吗?他们在网站上有一个演示,如convertio。但输出上有水印。

https://www.digitalofficepro.com/powerpoint/powerpoint-to- html5-converter.html

Have you tried the converion tool html5point? They have a demo on the site as in convertio. But there is a watermark on the output.

https://www.digitalofficepro.com/powerpoint/powerpoint-to-html5-converter.html

我ぃ本無心為│何有愛 2024-11-21 06:46:33

另一个解决方案是: 使用

  1. 以下方法将 PowerPoint 演示文稿导出为 .pdf 文档:
  • 文件
  • 导出
  • 创建 PDF
  1. 将 pdf 文档转换为 .html 文件 使用:
  • 通过谷歌搜索“pdf 到 html”
  • Adobe,您可以找到任何免费网站,...

Another solution is to :

  1. Export your PowerPoint presentation to a .pdf document with :
  • File
  • Export
  • Create PDF
  1. Convert your pdf document to an .html file with :
  • Any free website you will find by googling "pdf to html"
  • Adobe, ...
洛阳烟雨空心柳 2024-11-21 06:46:33

到目前为止,将 PPT 转换为 HTML5 格式的最简单方法是使用 iSpring Converter Pro。在这里查看:http://www.ispringsolutions.com/ppt-to-html

By far the easiest way to convert your PPT to HTML5 format is to use iSpring Converter Pro. Check it out here: http://www.ispringsolutions.com/ppt-to-html

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文