网页上嵌入可编辑MS Word文档 [英] Embed editable MS Word document on web page

查看:148
本文介绍了网页上嵌入可编辑MS Word文档的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要present Word和PDF文档中的只读的preVIEW,通过一个ASPX / HTML页面,我的内部用户。在相关的要求,我需要present的编辑的Word文档,通过AB ASPX / HTML页面,各方我们的网络之外 - 有效的公共

I need to present Word and PDF documents in a read-only preview, via an ASPX/HTML page to my internal users. In a related requirement, I need to present editable Word documents, via ab ASPX/HTML page, to parties outside of our network - effectively the public.

我们不能依靠Word或Adobe型PDF插件是可以的目标计算机上。

We cannot rely upon Word or Adobe-type PDF plugins being available on the destination PC.

任何人都可以提出一个办法做到这一点?

Can anyone suggest a way to do this?

编辑 - 为清楚起见,文件/数据将的理想的留在我们自己的服务器

Edit - For clarity, the document/data would ideally stay on our own servers.

推荐答案

什么关于使用<一个href=\"https://developers.google.com/google-apps/documents-list/#creating_or_uploading_text_documents\"相对=nofollow>谷歌文档API ?你可以使用任何自己的字像文档或表格来获得您所需要的数据,然后present在内部。

What about using Google Docs API? You could use either their word-like doc or a form to get the data you need, and then present that internally.

不知道这是否符合您的所有要求,或者是一个可行的选择。

Not sure if this meets all of your requirements, or is an available option.

有关我们公司,我们具有利用谷歌文档一些工具。我们动态地将数据上传到他们的特殊需求。

For our company, we have a few tools that utilize Google Docs. We upload data dynamically to them for specific needs.

根据您的要求,也许是最好只写你自己的。我还没有创建富文本编辑器。但它看起来像有相当多的在线教程。这里是一个<一个href=\"http://www.dreamin$c$c.net/forums/topic/246337-a-simple-text-editor-in-html-javascript-and-a-tiny-bit-of-css/\"相对=nofollow>为富文本编辑器的基础教程。它使用JavaScript,HTML,&安培; CSS。如果preFER不使用JS,那么你可能需要寻找其他的教程。

Based on your requirements, maybe it's best to just write your own. I haven't created a Rich Text Editor. But it looks like there are quite a few tutorials online. Here is a basic tutorial for a rich text editor. It's using javascript, HTML, & CSS. If you prefer to not use js, then you may need to look for other tutorials.

这还不是最富有魅力的解决方案,因为它看起来像用户的看法是HTML。我倒是觉得,你可以把它与实际的富文本视图(类似堆栈溢出怎么还他们一个答案低于或问题被写入)动态更新到一边。

This isn't the most glamorous solution, as it looks like the users view would be HTML. I'd think you could have it updating dynamically off to the side with an actual rich text view (similar to how Stack Overflow has theirs below an answer or question being written).

更新
//www.aloha-:多年来,我正在探索HTML5的 CONTENTEDITABLE 属性周末,我跨了构建调用阿罗哈编辑器 。这是一个所见即所得的编辑器类型。但是,如果这是您为您的客户渴望的东西,比这可能会是一个pretty简单的集成。我还没有使用它,但似乎这将是一个非常适合 - 如果你决定去构建自己的编辑器的路径

Update Over the weekend I was exploring HTML5's contenteditable attribute, I came across an editor that builds off of that called Aloha Editor. It's a WYSIWYG type editor. But if that's something that you desire for your clients, than this would probably be a pretty simple integration. I have yet to use it, but it seems like it would be a great fit - if you decide to go the route of building your own editor.

这篇关于网页上嵌入可编辑MS Word文档的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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