打开/处理Word文档一样的SharePoint [英] Open/handle Word documents like SharePoint

查看:323
本文介绍了打开/处理Word文档一样的SharePoint的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

任何人都可以点我在正确的方向,当涉及到使用asp.net在服务器上处理Word文档文件(.docx)。

Could anyone point me in the right direction when it comes to handling Word documents (.docx) on the server using asp.net.

我知道我能写,并使用所提供的API读取的.docx文档。

I know I can write to and read the .docx document using the API provided.

不过,我想实现这个喜欢的SharePoint做的。用户浏览该网站时,他登录,然后选择做一个新的Word文档文件夹中,然后在Word文档下载,并在本地打开。然后,我希望用户能够将文档保存到服务器。

But I would like to implement this like SharePoint does it. The user browses the web site, he is logged in, then chooses to make a new Word document in a folder, then the Word document downloads and opens locally. Then I would like the user to be able to save the document back to the server.

另外,有读/任何好的成分写在浏览器中的Word文档。我已经使用Telerik的编辑器组件没有任何运气尝试。

Alternatively, is there any good components for reading/writing Word documents in the browser. I have tried using the Telerik editor component without any luck.

推荐答案

第一:关于SharePoint和放大器;一句话:的Sharepoint的是使用一种称为WebDAV协议来提供这种

First: About Sharepoint & Word: Sharepoint is using a protocol called WebDAV to provide this.

据我所知是的WebDAV包含IIS的标准协议(安装Windows组件)。 Windows可以使用WebDAV说话像它的一些安装的驱动器,因此Word可以处理从那里担任.doc文件。与来自ASP.NET的WebDAV的情况下,你可以使用通讯 http://www.independentsoft.de/的WebDAV / index.html的

Afaik is WebDAV a standard protocol included with IIS (Install Windows Components). Windows can talk with WebDAV like it's some mounted drive, and therefore Word can handle .doc files that are served from there. To communicate with the WebDAV instance from ASP.NET you can use http://www.independentsoft.de/webdav/index.html.

我猜重定向用户到WebDAV服务器上的Word文档应该得到它的工作对用户,但我不知道这一点。从来没有真正实施了WebDAV的解决方案。

I guess redirecting the user to the Word doc on the WebDAV server should get it working for the user, but I'm not sure about that. Never actually implemented a WebDAV solution.


好编辑:的如果你有一个小的用户群,你应该看看 xstandard ,我发现迄今为止最酷的富文本编辑器中可用。然而,它的工作原理与Java / ActiveX技术,让您的用户首先应该安装的组件,但它支持图像拖放等等。我从来没有见过一个原生浏览器内编辑器,给了我一个很好的经验(Telerik的最接近2年前)。

Good editor: If you have a small set of users, you should have a look at xstandard, I found that by far the coolest rich text editor available. Yet it works with Java/ActiveX, so your users should install the component at first, but it supports image drag-drop etc. I have never seen a native in-browser editor that gives me a good experience (Telerik came closest 2 years ago).

这篇关于打开/处理Word文档一样的SharePoint的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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