提交 bf38ceb4 编写于 作者: W wangzuohuai

网络版2.1.3.2(单机版1.3.3.2)

    1、发布Solidworks网页小程序体验版,支持在线编辑查看三维工程图;
    2、发布PCL网页渲染小程序体验版,支持在线渲染点云数据并进一步处理;
    3、增强Office网页小程序功能,实现插入图片、文字、批注等,另保存、导出文档;
    4、网络版等待后台审批或被禁用时增加不再提示问题;
    5、请求启动内嵌小程序时可要求管理员权限启动;
    6、解决前端发送过大JSON包时数据接收异常问题;
    7、解决VLC网页小程序不支持多个播放选项问题
上级 6c34d630
点聚AIP电子签章内嵌网页小程序:基于跨浏览器的小程序系统-PluginOK(牛插)中间件( https://github.com/wangzuohuai/WebRunLocal )开发,底层调用北京点聚信息技术有限公司的ActiveX控件(3.1版)HWPostil.ocx(此控件版权归北京点聚信息技术有限公司所有)实现。最低可用在Chrome 41、Firefox 50、Edge 80(Chromium内核)、360极速/安全、IE 8、Oprea 36、QQ等浏览器,也兼容运行于这些浏览器的最新版本。
点聚AIP电子签章内嵌网页小程序:基于跨浏览器的小程序系统-PluginOK(牛插)中间件( https://github.com/wangzuohuai/WebRunLocal )单机高级版开发,底层调用北京点聚信息技术有限公司的ActiveX控件(3.1版)HWPostil.ocx(此控件版权归北京点聚信息技术有限公司所有)实现。最低可用在Chrome 41、Firefox 50、Edge 80(Chromium内核)、360极速/安全、IE 8、Oprea 36、QQ等浏览器,也兼容运行于这些浏览器的最新版本。
1、PluginOK(牛插)中间件的安装:
1)、如果是exe的安装程序,请直接运行安装;
2)、如果是绿色版的程序包,请解压到磁盘某个目录后,双击“InstallWrl.bat”进行安装。
2、AIP电子签章内嵌网页小程序控制相关接口:
说明:以下功能请通过Web Socket连接PluginOK主服务(ws://localhost?sid=12345&flag=1)后可执行,如默认侦听端口不是80(关于如何配置侦听端口,请参考SDK包中的文档“PluginOK开发者手册.doc”),请在连接地址中指定端口号进行连接。
说明:以下功能请通过Web Socket连接PluginOK主服务(ws://localhost:80?sid=12345&flag=1)后可执行,如默认侦听端口不是80(关于如何配置侦听端口,请参考SDK包中的文档“PluginOK开发者手册.doc”),请在连接地址中指定端口号进行连接。
HTTP网页在线测试:http://zorrosoft.com/aipfull.html HTTPS网页在线测试:https://zorrosoft.com/aipframe.html
前端集成可参考以上测试网页进行,HTML网页中需要嵌入以下类似代码;
A、标记小程序的显示位置和大小
......@@ -96,21 +96,21 @@ File为指定截图文件保存路径或扩展名
Base64指定为1时代表返回BASE64编码的图像内容
{"req":"Wrl_AppletSnap","rid":10,"para":{"ID":1,"Base64":1,"File":".png"}}
8)、请求缩放IE控件内嵌网页小程序,用于浏览器网页按比例缩放,一般不需要处理:
8)、请求缩放内嵌网页小程序,用于浏览器网页按比例缩放,一般不需要处理:
ID为启动小程序时返回JSON中的ID值,Scall为缩放百分比
{"req":"Wrl_AppletScale","rid":11,"para":{"ID":1,"Scale":120}}
3、小程序安装、升级、卸载
1)、请求安装AIP电子签章内嵌网页小程序
请在输入框中,输入如下请求,然后点击发送,完成安装:
请在测试网页输入框中,输入如下请求,然后点击发送,完成安装:
{"req":"Plugin_Install","rid":1,"para":{"Name":"AIP电子签章内嵌网页小程序","PID":"AIPSignApplet","Date":"2021-03-27","Desc":"PluginOK之上跨浏览器的AIP电子签章内嵌网页小程序,支持在Chrome、Edge、Firefox、IE、Oprea、360、QQ等最新版本浏览器网页中内嵌使用","DownAddr":"http://local.zorrosoft.com/Files/Plugin/AIPSignApplet.pid","MD5":"4F9514D7B72B3CE2E6952268F3ED6D75","Version":"2.1.3.1","Size":557056,"HideIns":0,"Type":8,"Cookie":"","Auth":"","TK":"580F3AF790C25EA9234B0852B1B62E22983E56875A8CE822A8CDA0108A4505F9B8676E4E8AE8B0BFCB9533FE8D9E5EB7B04366389D1ACD1BF60CAD3246BB0DEE2A1563BB7D7063AAF7EC7A229E13CDB863DC34CB1577A8A0E57A7451848272C350BB9E2DAD65E6F911217DF566384B26EB357005098374765895464F17AB4D5203E367101955A7752E8ED17D6C002B3558A23C8AF7EA6085E6BF1A07865E21C8D139F56F344FCE84918E03CEACD2795C6DFA15F8BA07906128A6802943FEA53833B232B1727F7BF7889AC609B77763A1A1DBFD855B5484C7E66B795A56BE1D7E3A46A33D69E9D7E8B358928575B71741EBDF7CC7B664159DECB8D2769AA21279"}}
{"req":"Plugin_Install","rid":1,"para":{"Name":"AIP电子签章内嵌网页小程序","PID":"AIPSignApplet","Date":"2021-05-06","Desc":"PluginOK之上跨浏览器的AIP电子签章内嵌网页小程序,支持在Chrome、Edge、Firefox、IE、Oprea、360、QQ等最新版本浏览器网页中内嵌使用","DownAddr":"http://local.zorrosoft.com/Files/Plugin/AIPSignApplet.pid","MD5":"F5BFA90E3B233F5872DEBEB07EE55C5C","Version":"1.3.3.2","Size":557056,"HideIns":0,"Type":8,"Cookie":"","Auth":"","TK":"C17A0C44D0D49D24DC66568C43BDEAB771F108920AE39A093F388A16536BC59FA7AAD0AE6E7642245CF9242E1D1AD87A7A487F2C87D3988C7CB203E7F69F17DCC7CA12BB9E34BB0EA5C4B47B671EEBB98493FFDC05B112FB367D4A3FB4BED14DE5166F1385A4E1E489860A56A731BFC80E9828B4063CA9C58BD70CE93EEBF5171C5DF51A8014E0E8316B48702F98C38EEC4ED4F101F7E01283A4CA6C192B447A9ABA33DDAB1D1388E13598D42875AEC51E71F650F338EBEFA8D11EC9E66EAC04F3089BEA52483FDF8F17BD2AA1025DE419F8BC160066C6899A77FE89CA34F5A1C057E9CCC8E009A2634184B1C65DEB5AA4B335B83D347DDDA819515C7DFE4634"}}
启动安装后,会不断收到安装进度直到安装结束。
2)、请求升级点聚AIP电子签章内嵌网页小程序:
{"req":"Plugin_Update","rid":1,"para":{"Name":"AIP电子签章内嵌网页小程序","PID":"AIPSignApplet","Date":"2021-03-27","Desc":"PluginOK之上跨浏览器的AIP电子签章内嵌网页小程序,支持在Chrome、Edge、Firefox、IE、Oprea、360、QQ等最新版本浏览器网页中内嵌使用","DownAddr":"http://local.zorrosoft.com/Files/Plugin/AIPSignApplet_Update.pid","MD5":"6EF30751D1E397932C91E3B4FDF1F189","Version":"2.1.3.1","Size":557056,"HideIns":0,"Type":8,"Cookie":"","Auth":"","TK":"1E45F581BAFABF65027FCF8D896C408475499CF1497CA9310B5E0EF770F77F573657AE376E6D0BD9BC6947171D42CDEDE9E2838A954C1BA13C8E757E755CC6074F0D120EC18D8BF5F5B5A0CA2EEA3438A56F1DE9F87C7514D67B93958B547C9DF6B3DCD9FB6FACA9339FB9210AEE27F14924746523BAA25B990F99325A1736AA77A69C11F89DF82356250BB5093C29FDC0D2713560A8CA7B001F3FBB6684487B4BF409C2D8A06A7B02178EA9BE833337A121C23F6268E65947F1BAF8B14EFCEEB25817C10CCD05110F54625D4CC8E9A1158628F7FB982E963D726D06C58F34F87C9065307287A150EB5C17E8E0E017CF9F180D83D60D35A51BC145B270CADFB8"}}
{"req":"Plugin_Update","rid":1,"para":{"Name":"AIP电子签章内嵌网页小程序","PID":"AIPSignApplet","Date":"2021-05-06","Desc":"PluginOK之上跨浏览器的AIP电子签章内嵌网页小程序,支持在Chrome、Edge、Firefox、IE、Oprea、360、QQ等最新版本浏览器网页中内嵌使用","DownAddr":"http://local.zorrosoft.com/Files/Plugin/AIPSignApplet_Update.pid","MD5":"378A501571856C4A134E645BB5F21E38","Version":"1.3.3.2","Size":557056,"HideIns":0,"Type":8,"Cookie":"","Auth":"","TK":"AA61B7CE55B8B08C5C485E66EB1D6B90EDB46CC0D1EEF72F0AA6F9748C0DF7362539C98BFAECA03BF3CDA1D3181DA60A9AEF6A65939BEEC9932A3D9EABF88344D7FBE6B65FB58F7D955EB998114449A068D6727DA4D497F47DFDB5B4E2B463B9BA406ECDBD4CF23CBDE1D1088B6FDC62D5BC0C75433B70A92707CA09BDD303766023C73E5D861CF5E876884120E844F47169F425D978BE38B277117FBEBF460213AAA717096F66270BB5AB3311B546C6E82A56A888755BE26EA8753C6E74152CB0BA8C25D896F3A49039E9EA2511B87A9A82D63265578DF0051066F50879065DE30D8D41DE9004F7492031DCCC95E68B873CA60008B28DE2463B6A145DC1FC6A"}}
以上安装和升级的JSON请求包,可能因版本升级导致内容不同,如遇安装或升级时报错,请联系客服获取最新的请求包。
......
Autodesk内嵌网页小程序:基于跨浏览器的小程序系统-PluginOK(牛插)中间件( https://github.com/wangzuohuai/WebRunLocal )开发,底层调用Autodesk的AutoCAD软件VBA接口及DWG TrueView或Design Review的OCX控件实现可程序化驱动的dwg等工程图在线查看、编辑、审阅等,可分别将AutoCAD、DWG TrueView、Design Review软件窗口内嵌到网页指定区域运行并操控。最低可用在Chrome 41、Firefox 50、Edge 80(Chromium内核)、360极速/安全、IE 8、Oprea 36、QQ等浏览器,也兼容运行于这些浏览器的最新版本。
Autodesk内嵌网页小程序:基于跨浏览器的小程序系统-PluginOK(牛插)中间件( https://github.com/wangzuohuai/WebRunLocal )单机高级版开发,底层调用Autodesk的AutoCAD软件VBA接口及DWG TrueView或Design Review的OCX控件实现可程序化驱动的dwg等工程图在线查看、编辑、审阅等,可分别将AutoCAD、DWG TrueView、Design Review软件窗口内嵌到网页指定区域运行并操控。最低可用在Chrome 41、Firefox 50、Edge 80(Chromium内核)、360极速/安全、IE 8、Oprea 36、QQ等浏览器,也兼容运行于这些浏览器的最新版本。
1、PluginOK(牛插)中间件的安装:
1)、如果是exe的安装程序,请直接运行安装;
......@@ -6,7 +6,7 @@
3)、安装完成时会启动PluginOK中间件服务,在安装目录下的Data子目录有WrlService.txt日志文件输出运行情况。
2、Autodesk内嵌网页小程序控制相关接口:
说明:以下功能请通过Web Socket连接PluginOK主服务(ws://localhost?sid=12345&flag=1)后可执行,如默认侦听端口不是80(关于如何配置侦听端口,请参考SDK包中的文档“PluginOK开发者手册.doc”),请在连接地址中指定端口号进行连接。
说明:以下功能请通过Web Socket连接PluginOK主服务(ws://localhost:80?sid=12345&flag=1)后可执行,如默认侦听端口不是80(关于如何配置侦听端口,请参考SDK包中的文档“PluginOK开发者手册.doc”),请在连接地址中指定端口号进行连接。
HTTP网页在线测试:http://zorrosoft.com/acadfull.html HTTPS网页在线测试:https://zorrosoft.com/acadframe.html
前端集成可参考以上测试网页进行,HTML网页中需要嵌入以下类似代码;
A、标记小程序的显示位置和大小
......@@ -106,22 +106,22 @@ File为指定截图文件保存路径或扩展名
Base64指定为1时代表返回BASE64编码的图像内容
{"req":"Wrl_AppletSnap","rid":10,"para":{"ID":1,"Base64":1,"File":".png"}}
8)、请求缩放IE控件内嵌网页小程序,用于浏览器网页按比例缩放,一般不需要处理:
8)、请求缩放内嵌网页小程序,用于浏览器网页按比例缩放,一般不需要处理:
ID为启动小程序时返回JSON中的ID值,Scall为缩放百分比
{"req":"Wrl_AppletScale","rid":11,"para":{"ID":1,"Scale":120}}
3、小程序安装、升级、卸载
1)、请求安装Autodesk内嵌网页小程序
请在输入框中,输入如下请求,然后点击发送,完成安装:
请在测试网页输入框中,输入如下请求,然后点击发送,完成安装:
{"req":"Plugin_Install","rid":1,"para":{"Name":"Autodesk内嵌网页小程序","PID":"ACadApplet","Date":"2021-03-27","Desc":"PluginOK之上跨浏览器的Autodesk内嵌网页小程序,支持在Chrome、Edge、Firefox、IE、Oprea、360、QQ等最新版本浏览器网页中内嵌AutoCAD等程序进行在线编辑、查看或审阅工程图","DownAddr":"http://local.zorrosoft.com/Files/Plugin/ACadApplet.pid","MD5":"3A770DC57730216289722D8241CA3C96","Version":"2.1.3.1","Size":688128,"HideIns":0,"Type":8,"Cookie":"","Auth":"","TK":"31AA84AC8F09649EF3E484E8E48497CA0C418E16807DB57A12EAA43D37AB6C7168C91F9A5C24CEE1E727CD511333A3E51A7697F456A406934F29B9A3EC121DEA21B8EE61F3C98C8AA9343BAE34DCE13E4426CF5B774D73154BCE109A25C84BCB24A277722DEFC4C32ECE652116C77EC3FF67ECFCFB7B4D381144DD15B2E4024D95F2FB027138C0742730D5FB326AC0975AECF3E3536A3B9FF115B0520A62456445ED55D9986995B67563912FBDF1D8444DE711EF8E42FF4B26DBFEB53B60C896475F3D08EE9C7292F61B0E867E8B1A431A829C098F719DA41F28082934AA991A6F11101002DC0087781D9C23FBB13F77156A14AA1CF1E06BCAD3D8D64BD33747"}}
{"req":"Plugin_Install","rid":1,"para":{"Name":"Autodesk内嵌网页小程序","PID":"ACadApplet","Date":"2021-05-06","Desc":"PluginOK之上跨浏览器的Autodesk内嵌网页小程序,支持在Chrome、Edge、Firefox、IE、Oprea、360、QQ等最新版本浏览器网页中内嵌AutoCAD等程序进行在线编辑、查看或审阅工程图","DownAddr":"http://local.zorrosoft.com/Files/Plugin/ACadApplet.pid","MD5":"4773D63E747A467D19697E5E7094D5BC","Version":"1.3.3.2","Size":753664,"HideIns":0,"Type":8,"Cookie":"","Auth":"","TK":"6D37D3F048C2BDCFE96A07512D745780394639D5CB615B37626882B4E456024E4EA4A48596FD9D9DADD9CB4C7BAA8281DC6C992DC614B44C080697B2E497C7BAA73F2C3B0D86292C544FADAE3AE7E600F6EA450F3F300C95AC41DC8D199F9B0A2E04CF913D8CFE896EEB351E4EDFE01AD28D6D2C1D9B336D458F7E6993868FAB01FB6291695780FEE822621D96414F1C65CFAA7D1E9ED91F327341B754466FD89A2E24644CE574BE0A1A39ECF5F3C9970B0D4C08B6DAF97FE782E0469B4696AF2D1F29BD010D972146FC6FBF598B423A121EC2F3090E8BC75F5AD392A5E842F9E5B0AE6EAF0AA95661C2AC92FBA7627CA5731E339740281443817EA5A61DF0B2"}}
启动安装后,会不断收到安装进度直到安装结束。
在发布时,也可以把此小程序目录文件和中间件一起打包后发布,不用单独分发。
2)、请求升级Autodesk内嵌网页小程序:
{"req":"Plugin_Update","rid":1,"para":{"Name":"Autodesk内嵌网页小程序","PID":"ACadApplet","Date":"2021-03-27","Desc":"PluginOK之上跨浏览器的Autodesk内嵌网页小程序,支持在Chrome、Edge、Firefox、IE、Oprea、360、QQ等最新版本浏览器网页中内嵌AutoCAD等程序进行在线编辑、查看或审阅工程图","DownAddr":"http://local.zorrosoft.com/Files/Plugin/ACadApplet_Update.pid","MD5":"1A0BF408CCC18A78A2483B13E47FEA6D","Version":"2.1.3.1","Size":688128,"HideIns":0,"Type":8,"Cookie":"","Auth":"","TK":"C19A813EE9C820F6544B79CA0E720DD8BC813CE711B99ED2E6077D864390FB0030EF591993F16F15DF666A0482EB993CABA28BAE189B1E1478E8D06A0E52116211D00655504A6F491458ACF5FFDCC5B42C85FFA7351463584FBD730F96E3BC8AA9493248357B091A7BB2E3964C9A90FB5C301E9978BC3725EF0D182882BFF32E92DA372C58A7911F754A67344465B28A3FEC9DF28EBF8EA8CA50AE2EB7FBA4FED2994F4F94B1E37029C21B33756091254DCFDE8D4E656825524893ECDC57D97AC3D6EC533BD83457BA07B709B3FA23C997F58AA021B6E50CC43DA6A80BABFCC569129C04654B6276E7C19986DB22E80D1B39DA6894A9DF21A7E9E7F6AAA4FF23"}}
{"req":"Plugin_Update","rid":1,"para":{"Name":"Autodesk内嵌网页小程序","PID":"ACadApplet","Date":"2021-05-06","Desc":"PluginOK之上跨浏览器的Autodesk内嵌网页小程序,支持在Chrome、Edge、Firefox、IE、Oprea、360、QQ等最新版本浏览器网页中内嵌AutoCAD等程序进行在线编辑、查看或审阅工程图","DownAddr":"http://local.zorrosoft.com/Files/Plugin/ACadApplet_Update.pid","MD5":"616E7F7399E9ED720522E970981A0554","Version":"1.3.3.2","Size":753664,"HideIns":0,"Type":8,"Cookie":"","Auth":"","TK":"7CE0282577C90A178D46B9663F3B83D1F68FC72F9A9A3AEBDDA0421E1BD0A02F08117B456B43E7F6EBBECEE73D4F7B7352E57114E67B9F72C2243CC6596D035FA5D1E32A40DAD1F397FB0C3CAC2FF17F6BC0AA9529AC5084DC0930074C8B21BC62F1FC169F9FA48DD4F0F04E0F4352C4986F5A23DD6AE0727BF2E7E97427172EEFCBA416AE1884E79F5F4BC61B7A58B89B8605CC151A5E548369AB8E657B6FDB81147D635187405E54AA5C6B18D75165BD53FC41800B8EE00DAD15A8A068F52FAE22E5612722C0D21C96C65F2F19A1FAB59BC63ED18D293F07D1D53386FAF720A0C5BF39B38F79202A93BE642239AE7F9996BFAB9CADA8B18C3A2B8793271ABE"}}
以上安装和升级的JSON请求包,可能因版本升级导致内容不同,如遇安装或升级时报错,请联系客服获取最新的请求包。
......
2021-03-30 PluginOK升级网络版2.1.3.1(单机版1.3.3.1)
2021-05-07 PluginOK升级网络版2.1.3.2(单机版1.3.3.2)
1、发布Solidworks网页小程序体验版,支持在线编辑查看三维工程图;
2、发布PCL网页渲染小程序体验版,支持在线渲染点云数据并进一步处理;
3、增强Office网页小程序功能,实现插入图片、文字、批注等,另保存、导出文档;
4、网络版等待后台审批或被禁用时增加不再提示问题;
5、请求启动内嵌小程序时可要求管理员权限启动;
6、解决前端发送过大JSON包时数据接收异常问题;
7、解决VLC网页小程序不支持多个播放选项问题。
2021-03-30 PluginOK升级网络版2.1.3.1(单机版1.3.3.1)
1、细化网络版服务端审批具体到指定小程序的使用权,支持SAAS模式;
2、标准版不再要求管理员权限启动中间件主程序;
3、中间件支持OEM配置联系方式,支持渠道销售;
......
文件操作浏览器小程序,基于跨浏览器的小程序系统-PluginOK(牛插)中间件(https://github.com/wangzuohuai/WebRunLocal)开发,提供本地文件HTTP协议的上传与下载、本地图像文件旋转与缩放、本地文件访问、本地程序运行等服务。最低可用在Chrome 41、Firefox 50、Edge 80(Chromium内核)、360极速/安全、IE 8、Oprea 36、QQ、搜狗等浏览器,也兼容运行于这些浏览器的最新版本。
文件操作浏览器小程序,基于跨浏览器的小程序系统-PluginOK(牛插)中间件(https://github.com/wangzuohuai/WebRunLocal)单机标准版开发,提供本地文件HTTP协议的上传与下载、本地图像文件旋转与缩放、本地文件访问、本地程序运行等服务。最低可用在Chrome 41、Firefox 50、Edge 80(Chromium内核)、360极速/安全、IE 8、Oprea 36、QQ、搜狗等浏览器,也兼容运行于这些浏览器的最新版本。
1、PluginOK(牛插)中间件的安装:
1)、如果是exe的安装程序,请直接运行安装;
2)、如果是绿色版的程序包,请解压到磁盘某个目录后,双击“InstallWrl.bat”进行安装;
3)、安装完成时会启动PluginOK中间件服务,在安装目录下的Data子目录有WrlService.txt日志文件输出运行情况。
2、请求安装文件操作小程序:
2、请求安装文件操作小程序,在测试页面上输入 ws://localhost:80?sid=123&flag=1 先连接上中间件服务,然后输入以下内容点击发送
{"req":"Plugin_Install","rid":1,"para":{"Name":"文件操作小程序","PID":"199BB8A7-9DD5-41F5-AE9D-2AA94300B0B3","Date":"2021-03-27","Desc":"PluginOK中间件之上跨浏览器的文件操作小程序,提供文件HTTP协议上传与下载、本地图像文件缩放与旋转、本地文件访问、本地程序运行等服务,可在Chrome、Edge、Firefox、IE、Opera、360、QQ等的浏览器最新版中调用","DownAddr":"http://local.zorrosoft.com/Files/Plugin/WrlFileApplet.pid","MD5":"AC63F717076ACD7FDC0A4D5B79026C0C","Version":"2.1.3.1","Size":491520,"HideIns":0,"Type":1,"Cookie":"","Auth":"","TK":"9BBE6F48DD17C0F06B6DD47AAA1D8B6152AAB5A15C3E2245AE71D325F27CF273B802110287FCC3A3019E72CB79A4822C3A963E4E736970757C8D52D74F1A28A9947356065C0BC0039E8E6EA41D1DE742F0D9A6E1B1B18B59E6A31F75229D3C1374E0FF0CC78A1BB787D03B213B4349298884864D43879C62A5FF38CA15E3E5A0EA16992C9E82BC628AEDD1BC7ADB8271CEB1829611C424309226E7BC5892995F31498F7AA061D74A2C20082F1CF74BE2C33E2A6444576F3140DB41EE3921011945907AF87C8B3FC4BA6FC0E5C32D5E9919E955FE2F1F7DC7B030285CEBA198F662E4FDB9B47A040CC00C152C11540EAD93EBF42EDA8F1F397B8EA1576ACD8E4C"}}
{"req":"Plugin_Install","rid":1,"para":{"Name":"文件操作小程序","PID":"199BB8A7-9DD5-41F5-AE9D-2AA94300B0B3","Date":"2021-05-06","Desc":"PluginOK中间件之上跨浏览器的文件操作小程序,提供文件HTTP协议上传与下载、本地图像文件缩放与旋转、本地文件访问、本地程序运行等服务,可在Chrome、Edge、Firefox、IE、Opera、360、QQ等的浏览器最新版中调用","DownAddr":"http://local.zorrosoft.com/Files/Plugin/WrlFileApplet.pid","MD5":"056CB718CD35B573E8C168E2B9F84757","Version":"1.3.3.2","Size":491520,"HideIns":0,"Type":1,"Cookie":"","Auth":"","TK":"5972524C9C1D36005D1BCED0493967D0D98CE781F2A1BE67F1A03C1419FB1604A71F61B9111708728B409AA7933B89D043AD47B246DC7D6B909A1D329AEC096820FB070BFB5391E4D74D03BB3750703BD7555059306F08F74016C69F56EC724DE905609A7468C13B5C1EEDD60EE5C477EAADFA3925E343F380775657C332D3DD44B82DC489C93E5ABA5C4E20D70A2A0F67D0E3B3DBD28F6DE0264F9551CA3D1DB2FD4D1D01D074E1AB522BD67941BCDF44E3557012EA5C2AD9683EA777492058AEC7D583F39A42EB94498D4C6BFD28E14D9D2603896A7FBDDCD801EEB4E3435F48A1B78C8407FA95473BC31C62E605D7B171AF33A6C49B1BA01AEC6C390D8183"}}
3、请求更新文件操作小程序:
{"req":"Plugin_Update","rid":1,"para":{"Name":"文件操作小程序","PID":"199BB8A7-9DD5-41F5-AE9D-2AA94300B0B3","Date":"2021-03-27","Desc":"PluginOK中间件之上跨浏览器的文件操作小程序,提供文件HTTP协议上传与下载、本地图像文件缩放与旋转、本地文件访问、本地程序运行等服务,可在Chrome、Edge、Firefox、IE、Opera、360、QQ等的浏览器最新版中调用","DownAddr":"http://local.zorrosoft.com/Files/Plugin/WrlFileApplet_Update.pid","MD5":"1D1F627802D92E33516CF17F31C15F82","Version":"2.1.3.1","Size":491520,"HideIns":0,"Type":1,"Cookie":"","Auth":"","TK":"094AA8318B2791EB1DAE1CEE58DB9571DB6D5453D1801E82D1C79E8D0BA62E545713AD4791980AC47D6C83417BDAC148FF4E84C277E68939B6D18A6B825726B9E68EDEE44F060B0A4E849A3E13B6263237A6E465A6E0B050F28F55FF788EDC5B18A93B74407F508DEB04DCB6C2B3FF2027B4E0412D03128561D57ED1799A0F2F4068A0011E95151DC5351BA02FB4E84778211CC602A5919D096F102D83D87A6C394B8CD97D9441CBE7ADA3554E6E17F3B36AB05FB7486DB2BFD134781A2783C27D227F8C39C8BD1BB28122EA5BA4F45D4A6884C492659E79407135BB6C523EEB392769FFC79D09322D8D8EF71EBF4C440DE70DE6E24FB5F6CBB5C53D0BEEEA14"}}
{"req":"Plugin_Update","rid":1,"para":{"Name":"文件操作小程序","PID":"199BB8A7-9DD5-41F5-AE9D-2AA94300B0B3","Date":"2021-05-06","Desc":"PluginOK中间件之上跨浏览器的文件操作小程序,提供文件HTTP协议上传与下载、本地图像文件缩放与旋转、本地文件访问、本地程序运行等服务,可在Chrome、Edge、Firefox、IE、Opera、360、QQ等的浏览器最新版中调用","DownAddr":"http://local.zorrosoft.com/Files/Plugin/WrlFileApplet_Update.pid","MD5":"D537A9B55CFE7218EF3F01F7D5FEB584","Version":"1.3.3.2","Size":491520,"HideIns":0,"Type":1,"Cookie":"","Auth":"","TK":"ABA6DF404A161CB54C37744FB2FAC9DF3D55EF412F8F3F564B8F333531157C332DBC94E43839E78D06357219A439BDA3549EEF6482B4867F799B1C19D4B4522F8C0826B245F00D6B6767B9E22BF408A3348711DDF6EAEDAABE7399E3B84703B75590EF0FCE57F645E24CFBBBA4ADEDD96B73A3E44D822879E35B03006BD2EB5578811179086C4384B9B4D21A1269422083F24F4D53A7E0913D9AF8977C2264EB091B2E6FF0AA53144D7F58F923B18F0F908A07977C94152A960AB891F2C8C2FF436A2859B311C2990C7ECBA32AD81599412B7055A582FB6342EA3406820FB1F3415E497EA45DD48F77E474B72028D8DFE94A1ECEBD476D67EDD343603925FE03"}}
以上安装和升级的JSON请求包,可能因版本升级导致内容不同,如遇安装或升级时报错,请联系客服获取最新的请求包。
......
Flash Player小程序(内嵌网页):基于跨浏览器的小程序系统-PluginOK(牛插)中间件( https://github.com/wangzuohuai/WebRunLocal )开发,底层调用Adobe公司的ActiveX控件Flash.ocx实现播放。最低可用在Chrome 41、Firefox 50、Edge 80(Chromium内核)、360极速/安全、IE 8、Oprea 36、QQ、搜狗等浏览器,也兼容运行于这些浏览器的最新版本。
Flash Player小程序(内嵌网页):基于跨浏览器的小程序系统-PluginOK(牛插)中间件( https://github.com/wangzuohuai/WebRunLocal )单机高级版开发,底层调用Adobe公司的ActiveX控件Flash.ocx实现播放。最低可用在Chrome 41、Firefox 50、Edge 80(Chromium内核)、360极速/安全、IE 8、Oprea 36、QQ、搜狗等浏览器,也兼容运行于这些浏览器的最新版本。
1、牛插(PluginOK)中间件的安装:
1)、如果是exe的安装程序,请直接运行安装;
......@@ -6,7 +6,7 @@
3)、安装完成时会启动PluginOK中间件服务,在安装目录下的Data子目录有WrlService.txt日志文件输出运行情况。
2、Flash Player内嵌网页小程序控制相关接口:
说明:以下功能请通过Web Socket连接PluginOK主服务(ws://localhost?sid=12345&flag=1)后可执行,如默认侦听端口不是80(关于如何配置侦听端口,请参考SDK包中的文档“PluginOK开发者手册.doc”),请在连接地址中指定端口号进行连接。
说明:以下功能请通过Web Socket连接PluginOK主服务(ws://localhost:80?sid=12345&flag=1)后可执行,如默认侦听端口不是80(关于如何配置侦听端口,请参考SDK包中的文档“PluginOK开发者手册.doc”),请在连接地址中指定端口号进行连接。
HTTP网页在线测试:http://zorrosoft.com/flashfull.html HTTPS网页在线测试:https://zorrosoft.com/flashframe.html
前端集成可参考以上测试网页进行,HTML网页中需要嵌入以下类似代码;
A、标记小程序的显示位置和大小
......@@ -100,21 +100,21 @@ File为指定截图文件保存路径或扩展名
Base64指定为1时代表返回BASE64编码的图像内容
{"req":"Wrl_AppletSnap","rid":10,"para":{"ID":1,"Base64":1,"File":".png"}}
8)、请求缩放IE控件内嵌网页小程序,用于浏览器网页按比例缩放,一般不需要处理:
8)、请求缩放内嵌网页小程序,用于浏览器网页按比例缩放,一般不需要处理:
ID为启动小程序时返回JSON中的ID值,Scall为缩放百分比
{"req":"Wrl_AppletScale","rid":11,"para":{"ID":1,"Scale":120}}
3、小程序安装、升级、卸载
1)、请求安装Flash Player内嵌网页小程序
请在输入框中,输入如下请求,然后点击发送,完成安装:
请在测试网页输入框中,输入如下请求,然后点击发送,完成安装:
{"req":"Plugin_Install","rid":1,"para":{"Name":"Flash Player内嵌网页小程序","PID":"E7C7BDA6-C828-46F1-A7BA-B4C572A01100","Date":"2021-03-27","Desc":"PluginOK之上跨浏览器的Flash Player网页小程序,支持在Chrome、Edge、Firefox、IE、Oprea、360、QQ等最新版本浏览器网页中内嵌使用","DownAddr":"http://local.zorrosoft.com/Files/Plugin/FlashWebPlayer.pid","MD5":"D96BC7340D2D821C4404E3D408655379","Version":"2.1.3.1","Size":753664,"HideIns":0,"Type":8,"Cookie":"","Auth":"","TK":"91559E5E6B1E18E7A4A5B41376DD55E10997EBCAD8D105DFE97CE5A957D7FAD65FFAD67BA65528B61A41B26F038F9124FA3B3289615B68E4EF73528A51CEC17B175C34B527FB9CBF0BD8086C2788E45E3B1771022E60FCC7ED2F56D6077D9C0E2773314937771CE57AA29CBA41A89ECC8C758F6C8FCD2237E2C7E0FF31458EBF03114CFD99AAEAE98E09002FBB9D42B9152DA4D55C5E12B00D918190FED22F8E1A219A7478E29A6D0CD64D1B1357EDA3A953FCAF878F1FC02AF23071E6B6A2A1AF8139A9F4EBEF86D20DB6A766AD5BA35F6E488968FD883847FA7ABFACB31FB9D021420545E78846C8FF3688F4CA28677737D3217EB5F66A92F341717A3EDEF3"}}
{"req":"Plugin_Install","rid":1,"para":{"Name":"Flash Player内嵌网页小程序","PID":"E7C7BDA6-C828-46F1-A7BA-B4C572A01100","Date":"2021-05-06","Desc":"PluginOK之上跨浏览器的Flash Player网页小程序,支持在Chrome、Edge、Firefox、IE、Oprea、360、QQ等最新版本浏览器网页中内嵌使用","DownAddr":"http://local.zorrosoft.com/Files/Plugin/FlashWebPlayer.pid","MD5":"F253D10BEF3691FB56199CFB63D7FA5C","Version":"1.3.3.2","Size":753664,"HideIns":0,"Type":8,"Cookie":"","Auth":"","TK":"35301139476B28BF3913E2EA298D04EA10C1D96FFD00DFA6DC051F90D4CD6A601139103BC40688FDBF744FE682DA3F80E995C815FFBBF1B998DC7C2CC15D00CAC61011EAA09904680DCBA42FDB32B01912980D863852A5C26A53FBF8B80316028E2220C1E121BF613F8ADDA455995FCC5980759F0365424E1D5A466443DA4D3F01144CFEEF1A251BFBF28ECDCBF43477FBFE03FA64929D0420FDB87D3B14D4B85192F8CF7FC3E07EB71B6791365D8B6B3730932ACECA7B575D3A2AA401AB9ECDA8A126833DFE85C9FA12F0A617C46205749FA77270EEE08FCD112242506D14CEEE46E8B3095C815B7F42C3B3D5865AD7FA27DFB02FFBF8A3FE85614382D8607A"}}
启动安装后,会不断收到安装进度直到安装结束。
2)、请求升级Flash Player内嵌网页小程序:
{"req":"Plugin_Update","rid":1,"para":{"Name":"Flash Player内嵌网页小程序","PID":"E7C7BDA6-C828-46F1-A7BA-B4C572A01100","Date":"2021-03-27","Desc":"PluginOK之上跨浏览器的Flash Player网页小程序,支持在Chrome、Edge、Firefox、IE、Oprea、360、QQ等最新版本浏览器网页中内嵌使用","DownAddr":"http://local.zorrosoft.com/Files/Plugin/FlashWebPlayer_Update.pid","MD5":"8B29F292EF67A15D8D44659A010BFB8B","Version":"2.1.3.1","Size":753664,"HideIns":0,"Type":8,"Cookie":"","Auth":"","TK":"916F15D12746E9A5B0346CE307395FB8212C4C04A9F4B487EC08C1E0C0A574243C7280352C6F442AD9F91209527FE2291915B4EE6189A2138AF36A8629B6AE28E524771C552E2C24C22B296B450F2BE71CD15E680B09B97C7C4CB7E8E7CEEDF0720A24042315E54DAD7E5D02FED9BC0C14ED3445297F92B190F1E7850A5293EA8238452EBEF47998E5E3D30290815C6F0EA4454C4A02B870A75C9839C62FF773DD642A2D024BB4393E36F2371FF2EEE554F0E55BFA3941970B2063A1C3DAFA430DE06D6E92D0DC4E7AAC0A0B3BB8703401C4A1F9F2C3ECB165855C0493861B28C1CB2921DE9451568B296C2B58C595AFF32BB27153FB02CD33E917801DF36CBA"}}
{"req":"Plugin_Update","rid":1,"para":{"Name":"Flash Player内嵌网页小程序","PID":"E7C7BDA6-C828-46F1-A7BA-B4C572A01100","Date":"2021-05-06","Desc":"PluginOK之上跨浏览器的Flash Player网页小程序,支持在Chrome、Edge、Firefox、IE、Oprea、360、QQ等最新版本浏览器网页中内嵌使用","DownAddr":"http://local.zorrosoft.com/Files/Plugin/FlashWebPlayer_Update.pid","MD5":"D838DA5DE3F7C3C39963554E7B2E33C7","Version":"1.3.3.2","Size":753664,"HideIns":0,"Type":8,"Cookie":"","Auth":"","TK":"A32707C01CF5AC66CA883E991E3AA1CD4401E481E2B3307FA0DB37CBE1F551C6697F5A6A33CC440D5B1E2B2BF4F04712831B3DF2199CFD008D6B0520EDE3CFFC57861CF5B38D39D619CAC34443F183D836D42A17EC8F07DD815094D67F39A9E7922144555E74E93761F3AC6C56C2E7A3C80C51F9475B8F75F4F8F0E7591CF772310813CDC36ADB403DC7DA1946797860222AE87C4F2D5068129A536843F9F80A858F27DF3A2F39F58337C8F4707D41D2F2F6D168A471276BD3113F58BBB81AF637E5B8742C66725F3F1562ADDA5973CCA722035EEFA5D73A509FA5F166537A6B893484A2AEEC1E4696BF7C662055540EAD0EF80BDA3792940C34F9B366229759"}}
以上安装和升级的JSON请求包,可能因版本升级导致内容不同,如遇安装或升级时报错,请联系客服获取最新的请求包。
......
Flash Player小程序(内嵌网页):基于跨浏览器的小程序系统-PluginOK(牛插)中间件( https://github.com/wangzuohuai/WebRunLocal )开发,底层调用Adobe公司的ActiveX控件Flash.ocx实现播放。最低可用在Chrome 41、Firefox 50、Edge 80(Chromium内核)、360极速/安全、IE 8、Oprea 36、QQ、搜狗等浏览器,也兼容运行于这些浏览器的最新版本。
Flash Player小程序(内嵌网页):基于跨浏览器的小程序系统-PluginOK(牛插)中间件( https://github.com/wangzuohuai/WebRunLocal )单机高级版开发,底层调用Adobe公司的ActiveX控件Flash.ocx实现播放。最低可用在Chrome 41、Firefox 50、Edge 80(Chromium内核)、360极速/安全、IE 8、Oprea 36、QQ、搜狗等浏览器,也兼容运行于这些浏览器的最新版本。
1、牛插(PluginOK)中间件的安装:
1)、如果是exe的安装程序,请直接运行安装;
......@@ -6,7 +6,7 @@
3)、安装完成时会启动PluginOK中间件服务,在安装目录下的Data子目录有WrlService.txt日志文件输出运行情况。
2、Flash Player内嵌网页小程序控制相关接口:
说明:以下功能请通过Web Socket连接PluginOK主服务(ws://localhost?sid=12345&flag=1)后可执行,如默认侦听端口不是80(关于如何配置侦听端口,请参考SDK包中的文档“PluginOK开发者手册.doc”),请在连接地址中指定端口号进行连接。
说明:以下功能请通过Web Socket连接PluginOK主服务(ws://localhost:80?sid=12345&flag=1)后可执行,如默认侦听端口不是80(关于如何配置侦听端口,请参考SDK包中的文档“PluginOK开发者手册.doc”),请在连接地址中指定端口号进行连接。
HTTP网页在线测试:http://zorrosoft.com/flashfull.html HTTPS网页在线测试:https://zorrosoft.com/flashframe.html
前端集成可参考以上测试网页进行,HTML网页中需要嵌入以下类似代码;
A、标记小程序的显示位置和大小
......@@ -100,21 +100,21 @@ File为指定截图文件保存路径或扩展名
Base64指定为1时代表返回BASE64编码的图像内容
{"req":"Wrl_AppletSnap","rid":10,"para":{"ID":1,"Base64":1,"File":".png"}}
8)、请求缩放IE控件内嵌网页小程序,用于浏览器网页按比例缩放,一般不需要处理:
8)、请求缩放内嵌网页小程序,用于浏览器网页按比例缩放,一般不需要处理:
ID为启动小程序时返回JSON中的ID值,Scall为缩放百分比
{"req":"Wrl_AppletScale","rid":11,"para":{"ID":1,"Scale":120}}
3、小程序安装、升级、卸载
1)、请求安装Flash Player内嵌网页小程序
请在输入框中,输入如下请求,然后点击发送,完成安装:
请在测试网页输入框中,输入如下请求,然后点击发送,完成安装:
{"req":"Plugin_Install","rid":1,"para":{"Name":"Flash Player内嵌网页小程序","PID":"FlashWebPlayer","Date":"2021-03-27","Desc":"PluginOK之上跨浏览器的Flash Player网页小程序,支持在Chrome、Edge、Firefox、IE、Oprea、360、QQ等最新版本浏览器网页中内嵌使用","DownAddr":"http://local.zorrosoft.com/Files/Plugin/FlashPlayer.pid","MD5":"5AEA9B5526CCD50CB896FB1F10B9BF1F","Version":"2.1.3.1","Size":753664,"HideIns":0,"Type":8,"Cookie":"","Auth":"","TK":"A4CD3C1ECF11CD87DFD26E68664B2740B2911615ADDEF8FD39D74CD229090B07E23268707344781A334068EA7A6B19D3D28471C04E782245709FF19CC1F9A0A9A576C4323D38506F1446B2016214BD54A30297D38E689DDD0D1D3352EFD065BCEE5751950831CE6178A2E94BA9B73824F86FE5EE1F648110E36726645422396ED9F8BD7C6A117414CB3EF4DB212D2B307E3DBB3AE8EB03FF3BF640FE126503ECB24E7A0936505BFE05533629788949BCE429038493E88D0814BB24B18C8E40C807103B95FCA7D35C362BAA3B25F52B423C78A0A648CED26AA6A86DC86F1F88EEA7AD2F976910DF81CCD24B8FD97B12C0682EFAD5CE211ED8743212D26DEE8F38"}}
{"req":"Plugin_Install","rid":1,"para":{"Name":"Flash Player内嵌网页小程序","PID":"FlashWebPlayer","Date":"2021-05-06","Desc":"PluginOK之上跨浏览器的Flash Player网页小程序,支持在Chrome、Edge、Firefox、IE、Oprea、360、QQ等最新版本浏览器网页中内嵌使用","DownAddr":"http://local.zorrosoft.com/Files/Plugin/FlashPlayer.pid","MD5":"C5049C3699A91233668A003AD26E23E9","Version":"1.3.3.2","Size":753664,"HideIns":0,"Type":8,"Cookie":"","Auth":"","TK":"9FC3475F6D015DE24469D309C81F24B50439190EEEF1F063DDE184B481E2E32205DE4B694ECAD884845BB4E7D6C57ED2F16066ED00BE6534B39CD6ED73609C8167D6268BAD5E06E8592AA4E3D3CC3FB6C39B5FB1753EEA04C2AC3AADED8A63912CF962D87AD4F90F7BF7252BA23EAFC2C373E2E89D4B2F39F9B15FBB3A6705E3DA0AF727A9A1B245B364378279305364DAE394D40DC7CEA2A9F5AD4BAA284BBAB826D8C8144AAB4D98F7F0F950BCC2EE00FFEA50BF82E844854751B5B008C17A98F48A7673923D3B3BD76D698DFD54BB9A0976A715B42003DD9CD3BE296FA1E81D454145BD0947EEAD98F8DB57E87A500A2A3E8D3F049A0D802A389C047B0688"}}
启动安装后,会不断收到安装进度直到安装结束。
2)、请求升级Flash Player内嵌网页小程序:
{"req":"Plugin_Update","rid":1,"para":{"Name":"Flash Player内嵌网页小程序","PID":"FlashWebPlayer","Date":"2021-03-27","Desc":"PluginOK之上跨浏览器的Flash Player网页小程序,支持在Chrome、Edge、Firefox、IE、Oprea、360、QQ等最新版本浏览器网页中内嵌使用","DownAddr":"http://local.zorrosoft.com/Files/Plugin/FlashPlayer_Update.pid","MD5":"13660533183AE38F79CBF5AB1AB95C18","Version":"2.1.3.1","Size":753664,"HideIns":0,"Type":8,"Cookie":"","Auth":"","TK":"0A9FA63F0128DE7D10C084CA6781E8436BC72ECA14C058713B9CA9D7AE29917D751DCD5ABE82AEDA730C785F85D5B6EF84B763255D4C8DB89137D3F529BC4F5037A1F777B9AF31C66D3E31522048D0DCF9E86C86FFA45B1D08FB1922C5DA151387190FF1DD7398CAFDA80E2D780774035ED53836527DCC7577B6262A87E10674FE9B4C24F7CE02EA3326989C964E639A0D2A1D3879C81A7423F7A3C9B06AB065F71BD4D32FE7B782F6E061A6C3EC445264A5FFCE6517646B5E1B7D7796BDF7CF426F3FDB1A487694A276311610F2AD489E10AE04F404650FCC82DB9890B8A363E2EBD317F403F266C2571F4D2F7DD2DCDCD9270284E984C1052BD1EBFFF8C682"}}
{"req":"Plugin_Update","rid":1,"para":{"Name":"Flash Player内嵌网页小程序","PID":"FlashWebPlayer","Date":"2021-05-06","Desc":"PluginOK之上跨浏览器的Flash Player网页小程序,支持在Chrome、Edge、Firefox、IE、Oprea、360、QQ等最新版本浏览器网页中内嵌使用","DownAddr":"http://local.zorrosoft.com/Files/Plugin/FlashPlayer_Update.pid","MD5":"ECEB453020A6B9BC201CAF28EE3B50B1","Version":"1.3.3.2","Size":753664,"HideIns":0,"Type":8,"Cookie":"","Auth":"","TK":"952B537BC730C3D37037BF50089F6D4F21383678C4E6E40643C8246A0C1D9C8D2575168DCE2A8D68FF2FAB0A26DB5B4A8CE2022504FA40CD23C6A12DD18CE7F321EC7D00655B728031629107500AF6996160DA9A19B8CDD7722F882BDC994CB68351E4EFBFD41D7D10AB9667329500E97CBA8061F6CEBD163B939AEE67958167EAF98F575C62088B72647D57E632619E5677E94BB26D45431388F660DF950A7A4C37A34B27843C4A35F09CFA301EB170164C30FA94D1344A37B1E7F9551DABE54B5B2AFB373895665382D6FC9748395C6746C0A0DD0E501713ED80E639E0CD7A596F9107C2C65E92877D7F7C9D30C0C201CD5719B88EA77E5451CC396572F4F9"}}
以上安装和升级的JSON请求包,可能因版本升级导致内容不同,如遇安装或升级时报错,请联系客服获取最新的请求包。
......
IE控件小程序(内嵌网页):基于跨浏览器的小程序系统-PluginOK(牛插)中间件( https://github.com/wangzuohuai/WebRunLocal )开发,底层调用IE内核的ActiveX控件实现可程序化驱动的双内核浏览器。最低可用在Chrome 41、Firefox 50、Edge 80(Chromium内核)、360极速/安全、IE 8、Oprea 36、QQ、搜狗等浏览器,也兼容运行于这些浏览器的最新版本。
IE控件小程序(内嵌网页):基于跨浏览器的小程序系统-PluginOK(牛插)中间件( https://github.com/wangzuohuai/WebRunLocal )单机高级版开发,底层调用IE内核的ActiveX控件实现可程序化驱动的双内核浏览器。最低可用在Chrome 41、Firefox 50、Edge 80(Chromium内核)、360极速/安全、IE 8、Oprea 36、QQ、搜狗等浏览器,也兼容运行于这些浏览器的最新版本。
1、PluginOK(牛插)中间件的安装:
1)、如果是exe的安装程序,请直接运行安装;
......@@ -6,7 +6,7 @@
3)、安装完成时会启动PluginOK中间件服务,在安装目录下的Data子目录有WrlService.txt日志文件输出运行情况。
2、IE控件内嵌网页小程序控制相关接口:
说明:以下功能请通过Web Socket连接PluginOK主服务(ws://localhost?sid=12345&flag=1)后可执行,如默认侦听端口不是80(关于如何配置侦听端口,请参考SDK包中的文档“PluginOK开发者手册.doc”),请在连接地址中指定端口号进行连接。
说明:以下功能请通过Web Socket连接PluginOK主服务(ws://localhost:80?sid=12345&flag=1)后可执行,如默认侦听端口不是80(关于如何配置侦听端口,请参考SDK包中的文档“PluginOK开发者手册.doc”),请在连接地址中指定端口号进行连接。
HTTP网页在线测试:http://zorrosoft.com/iefull.html HTTPS网页在线测试:https://zorrosoft.com/ieframe.html
前端集成可参考以上测试网页进行,HTML网页中需要嵌入以下类似代码;
A、标记小程序的显示位置和大小
......@@ -102,22 +102,22 @@ File为指定截图文件保存路径或扩展名
Base64指定为1时代表返回BASE64编码的图像内容
{"req":"Wrl_AppletSnap","rid":10,"para":{"ID":1,"Base64":1,"File":".png"}}
8)、请求缩放IE控件内嵌网页小程序,用于浏览器网页按比例缩放,一般不需要处理:
8)、请求缩放内嵌网页小程序,用于浏览器网页按比例缩放,一般不需要处理:
ID为启动小程序时返回JSON中的ID值,Scall为缩放百分比
{"req":"Wrl_AppletScale","rid":11,"para":{"ID":1,"Scale":120}}
3、小程序安装、升级、卸载
1)、请求安装IE控件内嵌网页小程序
请在输入框中,输入如下请求,然后点击发送,完成安装:
请在测试网页输入框中,输入如下请求,然后点击发送,完成安装:
{"req":"Plugin_Install","rid":1,"para":{"Name":"IE控件小程序","PID":"18BDC030-AF37-50E1-B0AE-E5EF336BE282","Date":"2021-03-27","Desc":"PluginOK之上跨浏览器的IE控件内嵌网页小程序,支持在Chrome、Edge、Firefox、IE、Oprea、360、QQ等最新版本浏览器网页中内嵌使用","DownAddr":"http://local.zorrosoft.com/Files/Plugin/IEApplet.pid","MD5":"371D37DB60DF8F127024FD935E2E7EF5","Version":"2.1.3.1","Size":753664,"HideIns":0,"Type":8,"Cookie":"","Auth":"","TK":"A735B68871F8524E1ED49D28A7EA921838CBE3944B6E891A07B58137F28B4EC218486D2DBD6C432138AA576A212B2E1D6379A4B7943F48CE7B1C8E680BEFDCB68C56A769897CBB96A1F0D4233BAAD8D1431B9E57B10517B771B89BB3A0247FF434248DDA4E395D70284C554F9C59558D1885097E274F70015C32FC2574B3C6F9627B06E9EFDB014094A3945F56121244F07F2802C89A994ED28E3A30158830B72D8A31D0596CDDC251F86D10BD3716989AB06973D250D04491E54D6443FB88DCF575686EC2CAE6E907FAF4127D7A9089FF07247345F9AB8AE5DA0E26E1DE76B95C9BC35E70477B00C39E322AAE1FA437BC29C2172AA2A6B19F803A319596E19B"}}
{"req":"Plugin_Install","rid":1,"para":{"Name":"IE控件小程序","PID":"18BDC030-AF37-50E1-B0AE-E5EF336BE282","Date":"2021-05-06","Desc":"PluginOK之上跨浏览器的IE控件内嵌网页小程序,支持在Chrome、Edge、Firefox、IE、Oprea、360、QQ等最新版本浏览器网页中内嵌使用","DownAddr":"http://local.zorrosoft.com/Files/Plugin/IEApplet.pid","MD5":"D41A7D61B5110904EC9007395443197B","Version":"1.3.3.2","Size":753664,"HideIns":0,"Type":8,"Cookie":"","Auth":"","TK":"3C6B77DFE14159FDCA5774DBBB1A4A4AF2021D72AB2FA716FFE73C1CC511DB428A61EF18211C6C384D44BCB7D6085ADFBDAEAE23BC14B7DB0C548BADD85AB36F8DD92A75A2D26955FF4973445EF7F3346151A63C7BB032E723297306D6BF13F1E83B498A28BD53C1FA30C804A131FA4A2D7830DC9E3865F6601A364C2D0E04993A470E62E7184D86963980A3A02C6D81B057793410C8A62E8B9D747079ABEF8943C9DD92FE960840BE0108EE4A9029DE6CDBD6AA6E3F891132A3C889F3E3315B256249FB90EE9A52D1115606513D246E5207834B7DC3E4FDD11216938AC3139954AD22A81577DFB9CFB225CEBCE66126AFA2F399EE4C5F935BF7C47403259CD9"}}
启动安装后,会不断收到安装进度直到安装结束。
在发布时,也可以把此小程序目录文件和中间件一起打包后发布,不用单独分发。
2)、请求升级IE内核内嵌小程序:
{"req":"Plugin_Update","rid":1,"para":{"Name":"IE控件小程序","PID":"18BDC030-AF37-50E1-B0AE-E5EF336BE282","Date":"2021-03-27","Desc":"PluginOK之上跨浏览器的IE控件内嵌网页小程序,支持在Chrome、Edge、Firefox、IE、Oprea、360、QQ等最新版本浏览器网页中内嵌使用","DownAddr":"http://local.zorrosoft.com/Files/Plugin/IEApplet_Update.pid","MD5":"A7E915B8A5F5D0FBEE5C954EC64052FE","Version":"2.1.3.1","Size":753664,"HideIns":0,"Type":8,"Cookie":"","Auth":"","TK":"3760ABF90A0C3213DA3D0F996BDA3A5E6953FE9D8F6EA9C46DD86213F5AAA6DF8DE33894C43870394E750117DD1E355BFEEF634259AD1D24F545D04626A34DF0933C1435E789C496F9BE0BEADEFFC5835EE38C5E8311BB70D146BCB1C3243CFCFC73CF6C8586818E59DA1625F69094714835B825675993064DE35AD2AAC80D97D8470A0E0711A100AC72066216BA38CF078972A30C5BE737D1CC651D87EECC09B6D9FE2C0B9010237324CCC27FF796632E556F97CD7F7CD48DF62B3B1BAF13F4B3488B219D7B7602EC273A40BD6E6793F6BBF39A4FB35FBDD360C76F4F8CA2FF4C63A70F10D8B8B6119277971D769B72CA43104FDA19FD5060C7AABB4C101E10"}}
{"req":"Plugin_Update","rid":1,"para":{"Name":"IE控件小程序","PID":"18BDC030-AF37-50E1-B0AE-E5EF336BE282","Date":"2021-05-06","Desc":"PluginOK之上跨浏览器的IE控件内嵌网页小程序,支持在Chrome、Edge、Firefox、IE、Oprea、360、QQ等最新版本浏览器网页中内嵌使用","DownAddr":"http://local.zorrosoft.com/Files/Plugin/IEApplet_Update.pid","MD5":"C3F96F9E3DD8B593B07E33179A571EDB","Version":"1.3.3.2","Size":753664,"HideIns":0,"Type":8,"Cookie":"","Auth":"","TK":"AE48CD3E034E960AA9C29203C138719E1053A53945C87C739D62245F38E8E1ADE9CD37C4052EC0D14B7170C6599A25AF8427AD1062FF4CD9CB54C4192088E610931A8336F3FA32D12F3E018543B74432DA0B6236FD26C91814B9BE30834E4B911E0D7320B8EA63AFE983A3D0C27F09E56922D9B20CBDBB7E034044F36B7ACE8233BA8C94D29079670EEA3FC31E3B099726B69392F437BAF255A197E5A658A99182E9781C7144B2B39784A9DB0385C80E870B9D7C5599C6093E8D3A357D2D019587183A8E135D2F9B61A2AFEFF6A42371A33F72941664175846FA027C83E9BDA5F78F1B58D41F27C02B148849472D70472CF7388762D09DA21859F500CA5B7A38"}}
以上安装和升级的JSON请求包,可能因版本升级导致内容不同,如遇安装或升级时报错,请联系客服获取最新的请求包。
......
IE控件小程序(内嵌网页):基于跨浏览器的小程序系统-PluginOK(牛插)中间件( https://github.com/wangzuohuai/WebRunLocal )开发,底层调用IE内核的ActiveX控件实现可程序化驱动的双内核浏览器。最低可用在Chrome 41、Firefox 50、Edge 80(Chromium内核)、360极速/安全、IE 8、Oprea 36、QQ、搜狗等浏览器,也兼容运行于这些浏览器的最新版本。
IE控件小程序(内嵌网页):基于跨浏览器的小程序系统-PluginOK(牛插)中间件( https://github.com/wangzuohuai/WebRunLocal )单机高级版开发,底层调用IE内核的ActiveX控件实现可程序化驱动的双内核浏览器。最低可用在Chrome 41、Firefox 50、Edge 80(Chromium内核)、360极速/安全、IE 8、Oprea 36、QQ、搜狗等浏览器,也兼容运行于这些浏览器的最新版本。
1、PluginOK(牛插)中间件的安装:
1)、如果是exe的安装程序,请直接运行安装;
......@@ -6,7 +6,7 @@
3)、安装完成时会启动PluginOK中间件服务,在安装目录下的Data子目录有WrlService.txt日志文件输出运行情况。
2、IE控件内嵌网页小程序控制相关接口:
说明:以下功能请通过Web Socket连接PluginOK主服务(ws://localhost?sid=12345&flag=1)后可执行,如默认侦听端口不是80(关于如何配置侦听端口,请参考SDK包中的文档“PluginOK开发者手册.doc”),请在连接地址中指定端口号进行连接。
说明:以下功能请通过Web Socket连接PluginOK主服务(ws://localhost:80?sid=12345&flag=1)后可执行,如默认侦听端口不是80(关于如何配置侦听端口,请参考SDK包中的文档“PluginOK开发者手册.doc”),请在连接地址中指定端口号进行连接。
HTTP网页在线测试:http://zorrosoft.com/iefull.html HTTPS网页在线测试:https://zorrosoft.com/ieframe.html
前端集成可参考以上测试网页进行,HTML网页中需要嵌入以下类似代码;
A、标记小程序的显示位置和大小
......@@ -102,22 +102,22 @@ File为指定截图文件保存路径或扩展名
Base64指定为1时代表返回BASE64编码的图像内容
{"req":"Wrl_AppletSnap","rid":10,"para":{"ID":1,"Base64":1,"File":".png"}}
8)、请求缩放IE控件内嵌网页小程序,用于浏览器网页按比例缩放,一般不需要处理:
8)、请求缩放内嵌网页小程序,用于浏览器网页按比例缩放,一般不需要处理:
ID为启动小程序时返回JSON中的ID值,Scall为缩放百分比
{"req":"Wrl_AppletScale","rid":11,"para":{"ID":1,"Scale":120}}
3、小程序安装、升级、卸载
1)、请求安装IE控件内嵌网页小程序
请在输入框中,输入如下请求,然后点击发送,完成安装:
请在测试网页输入框中,输入如下请求,然后点击发送,完成安装:
{"req":"Plugin_Install","rid":1,"para":{"Name":"IE控件小程序","PID":"IEApplet","Date":"2021-03-27","Desc":"PluginOK之上跨浏览器的IE控件内嵌网页小程序,支持在Chrome、Edge、Firefox、IE、Oprea、360、QQ等最新版本浏览器网页中内嵌使用","DownAddr":"http://local.zorrosoft.com/Files/Plugin/IEPage.pid","MD5":"EFE06222EF46E1D043C46A0D506E21A5","Version":"2.1.3.1","Size":753664,"HideIns":0,"Type":8,"Cookie":"","Auth":"","TK":"4D23642F764A7080FE214FEED4EFDC7AE9D7EF0C861D19B96535EC6C8B0AF6023E073417920F63CDDEFB30DBA908AF365BDF0F9D95EA097D2CBF3C84B4543CED6BB109661FCE645199B25543D7D2BA12CFEE086DA56D3242283486491EDB76E8CCD110DE63D0BA056550415DE57635053FD6DA0BF1BB011F8D1332ADFA92978C680F8422B269376D5EBB5A3ED1706BE0A0F566DD969B4CB32DF3A2E95BCBAEB4806FFA29DD6AB38658DE5D7B7ACB94CD8CE63DB29B29FCCB7BB5715A0475637A9D309C68FD93ED03D8BC42C76DE4ED6D6B195BD96C912EF12C8D81567C2CAA07B2C17CFF2305F86B61BF87F9AC9E1FFC1789FC44B80DAA1BA2B968295AB9A956"}}
{"req":"Plugin_Install","rid":1,"para":{"Name":"IE控件小程序","PID":"IEApplet","Date":"2021-05-06","Desc":"PluginOK之上跨浏览器的IE控件内嵌网页小程序,支持在Chrome、Edge、Firefox、IE、Oprea、360、QQ等最新版本浏览器网页中内嵌使用","DownAddr":"http://local.zorrosoft.com/Files/Plugin/IEPage.pid","MD5":"62188A0933D81A5E34B1B4E2AD5E00B8","Version":"1.3.3.2","Size":753664,"HideIns":0,"Type":8,"Cookie":"","Auth":"","TK":"7211DF0A8C950009ED6800418AE626562472756D443AD90A1CB5B7B6D3471D5E01CFEBC29463D2EA68CACF0239D38DFE3BD93B738B7A62218654184A664B9287E489462B1280B929504B362D107E8FF6F23882763DFCC3F186823F2161FD366E6B3F24C684066AF7C4D305712D01A5023B0258699F7B6908C7C7D4FC454E4E5153466DA8A76750081EEB53275FAB0739F23587C25F9DA8F8164439F50D8B0E8206441F6FCB5A7DAF727ACC03F32D3EEEDFF850932B395CF6A8B8FBD4ED0D1204CC5C801CDBCBBA70DC4F142A06431E72E80FC23C8BA92EB61B7707BFE6B4AE672C6E9916A7CEBBAEEF7005F0C50693C90F22D7DC2D43266AD84BA2C3DC33366D"}}
启动安装后,会不断收到安装进度直到安装结束。
在发布时,也可以把此小程序目录文件和中间件一起打包后发布,不用单独分发。
2)、请求升级IE内核内嵌小程序:
{"req":"Plugin_Update","rid":1,"para":{"Name":"IE控件小程序","PID":"IEApplet","Date":"2021-03-27","Desc":"PluginOK之上跨浏览器的IE控件内嵌网页小程序,支持在Chrome、Edge、Firefox、IE、Oprea、360、QQ等最新版本浏览器网页中内嵌使用","DownAddr":"http://local.zorrosoft.com/Files/Plugin/IEPage_Update.pid","MD5":"4E7F38C9E97145DCF2D21575A3D9093D","Version":"2.1.3.1","Size":753664,"HideIns":0,"Type":8,"Cookie":"","Auth":"","TK":"C2A14B861BBEC2444BA3B04D1BD3E7D3AA0B3E7EC4B86CF82A1674B79D331EC91DF98F96DAEF85C7A37529FB90CC337902B68B226BCF8AA24B9CC6FAD4667F1421AFD3BFBD38209F85FFDA4DAB9AA26E4BD1946AB7FDA13657A06841E1871C58A5F21DFEBF90BC1C51B6D42B014D8AF24E21FA24D55D0BB77DBED17D1810E96610630440CEF89B3FBA1C653B5D6962D9C6908732BCAA247FB92910C9A352AEB3B089E59B04094AFC6559B3B63D85AE5F6614342429E0A3F4181E5F10013675C19D4001F6053EB7EF4190B771874DC0489000EDFD9B63EA774B1F87E199EED3010346B41D85F72F492D1D9D182ECB270379E2DF8BE039AA2FF5EA9FD8BA13E261"}}
{"req":"Plugin_Update","rid":1,"para":{"Name":"IE控件小程序","PID":"IEApplet","Date":"2021-05-06","Desc":"PluginOK之上跨浏览器的IE控件内嵌网页小程序,支持在Chrome、Edge、Firefox、IE、Oprea、360、QQ等最新版本浏览器网页中内嵌使用","DownAddr":"http://local.zorrosoft.com/Files/Plugin/IEPage_Update.pid","MD5":"33CCF962F461990561528ECF1E16E374","Version":"1.3.3.2","Size":753664,"HideIns":0,"Type":8,"Cookie":"","Auth":"","TK":"4075D391492343194EBCD10159F2496B4CF3B69BE9C921C0CCC1B145188EC4E333DD16BD561C3A3EE0F02BA440DD638ACB3E162C5F677BE5990C864598E2A3C866F5482F2821FABD4FA015C534528F35B629D7AD0D9CEB5824D3EA17EE0C935D4AC20EE2FE581DD1A9BEEA3B635492F2E98537A4F3F6F2F1C2AAC2FD9C83633D9D65CB88EE1819CC29CD9FA127E7BB1A10303F40FA0336765060C06BA47653F324A758829B67D3AA5A5F0A349AB4586B6FBD078A98BCFD8B3F995228D00B1530849D8606B39594CFB1148733522339B6B50863997C60CD8BD87848238009C600FB413E3187F5306BD236B209C2251B3063A459A3FEBCE725109E838DA5735224"}}
以上安装和升级的JSON请求包,可能因版本升级导致内容不同,如遇安装或升级时报错,请联系客服获取最新的请求包。
......
IE标签页小程序:基于跨浏览器的小程序系统-PluginOK(牛插)中间件( https://github.com/wangzuohuai/WebRunLocal )开发,底层调用IE内核的ActiveX控件实现可程序化驱动的双内核浏览器。最低可用在Chrome 41、Firefox 50、Edge 80(Chromium内核)、360极速/安全、IE、Oprea 36、QQ等浏览器,也兼容运行于这些浏览器的最新版本。
IE标签页小程序:基于跨浏览器的小程序系统-PluginOK(牛插)中间件( https://github.com/wangzuohuai/WebRunLocal )单机高级版开发,底层调用IE内核的ActiveX控件实现可程序化驱动的双内核浏览器。最低可用在Chrome 41、Firefox 50、Edge 80(Chromium内核)、360极速/安全、IE、Oprea 36、QQ等浏览器,也兼容运行于这些浏览器的最新版本。
1、PluginOK(牛插)中间件的安装:
1)、如果是exe的安装程序,请直接运行安装;
......@@ -6,7 +6,7 @@
3)、安装完成时会启动PluginOK中间件服务,在安装目录下的Data子目录有WrlService.txt日志文件输出运行情况。
2、IE标签页小程序控制相关接口:
说明:以下功能请通过Web Socket连接PluginOK主服务(ws://localhost?sid=12345&flag=1)后可执行,如默认侦听端口不是80(关于如何配置侦听端口,请参考SDK包中的文档“PluginOK开发者手册.doc”),请在连接地址中指定端口号进行连接。
说明:以下功能请通过Web Socket连接PluginOK主服务(ws://localhost:80?sid=12345&flag=1)后可执行,如默认侦听端口不是80(关于如何配置侦听端口,请参考SDK包中的文档“PluginOK开发者手册.doc”),请在连接地址中指定端口号进行连接。
HTTP网页在线测试:http://zorrosoft.com/ienewtab.html HTTPS网页在线测试:https://zorrosoft.com/ienewtab.html
1)、请求启动IE标签页小程序:
......@@ -41,15 +41,15 @@ ID为Wrl_IETab启动小程序时返回的ID值,Code代表控制类型掩码:
3、小程序安装、升级、卸载
1)、请求安装IE标签页小程序
请在输入框中,输入如下请求,然后点击发送,完成安装:
请在测试网页输入框中,输入如下请求,然后点击发送,完成安装:
{"req":"Plugin_Install","rid":1,"para":{"Name":"IE标签页小程序","PID":"IENewTab","Date":"2021-03-27","Desc":"PluginOK之上跨浏览器的IE标签页内嵌小程序,支持在Chrome、Edge、Firefox、IE、Oprea、360、QQ等最新版本浏览器网页中内嵌使用","DownAddr":"http://local.zorrosoft.com/Files/Plugin/IENewTab.pid","MD5":"E41CED4901AF1B362CBF2711A607EAAF","Version":"2.1.3.1","Size":753664,"HideIns":0,"Type":8,"Cookie":"","Auth":"","TK":"B7EFF1B4CFAE6681FD60D1C57E375B386B2C6B1FE1498CD19D41D2561941E1FC78CC8DCB97CCD3CD54871C5907B3B5D192163915404E2F6AA06D50ED8E6627D6D829142FDE648B0105B914C5AD2A3A3A3BAC2AE6A6343ADF59CA2A18B29074C42233BB4DA3BF21CCEDFF15926BDCF77CB3ED4380E1D179C17FF979CC9EAEBCD46E53AB2ABF54FD58C7858D8750DD2E31FCA8C272232EE56382195C7967848C9D58FCC67E783B8719D20E557F7F4AA56AA60709FCEB6608E5D9256E3B0E2E895F44DECBCA9C59D23B183F589897F9F0B05D4393EC231003D5526640ED86E80BCAFE61D8A1AD4DC62226CC8BE5C77A456A50416A5304612D661A5CBEE45EC2CA6F"}}
{"req":"Plugin_Install","rid":1,"para":{"Name":"IE标签页小程序","PID":"IENewTab","Date":"2021-05-06","Desc":"PluginOK之上跨浏览器的IE标签页内嵌小程序,支持在Chrome、Edge、Firefox、IE、Oprea、360、QQ等最新版本浏览器网页中内嵌使用","DownAddr":"http://local.zorrosoft.com/Files/Plugin/IENewTab.pid","MD5":"4FBE94D5CFF07AAC033667ECB0674496","Version":"1.3.3.2","Size":753664,"HideIns":0,"Type":8,"Cookie":"","Auth":"","TK":"07CB50B2FE7B66B7D53B3E319ECD9E409527466FF338D187B76CA5DE6BE8F254955C127BDB0419C31280C0E061C10CDC1FBBEBCC0023A83A3319EFC7D3070D32FBE108164A9BCA345B9AA5BB41961F1CEF5E0C482E7DD0154FB5453694C65F4B8C259F10540EF2E82FEFCAC5BF15ABB86F2998CC15993C5465DAC91FC51DF8CD6E3779F3D6B1FBB877936CCCC71670E8752CFF6E260635CE617B05A96A161C0828427C6DBD24A5C0F587A123722F3C84252E466F22BD9B6290C580ED5765587AC71C8BA719495FB1CE9B12A67580D002EFCC9A10799E33C82FAF1BCA38EB9A2BB0A431301F70CB4153ECF7C346D9CDBFB3DD89BC5F0712F5EA56D1ACEAC8B0B0"}}
启动安装后,会不断收到安装进度直到安装结束。
2)、请求升级IE标签页小程序:
{"req":"Plugin_Update","rid":1,"para":{"Name":"IE标签页小程序","PID":"IENewTab","Date":"2021-03-27","Desc":"PluginOK之上跨浏览器的IE标签页内嵌小程序,支持在Chrome、Edge、Firefox、IE、Oprea、360、QQ等最新版本浏览器网页中内嵌使用","DownAddr":"http://local.zorrosoft.com/Files/Plugin/IENewTab_Update.pid","MD5":"380A1E026679A6F1DD1C1B119C18697D","Version":"2.1.3.1","Size":753664,"HideIns":0,"Type":8,"Cookie":"","Auth":"","TK":"57AD2616965A091A696441DC59573F2F4B7F53C609C773B671263BFEFAA932F0D6F03078B181632244D60FDFF1C94C61956068FAC319D677D39D77A250E470C80347E9156082DC3771D8D8C14096BA7DDE5E5D215219210D47CE71B3CEA615F6DC9691F9593CC5634B9D42D7D227B4BBAF8AA389A02423F06855953FBA5BFA933BD56D4626E58F7481514EC51131D55907C1477E27C7B7947D369501F61A4A848368B11DB6520D668DE07D1A5FD5DE413D955B2975A705110210C1C114A96E485DDAECB1510D31FA7E40C500B537E1F6C6466D266DDDA8E45B701F382A0225155B3ACBDCC569CBD02A453D94936B72B91353DAAA58831D9523C36662A33AC48D"}}
{"req":"Plugin_Update","rid":1,"para":{"Name":"IE标签页小程序","PID":"IENewTab","Date":"2021-05-06","Desc":"PluginOK之上跨浏览器的IE标签页内嵌小程序,支持在Chrome、Edge、Firefox、IE、Oprea、360、QQ等最新版本浏览器网页中内嵌使用","DownAddr":"http://local.zorrosoft.com/Files/Plugin/IENewTab_Update.pid","MD5":"D9F9169AA8CE97C92B7AEF1CB42AB7E1","Version":"1.3.3.2","Size":753664,"HideIns":0,"Type":8,"Cookie":"","Auth":"","TK":"A122CCCF05AC07107DEDA9E01D65754B0461697B7B86FD7705CFC4696798C27C0E19E8D7C63DEB5A474FD693B21E98DEEFF0A13456959DA1CD3B9C6AD7B3D38DEE8DFB3B450A0506F49BA149D21DF09957A1BED57C88A6D7B6E039EE39929A09464E093B4F77432841162A7D7114232D1B04328044BCCC25057D1471A8927DF422A088261D6205AEA2651BDF51DF69D75E8B8B7DF28A6840BD9AA97FCB7415656E4690972AB5DE7B0F25071E6415F448919B4E7080642A91F5F8BE31FF6B119F028D1FD953576CE419BB04ED7479CD2315AA5B9BEB4F3AB54527091A43BCC7D1D8E4F75075A1EAE23F04244E9EAFC5894DE5CE76A92EDE3FC32ED2F261B4ACF1"}}
以上安装和升级的JSON请求包,可能因版本升级导致内容不同,如遇安装或升级时报错,请联系客服获取最新的请求包。
......
微软Office内嵌网页小程序:基于跨浏览器的小程序系统-PluginOK(牛插)中间件( https://github.com/wangzuohuai/WebRunLocal )开发,底层调用微软Office的VBA接口实现可程序化驱动的网页在线编辑办公控件,可分别将Word、Excel、PowerPoint软件窗口内嵌到网页指定区域运行并操控。最低可用在Chrome 41、Firefox 50、Edge 80(Chromium内核)、360极速/安全、IE 8、Oprea 36、QQ、搜狗等浏览器,也兼容运行于这些浏览器的最新版本。
微软Office内嵌网页小程序:基于跨浏览器的小程序系统-PluginOK(牛插)中间件( https://github.com/wangzuohuai/WebRunLocal )单机高级版开发,底层调用微软Office的VBA接口实现可程序化驱动的网页在线编辑办公控件,可分别将Word、Excel、PowerPoint软件窗口内嵌到网页指定区域运行并操控。最低可用在Chrome 41、Firefox 50、Edge 80(Chromium内核)、360极速/安全、IE 8、Oprea 36、QQ、搜狗等浏览器,也兼容运行于这些浏览器的最新版本。
1、PluginOK(牛插)中间件的安装:
1)、如果是exe的安装程序,请直接运行安装;
......@@ -6,7 +6,7 @@
3)、安装完成时会启动PluginOK中间件服务,在安装目录下的Data子目录有WrlService.txt日志文件输出运行情况。
2、微软Office内嵌网页小程序控制相关接口:
说明:以下功能请通过Web Socket连接PluginOK主服务(ws://localhost?sid=12345&flag=1)后可执行,如默认侦听端口不是80(关于如何配置侦听端口,请参考SDK包中的文档“PluginOK开发者手册.doc”),请在连接地址中指定端口号进行连接。
说明:以下功能请通过Web Socket连接PluginOK主服务(ws://localhost:80?sid=12345&flag=1)后可执行,如默认侦听端口不是80(关于如何配置侦听端口,请参考SDK包中的文档“PluginOK开发者手册.doc”),请在连接地址中指定端口号进行连接。
HTTP网页在线测试:http://zorrosoft.com/wordfull.html HTTPS网页在线测试:https://zorrosoft.com/officeframe.html
前端集成可参考以上测试网页进行,HTML网页中需要嵌入以下类似代码;
A、标记小程序的显示位置和大小
......@@ -106,22 +106,22 @@ File为指定截图文件保存路径或扩展名
Base64指定为1时代表返回BASE64编码的图像内容
{"req":"Wrl_AppletSnap","rid":10,"para":{"ID":1,"Base64":1,"File":".png"}}
8)、请求缩放IE控件内嵌网页小程序,用于浏览器网页按比例缩放,一般不需要处理:
8)、请求缩放内嵌网页小程序,用于浏览器网页按比例缩放,一般不需要处理:
ID为启动小程序时返回JSON中的ID值,Scall为缩放百分比
{"req":"Wrl_AppletScale","rid":11,"para":{"ID":1,"Scale":120}}
3、小程序安装、升级、卸载
1)、请求安装微软Office内嵌网页小程序
请在输入框中,输入如下请求,然后点击发送,完成安装:
请在测试网页输入框中,输入如下请求,然后点击发送,完成安装:
{"req":"Plugin_Install","rid":1,"para":{"Name":"微软Office在线编辑小程序","PID":"MSOfficeApplet","Date":"2021-03-27","Desc":"PluginOK之上跨浏览器的微软Office内嵌网页小程序,支持在Chrome、Edge、Firefox、IE、Oprea、360、QQ等最新版本浏览器网页中内嵌Word、Excel、PowerPoint等程序进行在线编辑或审阅各类办公文档","DownAddr":"http://local.zorrosoft.com/Files/Plugin/MSOfficeApplet.pid","MD5":"D3BE65D80C55CD5EACBCB0A30E2C24C0","Version":"2.1.3.1","Size":753664,"HideIns":0,"Type":8,"Cookie":"","Auth":"","TK":"0A2B3E8C2C6EF10DB3162794C390659B339DE8ADEA29A0018419BBD6C14E28FFFD3E4CA7A587B2A3775681340659C614BD81D0E9D1CA0BC3B9ED66817354DABA5A547931CC775B5B5A53C5EA2527966C879801A3FD1DF01F9A6A33A8C9F79F911B013D5A040CF8AB0259D0551BCE73A019D59E799CD540D3E16B794E0131A029F6911D795B5D7E834D3570DB2F5B1D908246E9A1DE71495262B4058D4A59477A62C75F4FB891EA6F4BF95844CF127CCA7460C1551DB651EA0A6DC65E40CF1C94852DFB0F6418C1BC15EB422BB0FECC2873307756D9E411E1D2EBE16E333F40AC9EAF3184776214B7571FFBD95D6D4D309E99584BAFC8BE94DD668383EEFFD34E"}}
{"req":"Plugin_Install","rid":1,"para":{"Name":"微软Office在线编辑小程序","PID":"MSOfficeApplet","Date":"2021-05-06","Desc":"PluginOK之上跨浏览器的微软Office内嵌网页小程序,支持在Chrome、Edge、Firefox、IE、Oprea、360、QQ等最新版本浏览器网页中内嵌Word、Excel、PowerPoint等程序进行在线编辑或审阅各类办公文档","DownAddr":"http://local.zorrosoft.com/Files/Plugin/MSOfficeApplet.pid","MD5":"F19CFF7282E797EFA3DBD056319E1656","Version":"1.3.3.2","Size":786432,"HideIns":0,"Type":8,"Cookie":"","Auth":"","TK":"190A5B853FA067082FC9B644EB701A31FA5BC5AEE5E76BF40E5398C581ACCBF6106DD8DB1228984A99E7E6F92F4CA60E9A6E92BCB1A7C3C566629DF8632F6F49A45B74169F3F1A83243E49E233A809B51480F73EAC7ABEB9E4A52768F592A5A1D36A04BCB8251C204A45F0FCC92B25DC23B347B773260F0915DEAD09B788D40C98C57F71ABE374FCCAAFD6AB68308CAF77F7D480CD3091655DAA6814D3FE00491D45BD266C7174A8E2B714BDC7F866C78069AC15995F2E121E099D4F5DD4D265F54E5B193F38D6F220D47B4F14F02E87EB154F79BD75FEED0B032897429657D8FDE36133C253FEDFAC1800D890961336D982D7438D3C2121FEFCF6B597BB27ED"}}
启动安装后,会不断收到安装进度直到安装结束。
在发布时,也可以把此小程序目录文件和中间件一起打包后发布,不用单独分发。
2)、请求升级微软Office内嵌网页小程序:
{"req":"Plugin_Update","rid":1,"para":{"Name":"微软Office在线编辑小程序","PID":"MSOfficeApplet","Date":"2021-03-27","Desc":"PluginOK之上跨浏览器的微软Office内嵌网页小程序,支持在Chrome、Edge、Firefox、IE、Oprea、360、QQ等最新版本浏览器网页中内嵌Word、Excel、PowerPoint等程序进行在线编辑或审阅各类办公文档","DownAddr":"http://local.zorrosoft.com/Files/Plugin/MSOfficeApplet_Update.pid","MD5":"64460917C5C708C0E798979274B7E3B2","Version":"2.1.3.1","Size":753664,"HideIns":0,"Type":8,"Cookie":"","Auth":"","TK":"5271206A031CB479204A58AF821D4B6F321DB32F96D3765E1B311927ECBC468686D26331B13184E26C9ACC51F078D498AB737DC92940F9BB797D1B8F63850D6EC6CD1717D9184DB07228716C77A43D178F450005E195A838DA61F705F8BEFCB09D2E0B2790FA201B9DD02A4F0CE53B8BC44F2155F8D519A83DD165DD04F73BD45D26890318E1CA6DE596AB4AF02C64EB1918360B2AC5711C7B97242D2DFB1923379C0E404C892E05DE443999B6C41555FE9EF3E04A90FCD7E10BA4566A10808C42C700B0EFA1ACE202C62DD8ECB4B34BF671C3AF7243ACAAAA2B00D176D671BA3A9CF7A5A156C133B7028916BFD275C3936324AACAD514B1C5E36462F6FB3F05"}}
{"req":"Plugin_Update","rid":1,"para":{"Name":"微软Office在线编辑小程序","PID":"MSOfficeApplet","Date":"2021-05-06","Desc":"PluginOK之上跨浏览器的微软Office内嵌网页小程序,支持在Chrome、Edge、Firefox、IE、Oprea、360、QQ等最新版本浏览器网页中内嵌Word、Excel、PowerPoint等程序进行在线编辑或审阅各类办公文档","DownAddr":"http://local.zorrosoft.com/Files/Plugin/MSOfficeApplet_Update.pid","MD5":"A6F891BACE0065C327D77E7A32DA1325","Version":"1.3.3.2","Size":786432,"HideIns":0,"Type":8,"Cookie":"","Auth":"","TK":"B4C1061046F267A4602284D77B4658373F6BBDCCEB166B0978CF8A0FC5769211DE4399EC864D940047610A9BA37D6FF7E68EFB46124FA5FF8F46A5FA6F91B7B70FC9477A900BCB3161C7CBFC243852BEA8D344F5414BE0C927FEE6871F1FF103A979FCA366A83302B7B8F43611361C5BF060D47C617EDB6603088CEDC58CCAE5C03D53A0A7978B0E76148B394900E6C983D77FF8B183DD0D5BBD4C6EBFE1CB9297E455FF139C4F9BDDED19BF8EFED71CB40E1668D1FA6F452CA6C8FC7C60646CBD22B3FB1F883A282B7EFA1B6457C66B7252654F51E86C102169B180412EA8A4028DF6EBFFA739F02F4BA3B9FC53171ED30563F167EC1F8449875E8B064C0755"}}
以上安装和升级的JSON请求包,可能因版本升级导致内容不同,如遇安装或升级时报错,请联系客服获取最新的请求包。
......@@ -130,21 +130,101 @@ ID为启动小程序时返回JSON中的ID值,Scall为缩放百分比
{"req":"Plugin_Remove","rid":3,"para":{"PID":"MSOfficeApplet","Type":8}}
4、微软Office内嵌网页小程序转调用Office软件的VBA接口,先根据Wrl_OfficeApplet请求启动后返回的端口号,新建立一个WebSocket连接后可执行如下指令:
A、常用功能请求:
请求退出小程序
1)请求退出小程序,适用于Word、Excel、PPT软件
{"req":"Office_Exit","rid":1,"para":{}}
无返回,如有前端到此小程序的端口连接,会自动中断
请求关闭文档
{"req":"Office_Close","rid":2,"para":{}}
2)请求关闭文档 Save为0代表如有修改不提示保存,适用于Word、Excel、PPT软件
{"req":"Office_Close","rid":2,"para":{"Save":"0"}}
返回:{"ret":0,"rid":2,"data":{"Ret":"0"}}
ret为请求返回值,0正常,非零不正常,不正常时请取和ret同级的错误描述err,下同
Ret为调用VBA接口对应函数返回值,0代表正常
请求打开文档
3)请求打开文档 Open为打开文档路径,有中文或特殊字符等需要UrlEncode编码,适用于Word、Excel、PPT软件
打开前如已有文档打开,会自动关闭上一个文档,避免同时打开多个文档
{"req":"Office_Open","rid":3,"para":{"Open":"D:/Zorro/test.doc"}}
/// 请求转换为PDF格式
{"req":"Office_SaveAs","rid":4,"para":{"NewFile":"D:/Zorro/test1.pdf"}}
返回:{"ret":0,"rid":3,"data":{"Ret":"0"}}
4)请求保存,适用于Word、Excel、PPT软件,如是新建文档,会弹出保存对话框
{"req":"Office_Save","rid":4,"para":{}}
返回:{"ret":0,"rid":4,"data":{"Ret":"0"}}
5)请求另保存 NewFile为另保存路径,有中文或特殊字符等需要UrlEncode编码,适用于Word、Excel、PPT软件
{"req":"Office_SaveAs","rid":5,"para":{"NewFile":"D:/Zorro/test.xml"}}
返回:{"ret":0,"rid":5,"data":{"Ret":"0"}}
6)请求导出为PDF或XPS格式 NewFile为导出文档路径,有中文或特殊字符等需要UrlEncode编码,适用于Word、Excel软件
{"req":"Office_Export","rid":6,"para":{"NewFile":"D:/Zorro/test1.pdf"}}
返回:{"ret":0,"rid":6,"data":{"Ret":"0"}}
7)请求在当前光标位置插入图片 ImgFile为图片路径,有中文或特殊字符等需要UrlEncode编码,适用于Word软件
Link为1则只是链接到文件 Save保存到文档
{"req":"Office_InsertImg","rid":7,"para":{"ImgFile":"D:/Zorro/test.png","Link":"0","Save":"1"}}
返回:{"ret":0,"rid":7,"data":{"Ret":"0","Width":"1","Height":"1"}} Width和Height分别为插入图片的宽度和高度
8)请求在当前光标位置批量插入文字,适用于Word软件
{"req":"Office_Insert","rid":8,"para":[{"Paragraph":1},{"FontSize":"16","FontName":"宋体","Color":"0","Bold":"8","Text":"详情请点击这里:"},{"Paragraph":1},{"Address":"http://zorrosoft.com","Display":"佐罗软件官方网站"}]}
分别为换行、插入指定字体和颜色值的文字再换行,插入一个超链接
返回:{"ret":0,"rid":8,"data":{"Ret":"0"}}
9)请求在当前光标位置执行退格操作Backspace,适用于Word软件
{"req":"Office_Backspace","rid":9,"para":{}}
返回:{"ret":0,"rid":9,"data":{"Ret":"0"}}
10)请求批量打印,适用于Word、Excel软件
Copies为打印份数,默认打印所有页面,打印到文件时,需要指定OutFile,有中文或特殊字符等需要UrlEncode编码
{"req":"Office_PrintOut","rid":10,"para":{"Copies":"1","OutFile":"D:/Zorro/testprint.pdf"}}
返回:{"ret":0,"rid":10,"data":{"Ret":"0"}}
11)请求移动光标位置,适用于Word软件
Up为向上,默认向下,Up为1向上,Unit移动单位(5是文字行数,7是屏幕区) Count为移动数量
{"req":"Office_MoveLine","rid":11,"para":{"Up":"0","Unit":"5","Count":"6"}}
返回:{"ret":0,"rid":11,"data":{"Ret":"0"}}
12)请求获取当前用户名,适用于Word、Excel软件
{"req":"Office_GetUserName","rid":12,"para":{}}
返回:{"ret":0,"rid":12,"data":{"Ret":"0","UserName":"test"}}
13)请求设置当前用户名,适用于Word、Excel软件
{"req":"Office_PutUserName","rid":13,"para":{"Name":"test"}}
返回:{"ret":0,"rid":13,"data":{"Ret":"0"}}
14)请求获取当前是否修订模式,适用于Word软件
{"req":"Office_GetTrackRevisions","rid":14,"para":{}}
返回:{"ret":0,"rid":14,"data":{"Ret":"0","TrackRevisions":"0"}}
15)请求设置当前是否修订模式,适用于Word软件
{"req":"Office_PutTrackRevisions","rid":15,"para":{"TrackRevisions":"1"}}
返回:{"ret":0,"rid":15,"data":{"Ret":"0"}}
16)请求修订模式后续操作,适用于Word软件
Type为操作类型,0默认代表切换修改模式,1代表接受所有修订 2代表拒绝所有修订
{"req":"Office_TrackRevisions","rid":16,"para":{"Type":"1"}}
返回:{"ret":0,"rid":16,"data":{"Ret":"0"}}
17)请求在当前位置添加批注,适用于Word软件
Text为添加批注的文字描述
{"req":"Office_InsertComment","rid":17,"para":{"Text":"批注内容"}}
返回:{"ret":0,"rid":17,"data":{"Ret":"0"}}
5、事件通知:
A、
A、以下为Word程序通知
1) Office_DocClosed 文档关闭通知
{"event":"Office_DocClosed","data":{"Name":""}} Name被关闭文档名称
2) Office_DocChange 文档变化通知
{"event":"Office_DocChange","data":{}}
3) Office_DocNew 新文档通知
{"event":"Office_DocNew","data":{}}
4) Office_DocOpen 文档打开通知
{"event":"Office_DocOpen","data":{}}