FFWinPlugin 插件

上次修改时间: 2010年10月13日

适用范围: SharePoint Foundation 2010

Netscape Plug-in Application Programming Interface (NPAPI) 插件使 Microsoft SharePoint Foundation 2010 用户能够从 Mozilla Firefox 网络浏览器中使用 Microsoft Office 应用程序打开和编辑文档。

备注

该插件的实现是在动态链接库 (DLL) NPSPWRAP.dll 中定义的,而该动态链接库在 Microsoft Office 2010 安装期间安装在客户端计算机的 %ProgramFiles%\Microsoft Office\Office14\ 目录中。除了专门设计用于 Firefox 网络浏览器外,其用途类似于 OpenDocuments 控件。有关详细信息,请参阅OpenDocuments 控件

在 SharePoint Foundation 中,通过调用 INIT.js 中的 CreateFirefoxOnWindowsPlugin 函数可将该控件添加到网页。此调用会使用 application/x-sharepoint 作为 type 属性的值,将一个 OBJECT 元素添加到托管页面的文档对象模型 (DOM)。这是该插件的 MIME 类型。下面的示例演示结果标记。

<object id="winFirefoxPlugin" type=”application/x-sharepoint" width="0" height="0" style=”visibility: hidden;”>