将Office文档转换为html5 [英] converting office documents to html5

查看:524
本文介绍了将Office文档转换为html5的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在做一个项目,并且我需要像Office web app之类的东西,我不知道自己能否自己制作,如何读取office文件格式并将其转换为html5.

I am working on a project, and I need something like office web app , I don't know if I can make it myself , how to read office file formats and convert it to html5.

推荐答案

将任意Office文档转换为HTML 5是一个非常重要的项目.

It's a very significant project to convert arbitrary Office documents to HTML 5.

Office本身通常可以HTML格式保存.您很可能可以使用各种Office产品提供的Interop库将其另存为HTML.看:

Office itself can generally save in HTML format. You can most likely use the Interop libraries provided by the various Office products to save as HTML. Look at:

http://msdn.microsoft.com/zh-CN/library/microsoft.office.interop.excel._workbook.saveas(v = office.11​​).aspx

如果您想从头开始(不使用现有实现或Interop库),则可以查看Open XML格式

If you want to do this from scratch (without using an existing implementation or the Interop libraries), you can look at the Open XML format

http://msdn.microsoft.com /en-us/library/aa338205(v=office.12).aspx

这篇关于将Office文档转换为html5的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆