How to convert from Powerpoint to HTML / CSS ? (FOSS)

人盡茶涼 提交于 2019-11-30 06:55:32

问题


Someone has mocked up a website using PowerPoint, and I have to convert it to HTML / CSS.

This is not a request to simply embed PowerPoint into the webpages. This will not be a static HTML site. PHP will generate HTML, and there are a bunch of forms for the user to submit information.

Is there a conversion tool, or a series of conversion hoops that I can jump through? I'd much rather have the styles in CSS than inline in the HTML.


回答1:


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.




回答2:


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.




回答3:


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.




回答4:


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.




回答5:


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




回答6:


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




回答7:


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



来源:https://stackoverflow.com/questions/6274218/how-to-convert-from-powerpoint-to-html-css-foss

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!