# hello_dsoframer **Repository Path**: liuyuantao/hello_dsoframer ## Basic Information - **Project Name**: hello_dsoframer - **Description**: dsoframer组件开发说明及使用说明 - **Primary Language**: JavaScript - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 15 - **Forks**: 11 - **Created**: 2017-02-22 - **Last Updated**: 2024-08-03 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # DSOframer === ##### this tool is used for edit word/excel/ppt in web. ##### DSOframer是微软提供一款开源的用于在线编辑 `Word`、`Excel`、`PowerPoint`的`ActiveX`控件。国内很多著名的OA中间件,电子印章,签名留痕等大多数是依此改进而来的。 ##### 示例: ![](https://static.oschina.net/uploads/space/2017/0222/125635_aupq_2772739.png) ## 资源介绍: --- * `DSOframer\ActiveX\DSOframer\DsoFramer_KB311765_x86.exe` 备注:官方提供的安装包,里面包含`DSOframer.ocx`控件及源码,还有`VB`版、`VB.NET`版、`Web`版等3个Demo。 * `DSOframer\ActiveX\DSOframer\DSOframer.CAB` 备注:将`DsoFramer_KB311765_x86.exe`中的`DSOframer.ocx`,打包成了`DSOframer.CAB`,以便在Web中可以自动下载。 可参见 [OCX打包CAB并签名过程](http://www.cnblogs.com/rushoooooo/archive/2011/06/22/2087542.html)。 * `DSOframer\ActiveX\DSOframer2007\DSOframer2007.CAB` 备注:貌似修复了一些office2007兼容性问题,如果上面那个用着有问题,可以试试这个。 * `DSOframer\ActiveX\WebFileHelper.CAB` `DSOframer\ActiveX\WebFileHelper2.CAB` 备注:该控件只有简单的上传、下载、压缩等功能,也是博主用来上传doc到服务器的方法。 如果您觉得第三方`ActiveX`不安全,请不要使用这个方法。 因为该控件未签名,在部分电脑上可能会报以下错误。 ![](https://static.oschina.net/uploads/space/2017/0222/122627_JGAq_2772739.png) #### 解决方案如下: * 打开IE菜单 `工具->Internet选项`,选择 `安全` 选项卡,点击 `自定义级别` 按钮,将 `下载未签名的ActiveX控件(不安全)` 设置为 `启用(不安全)`。 * 打开IE菜单 `工具->Internet选项`,选择 `高级` 选项卡,勾选设置列表中 `允许运行或安装软件,即使签名无效`。 ![](https://static.oschina.net/uploads/space/2017/0222/122651_f9hp_2772739.png) * `DSOframer\OfficialDemo.htm` 备注:官方安装包中的 Demo,代码是用 vbscript 写的,很多朋友说不能运行。 * `DSOframer\OfficialDemo_JS.htm` 备注:基于官方安装包的 Demo 用 javascript 重写的版本,功能跟官方 Demo 没有区别。 * `DSOframer\CommonDemo.html` 备注:常用功能总结 * `DSOframer\script.js` 备注:大部分DSOframer操作都在该文件中,并写了详细的注释,请重点参考。