B、函数功能请求:公司网站 http://zorrosoft.com/
1) 显示关于对话框
请求:{"req":"AIP_AboutBox","rid":101,"para":{}}
返回:{"ret":0,"rid":101,"data":{}}
2) 添加骑缝章和普通印章接口(必须打开文件且用户已登录)
请求:{"req":"AIP_AddQiFengSeal","rid":102,"para":{"From":"","Pages":"","OriSealName":"","SealName":""}}
返回:{"ret":0,"rid":102,"data":{"Ret":"1"}}
Ret 1成功,0失败
3) 如当前是通过LoadOriginalFile打开的原始文件,通过此接口可以接受文件的全部修订
请求:{"req":"AIP_AcceptAllRevisions","rid":103,"para":{}}
返回:{"ret":0,"rid":103,"data":{"Ret":"1"}}
Ret >0 成功,<=0失败
4) 添加当前文件的属性和值
请求:{"req":"AIP_AddDocProperty","rid":104,"para":{"Name":"","Value":""}}
返回:{"ret":0,"rid":104,"data":{"Ret":"1"}}
Ret !=0 成功,=0失败
5) 在AIP_BeforeConvert后,默认打印机恢复为原打印机,并读取设置
请求:{"req":"AIP_AfterConvert","rid":105,"para":{}}
返回:{"ret":0,"rid":105,"data":{"Ret":"1"}}
Ret >0 成功,<=0失败
6) 将控件虚拟打印机设置为系统默认打印机,并保存原打印机设置。 在AIP_AfterConvert 后恢复
请求:{"req":"AIP_BeforeConvert","rid":106,"para":{}}
返回:{"ret":0,"rid":106,"data":{"Ret":"1"}}
Ret >0 成功,<=0失败
7) 将控件虚拟打印机设置为系统默认打印机,并保存原打印机设置。 在AIP_AfterConvert后恢复
请求:{"req":"AIP_BeforeConvertEx","rid":107,"para":{"PaperWidth":"","PaperHeight":""}}
返回:{"ret":0,"rid":107,"data":{"Ret":"1"}}
Ret >0 成功,<=0失败
8) 判断操作是否可以恢复
请求:{"req":"AIP_CanRedo","rid":108,"para":{}}
返回:{"ret":0,"rid":108,"data":{"Ret":"1"}}
Ret 1 可以恢复,0不可恢复
9) 判断操作是否可以撤销
请求:{"req":"AIP_CanUndo","rid":109,"para":{}}
返回:{"ret":0,"rid":109,"data":{"Ret":"1"}}
Ret 1 可以撤销,0不可撤销
10) 修改当前用户的登陆密码
请求:{"req":"AIP_ChangeCurrUserPwd","rid":110,"para":{"OldPwd":"","NewPwd":""}}
返回:{"ret":0,"rid":110,"data":{"Ret":"1"}}
Ret <>0 成功,0失败
11) 关闭当前文档
请求:{"req":"AIP_CloseDoc","rid":111,"para":{"ReqSaved":"0"}}
返回:{"ret":0,"rid":111,"data":{"Ret":"1"}}
Ret <>0 成功,0失败
12) 把当前通过AIP_LoadOriginalFile打开的原始文件直接转化成AIP文件
请求:{"req":"AIP_ConvertToAip","rid":112,"para":{"AddOri":"","Normal":""}}
返回:{"ret":0,"rid":112,"data":{"Ret":"1"}}
Ret <>0 成功,0失败
13) 将高度由原单位换算为新的单位
请求:{"req":"AIP_ConvertXYModeH","rid":113,"para":{"PageIndex":"","W":"","SXYMode":"","DXYMode":""}}
返回:{"ret":0,"rid":113,"data":{"Ret":""}}
Ret 成功:换算为新单位后的高度值
14) 将宽度由原单位换算为新的单位
请求:{"req":"AIP_ConvertXYModeW","rid":114,"para":{"PageIndex":"","W":"","SXYMode":"","DXYMode":""}}
返回:{"ret":0,"rid":114,"data":{"Ret":""}}
Ret 成功:换算为新单位后的宽度值
15) 拷贝本地文件
FromFile、ToFile需先进行UrlEncode编辑
请求:{"req":"AIP_CopyLocalFile","rid":115,"para":{"FromFile":"","ToFile":""}}
返回:{"ret":0,"rid":115,"data":{"Ret":"1"}}
Ret 1 成功,0失败
16) CopySelectText
请求:{"req":"AIP_CopySelectText","rid":116,"para":{}}
返回:{"ret":0,"rid":116,"data":{}}
17) 创建文件夹
Folder需先进行UrlEncode编辑
请求:{"req":"AIP_CreateFolder","rid":117,"para":{"Folder":""}}
返回:{"ret":0,"rid":117,"data":{"Ret":"1"}}
Ret 0 成功,<>0失败
18) 解密文件
InFile、OutFile需先进行UrlEncode编辑
请求:{"req":"AIP_DecFile","rid":110,"para":{"InFile":"","OutFile":"","Pwd":""}}
返回:{"ret":0,"rid":110,"data":{"Ret":"1"}}
Ret 0 成功,<>0失败
19) 删除文件属性
请求:{"req":"AIP_DelDocProperty","rid":119,"para":{"Name":""}}
返回:{"ret":0,"rid":119,"data":{"Ret":"1"}}
Ret <>0 成功,0失败
20) 删除文件夹
Folder需先进行UrlEncode编辑
请求:{"req":"AIP_DeleteFolder","rid":120,"para":{"Folder":""}}
返回:{"ret":0,"rid":120,"data":{"Ret":"1"}}
Ret 0 成功,<>0失败
21) 删除本地文件
FileName需先进行UrlEncode编辑
请求:{"req":"AIP_DeleteLocalFile","rid":121,"para":{"FileName":""}}
返回:{"ret":0,"rid":121,"data":{"Ret":"1"}}
Ret 0 成功,<>0失败
22) 删除指定节点
请求:{"req":"AIP_DeleteNote","rid":122,"para":{"NoteName":""}}
返回:{"ret":0,"rid":122,"data":{"Ret":"1"}}
Ret <>0 成功,0失败
23) 删除指定页面
请求:{"req":"AIP_DeletePage","rid":123,"para":{"Page":"0"}}
返回:{"ret":0,"rid":123,"data":{"Ret":"1"}}
Ret <>0 成功,0失败
24) 加密文件
InFile、OutFile、PwdFile需先进行UrlEncode编辑
请求:{"req":"AIP_EncFile","rid":124,"para":{"InFile":"","OutFile":"","PwdFile":""}}
返回:{"ret":0,"rid":124,"data":{"Ret":""}}
Ret "o-加密密码"成功,"x-错误信息" 失败
25) 执行shell命令
Exe、Paramer需先进行UrlEncode编辑
请求:{"req":"AIP_ExecuteCmd","rid":125,"para":{"Exe":"","Flag":"","Paramer":""}}
返回:{"ret":0,"rid":125,"data":{"Ret":"1"}}
Ret 0 成功,<>0失败
26) 导出文档中所有区域的字符串数据
OpenFileName、SaveFileName需先进行UrlEncode编辑
请求:{"req":"AIP_ExportEditNodeValue","rid":126,"para":{"OpenFileName":"","SaveFileName":"","WithHeader":""}}
返回:{"ret":0,"rid":126,"data":{"Ret":"1"}}
Ret 0 成功,<>0失败
27) FindText
请求:{"req":"AIP_FindText","rid":127,"para":{"Text":"","Case ":"","PageS":"","PosXS":"","PosYS":"","PageE":"","PosXE":"","PosYE":"","SearchIndex":""}}
返回:{"ret":0,"rid":127,"data":{"Ret":""}}
Ret 成功:S页索引,页坐标X,页坐标Y 成功,失败:空
28) 连接FTP服务器
URL需先进行UrlEncode编辑
请求:{"req":"AIP_FtpConnect","rid":128,"para":{"URL":"","Port":"","User":"","Pwd":""}}
返回:{"ret":0,"rid":128,"data":{"Ret":"1"}}
Ret <>0 成功,0失败
29) 断开FTP服务器连接
请求:{"req":"AIP_FtpDisConnect","rid":129,"para":{}}
返回:{"ret":0,"rid":129,"data":{"Ret":"1"}}
Ret <>0 成功,0失败
30) 通过FTP下载服务器文件
RemoteFile、LocalFile需先进行UrlEncode编辑
请求:{"req":"AIP_FtpGetFile","rid":130,"para":{"RemoteFile":"","LocalFile":""}}
返回:{"ret":0,"rid":130,"data":{"Ret":"1"}}
Ret <>0 成功,0失败
31) 通过FTP上传本地文件
RemoteFile、LocalFile需先进行UrlEncode编辑
请求:{"req":"AIP_FtpPutFile","rid":131,"para":{"RemoteFile":"","LocalFile":"","OverWrite":""}}
返回:{"ret":0,"rid":131,"data":{"Ret":"1"}}
Ret <>0 成功,0失败
32) 获取word文档中的bookmark的位置
请求:{"req":"AIP_GetBMPos","rid":132,"para":{"BMName":"","PosType":""}}
返回:{"ret":0,"rid":132,"data":{"Ret":"1"}}
Ret >=0 成功,<0失败
33) 获取当前文件的Base64编码的字符串,与"AIP_LoadFileBase64对应
请求:{"req":"AIP_GetCurrFileBase64","rid":133,"para":{}}
返回:{"ret":0,"rid":133,"data":{"Ret":""}}
Ret 成功:Base64编码的字符串,失败:空
34) 取得当前文件大小,单位字节
请求:{"req":"AIP_GetCurrFileSize","rid":134,"para":{}}
返回:{"ret":0,"rid":134,"data":{"Ret":""}}
Ret >0 成功,0失败
35) 获得文档窗口的指定位置在页面上的坐标
请求:{"req":"AIP_GetCurrPagePos","rid":135,"para":{"PagePosType":""}}
返回:{"ret":0,"rid":135,"data":{"Ret":""}}
Ret 成功:页索引,页面坐标x,页面坐标Y 失败:空
36) 获得当前服务序列号对应的服务名。每一服务器用户分配32位唯一表示符号
请求:{"req":"AIP_GetCurrServer","rid":136,"para":{"ServerID":"1"}}
返回:{"ret":0,"rid":136,"data":{"Ret":"","ServerID":"1"}}
Ret 成功:当前服务器的详细名称,失败:空
37) 获取当前用户的权限(请参阅方法Login)
请求:{"req":"AIP_GetCurrUserAccess","rid":137,"para":{}}
返回:{"ret":0,"rid":137,"data":{"Ret":"1"}}
Ret <>0 当前用户的权限 成功,0失败
38) 返回当前登录用户的用户名
请求:{"req":"AIP_GetCurrUserID","rid":138,"para":{}}
返回:{"ret":0,"rid":138,"data":{"Ret":""}}
Ret 成功:当前登录用户的用户名,0失败
39) 获取用户界面颜色
请求:{"req":"AIP_GetCustomColour","rid":139,"para":{"Type":"1"}}
返回:{"ret":0,"rid":139,"data":{"Ret":""}}
Ret 成功:颜色的RGB值
40) 返回当前打开的文件中的所有文字
请求:{"req":"AIP_GetDocText","rid":140,"para":{}}
返回:{"ret":0,"rid":140,"data":{"Ret":"1"}}
Ret 成功:返回当前打开的文件中的所有文字 失败:空
41) 根据错误ID来返回错误的信息
请求:{"req":"AIP_GetErrorString","rid":141,"para":{"ErrorNo":"1"}}
返回:{"ret":0,"rid":141,"data":{"Ret":"1"}}
Ret 成功:错误的信息 失败:空
42) 获取文件的base64串
FilePath需先进行UrlEncode编辑
请求:{"req":"AIP_GetFileBase64","rid":142,"para":{"FilePath":""}}
返回:{"ret":0,"rid":142,"data":{"Ret":""}}
Ret 成功:base64串 失败:空
43) 返回文件的修改/创建日期
FilePath需先进行UrlEncode编辑
请求:{"req":"AIP_GetFileInfo","rid":143,"para":{"FilePath":"","Type":""}}
返回:{"ret":0,"rid":143,"data":{"Ret":""}}
Ret 成功:字符串 失败:空
44) 获得指定目录下的所有文件列表
FilePath需先进行UrlEncode编辑
请求:{"req":"AIP_GetFileListUnderDir","rid":144,"para":{"FilePath":""}}
返回:{"ret":0,"rid":144,"data":{"Ret":""}}
Ret 成功:以;分割的文件列表 失败:空
45) 获得指定目录下的所有文件列表
FilePath需先进行UrlEncode编辑
请求:{"req":"AIP_GetFileSize","rid":145,"para":{"FilePath":""}}
返回:{"ret":0,"rid":145,"data":{"Ret":""}}
Ret 成功:以;分割的文件列表 失败:空
46) 获得上传的二进制流数据
请求:{"req":"AIP_GetHttpPostData","rid":146,"para":{"ParaS":"","ParaN":""}}
返回:{"ret":0,"rid":146,"data":{"Ret":""}}
Ret 成功:二进制流数据BASE64编码 失败:空
47) 获得打印机的任务详细信息
请求:{"req":"AIP_GetJobInfoByStr","rid":147,"para":{"PrintName":"","JobID":""}}
返回:{"ret":0,"rid":147,"data":{"Ret":""}}
Ret 成功:打印机的任务详细信息,失败:空
48) 获取当前属性的下一个属性
请求:{"req":"AIP_GetNextDocProperty","rid":148,"para":{"PrevName":""}}
返回:{"ret":0,"rid":148,"data":{"Ret":""}}
Ret 成功:属性名称,失败:空
49) 获取下一个节点信息
请求:{"req":"AIP_GetNextNote","rid":149,"para":{"UserID":"","ServerID":"","NoteID":""}}
返回:{"ret":0,"rid":149,"data":{"Ret":""}}
Ret 成功:下一个节点信息,失败:空
50) 获取用户 UserID 的下一个用户ID
请求:{"req":"AIP_GetNextUser","rid":150,"para":{"UserID":"","ServerID":""}}
返回:{"ret":0,"rid":150,"data":{"Ret":""}}
Ret 成功:下一个用户ID 失败:空
51) 获取指定节点的逻辑高度(单位基于当前坐标系)
请求:{"req":"AIP_GetNoteHeight","rid":151,"para":{"Name":""}}
返回:{"ret":0,"rid":151,"data":{"Ret":""}}
Ret 成功:获取指定节点的逻辑高度(单位基于当前坐标系),失败:0
52) 获取节点个数
请求:{"req":"AIP_GetNoteNum","rid":152,"para":{"NoteType":""}}
返回:{"ret":0,"rid":152,"data":{"Ret":""}}
Ret 成功:节点个数
53) 获取指定节点的X逻辑坐标位置(坐标单位由CurrXYMode指定)
请求:{"req":"AIP_GetNotePosX","rid":153,"para":{"Name":""}}
返回:{"ret":0,"rid":153,"data":{"Ret":""}}
Ret 成功:指定节点的X逻辑坐标
54) 获取指定节点的Y逻辑坐标位置(坐标单位由CurrXYMode指定)
请求:{"req":"AIP_GetNotePosY","rid":154,"para":{"Name":""}}
返回:{"ret":0,"rid":154,"data":{"Ret":""}}
Ret 成功:指定节点的Y逻辑坐标
55) 根据序号获得节点
请求:{"req":"AIP_GetNoteByIndex","rid":155,"para":{"Index":"","NoteType":""}}
返回:{"ret":0,"rid":155,"data":{"Ret":""}}
Ret 成功:节点名称 失败:空
56) 获取指定节点的逻辑宽度(单位基于当前坐标系)
请求:{"req":"AIP_GetNoteWidth","rid":156,"para":{"Name":""}}
返回:{"ret":0,"rid":156,"data":{"Ret":""}}
Ret 成功:指定节点的逻辑宽度
57) 获取原始文件
FileName需先进行UrlEncode编辑
请求:{"req":"AIP_GetOriginalFile","rid":157,"para":{"FileName":"","OriginalIndex":""}}
返回:{"ret":0,"rid":157,"data":{"Ret":""}}
Ret <>0 成功,0失败
58) 获取原始文件个数
请求:{"req":"AIP_GetOriginalFileCount","rid":158,"para":{}}
返回:{"ret":0,"rid":158,"data":{"Ret":""}}
Ret 成功:原始文件的个数
59) 获取原始文件名
请求:{"req":"AIP_GetOriginalFileName","rid":159,"para":{"OriginalIndex":""}}
返回:{"ret":0,"rid":159,"data":{"Ret":""}}
Ret 成功:原始文件名
60) 获取原始文档类型
请求:{"req":"AIP_GetOriginalFileType","rid":160,"para":{"OriginalIndex":""}}
返回:{"ret":0,"rid":160,"data":{"Ret":""}}
Ret 成功:原始文档类型
61) 获取指定页面的高度(像素)
请求:{"req":"AIP_GetPageHeight","rid":161,"para":{"PageIndex":""}}
返回:{"ret":0,"rid":161,"data":{"Ret":""}}
Ret 成功:指定页面的高度
62) 获取页面显示模式信息
请求:{"req":"AIP_GetPageMode","rid":162,"para":{"ZoomPercent":""}}
返回:{"ret":0,"rid":162,"data":{"Ret":""}}
Ret 成功:>0
63) 获取指定页面的宽度(像素)
请求:{"req":"AIP_GetPageWidth","rid":163,"para":{"PageIndex":""}}
返回:{"ret":0,"rid":163,"data":{"Ret":""}}
Ret 成功:指定页面的宽度
64) 获得所有打印机
请求:{"req":"AIP_GetPrinterList","rid":164,"para":{}}
返回:{"ret":0,"rid":164,"data":{"Ret":""}}
Ret 成功:格式为<+打印机名/;打印机状态码/;任务数/;-> 失败:空
65) 获得打印机的任务列表和状态
请求:{"req":"AIP_GetPrinterStatusByStr","rid":165,"para":{"PrintName":""}}
返回:{"ret":0,"rid":165,"data":{"Ret":""}}
Ret 成功:非空 失败:空
66) 获取指定节点或页面的旋转类型
请求:{"req":"AIP_GetRotateType","rid":166,"para":{"Name":""}}
返回:{"ret":0,"rid":166,"data":{"Ret":""}}
Ret 成功:>=0 失败:<0
67) 获取当前智能卡的证书序列
请求:{"req":"AIP_GetSerialNumber","rid":167,"para":{}}
返回:{"ret":0,"rid":167,"data":{"Ret":""}}
Ret 成功:智能卡的证书序列
68) 获得sheet数量(excel)
请求:{"req":"AIP_GetSheetCount","rid":168,"para":{}}
返回:{"ret":0,"rid":168,"data":{"Ret":""}}
Ret >=0 成功,<0 失败
69) 根据Sheet名称获得sheet序号
请求:{"req":"AIP_GetSheetIndex","rid":169,"para":{"SheetName":""}}
返回:{"ret":0,"rid":169,"data":{"Ret":""}}
Ret >=0 成功,<0 失败
70) 获得sheet名称(excel)
请求:{"req":"AIP_GetSheetName","rid":170,"para":{"SheetIndex":""}}
返回:{"ret":0,"rid":170,"data":{"Ret":""}}
Ret 成功:sheet名称 失败:空
71) 获得指定范围的公式(excel)
请求:{"req":"AIP_GetSheetRangeFormula","rid":171,"para":{"SheetIndex":"","RngName":""}}
返回:{"ret":0,"rid":171,"data":{"Ret":""}}
Ret 成功:指定范围的公式 失败:空
72) 获得指定范围的文字(excel)
请求:{"req":"AIP_GetSheetRangeText","rid":172,"para":{"SheetIndex":"","RngName":""}}
返回:{"ret":0,"rid":172,"data":{"Ret":""}}
Ret 成功:指定范围的文字 失败:空
73) 获得指定范围的值(excel)
请求:{"req":"AIP_GetSheetRangeValue","rid":173,"para":{"SheetIndex":"","RngName":""}}
返回:{"ret":0,"rid":173,"data":{"Ret":""}}
Ret 成功:指定范围的值 失败:空
74) 随机生成一个唯一的临时文件名
请求:{"req":"AIP_GetTempFileName","rid":174,"para":{"FileType":""}}
返回:{"ret":0,"rid":174,"data":{"Ret":""}}
Ret 成功:临时文件名 失败:空
75) 获取用户 pcUserID 的用户的相关信息
请求:{"req":"AIP_GetUserInfo","rid":175,"para":{"UserID":"","ServerID":""}}
返回:{"ret":0,"rid":175,"data":{"Ret":"","UserType":"","UserLastTime":"","PenColor":"","PenWidth":""}}
Ret 成功:1 失败:0 UserType用户类型 UserLastTime最后登录时间 PenColor笔的颜色 PenWidth笔的宽度
76) 获取指定类型的用户信息
请求:{"req":"AIP_GetUserInfoEx","rid":176,"para":{"UserID":"","ServerID":"","Type":""}}
返回:{"ret":0,"rid":176,"data":{"Ret":""}}
Ret 成功:指定类型的用户信息
77) 获取当前登录用户的远程地址。仅当用户是远程登录时有效
请求:{"req":"AIP_GetUserRemoteAddr","rid":177,"para":{}}
返回:{"ret":0,"rid":177,"data":{"Ret":""}}
Ret 成功:登录用户的远程地址 失败:空
78) 获取参数对应的值
请求:{"req":"AIP_GetValue","rid":178,"para":{"Name":""}}
返回:{"ret":0,"rid":178,"data":{"Ret":""}}
Ret 成功:参数对应的值
79) 获取参数对应的内容
请求:{"req":"AIP_GetValueEx","rid":179,"para":{"Name":"","ValueType":"","ValueName":"","ParaN":"","ParaS":""}}
返回:{"ret":0,"rid":179,"data":{"Ret":""}}
Ret 成功:1 失败:<=0
80) 跳转到下一页
请求:{"req":"AIP_GotoNext","rid":180,"para":{}}
返回:{"ret":0,"rid":180,"data":{}}
81) 定位到参数指定的位置
请求:{"req":"AIP_GotoPosition","rid":181,"para":{"Type":"","Name":"","PageIndex":"","PosX":"""Posy":""}}
返回:{"ret":0,"rid":181,"data":{"Ret":""}}
Ret 成功:1 失败:<>1
82) 跳转到上一页
请求:{"req":"AIP_GotoPrev","rid":182,"para":{}}
返回:{"ret":0,"rid":182,"data":{}}
83) 使AIP文档中指定类型变成灰色
请求:{"req":"AIP_GrayData","rid":183,"para":{"GrayType":""}}
返回:{"ret":0,"rid":183,"data":{"Ret":""}}
Ret 成功:<>0 失败:=0
84) 隐藏指定工具条按钮
请求:{"req":"AIP_HideBarItems","rid":184,"para":{"Menu1":"","Menu2":"","ToolBar1":"","ToolBar2":"","ExtBar1":"","ExtBar2":""}}
返回:{"ret":0,"rid":184,"data":{"Ret":""}}
Ret 成功:<>0 失败:=0
85) 隐藏指定菜单
请求:{"req":"AIP_HideMenuItem","rid":185,"para":{"MenuState":""}}
返回:{"ret":0,"rid":185,"data":{"Ret":""}}
Ret 成功:<>0 失败:=0
86) 设置通过Http上传的数据流
RelateFile需先进行UrlEncode编辑
请求:{"req":"AIP_HttpAddPostBuffer","rid":186,"para":{"Name":"","RelateFile":"","Buffer":"","Len":""}}
返回:{"ret":0,"rid":186,"data":{"Ret":""}}
Ret 成功:<>0 失败:=0
87) 设置Http上传当前打开的AIP文件
请求:{"req":"AIP_HttpAddPostCurrFile","rid":187,"para":{"Name":""}}
返回:{"ret":0,"rid":187,"data":{"Ret":""}}
Ret 成功:<>0 失败:=0
88) 加入当前文件到待上传列表
FileName需先进行UrlEncode编辑
请求:{"req":"AIP_HttpAddPostCurrFileEx","rid":188,"para":{"Name":"","FileName":""}}
返回:{"ret":0,"rid":188,"data":{"Ret":""}}
Ret 成功:1 失败:=0
89) 设置通过Http上传的文件
File需先进行UrlEncode编辑
请求:{"req":"AIP_HttpAddPostFile","rid":189,"para":{"Name":"","File":""}}
返回:{"ret":0,"rid":189,"data":{"Ret":""}}
Ret 成功:<>0 失败:=0
90) 设置通过Http上传的字符串变量
请求:{"req":"AIP_HttpAddPostString","rid":190,"para":{"Name":"","Value":""}}
返回:{"ret":0,"rid":190,"data":{"Ret":""}}
Ret 成功:<>0 失败:=0
91) 设置通过Http上传的数字变量
请求:{"req":"AIP_HttpAddPostValue","rid":191,"para":{"Name":"","Value":""}}
返回:{"ret":0,"rid":191,"data":{"Ret":""}}
Ret 成功:<>0 失败:=0
92) 初始化Http , 在调用Http的时候必须首先初始化
请求:{"req":"AIP_HttpInit","rid":192,"para":{}}
返回:{"ret":0,"rid":192,"data":{"Ret":""}}
Ret 成功:<>0 失败:=0
93) 触发Http上传Post操作
HttpURL需先进行UrlEncode编辑
请求:{"req":"AIP_HttpPost","rid":193,"para":{"HttpURL":""}}
返回:{"ret":0,"rid":193,"data":{"Ret":""}}
Ret 成功:HTTP的返回信息 失败:空
94) 执行菜单快捷键操作
请求:{"req":"AIP_InputHotKey","rid":194,"para":{"Type":""}}
返回:{"ret":0,"rid":194,"data":{"Ret":""}}
Ret 成功:1 失败:0
95) 设置各部门打印份数。可重复调用,本接口只有网络版有效
请求:{"req":"AIP_InsertDepartmentCopy","rid":195,"para":{"DepName":"","Copys":""}}
返回:{"ret":0,"rid":195,"data":{"Ret":""}}
Ret 成功:<>0 失败:0
96) 插入附件
FilePath需先进行UrlEncode编辑
请求:{"req":"AIP_InsertEmbFile","rid":196,"para":{"FilePath":"","FileData":"","EmbName":"","Page":"","Left":"","Top":""}}
返回:{"ret":0,"rid":196,"data":{"Ret":""}}
Ret 成功:插入的节点名称 失败:空
97) 创建空白页面,批示页,编辑页。(必须用户登录)
请求:{"req":"AIP_InsertEmptyPage","rid":197,"para":{"PageIndex":"","Type":"","Width":"","Height":""}}
返回:{"ret":0,"rid":197,"data":{"Ret":""}}
Ret 成功:<>0 失败:0
98) 动态添加编辑域|手写域|超链接.(必须登录)
请求:{"req":"AIP_InsertNote","rid":198,"para":{"Name":"","PageIndex":"","Type":"","PosX":"","PosY":"","Width":"","Height":""}}
返回:{"ret":0,"rid":198,"data":{"Ret":""}}
Ret 成功:节点名字符串 失败:空
99) 插入节点
请求:{"req":"AIP_InsertNote2","rid":199,"para":{"Name":"","NoteType":"","Value":"","StartPage":"","EndPage":"","TagType":"","TagName":"","Offset":"","Zoom":""}}
返回:{"ret":0,"rid":199,"data":{"Ret":""}}
Ret 成功:节点名称 失败:空
100) 插入节点
请求:{"req":"AIP_InsertNoteEx","rid":200,"para":{"Name":"","NoteType":"","TagType":"","TagName":"","Level":""}}
返回:{"ret":0,"rid":200,"data":{"Ret":""}}
Ret 成功:节点的名字 失败:空
101) 插入图片(用户必须登录)
请求:{"req":"AIP_InsertPicture","rid":201,"para":{"PicName":"","PicValue":"","Page":"","Left":"","Top":"","Zoom":""}}
返回:{"ret":0,"rid":201,"data":{"Ret":""}}
Ret 成功:节点的名字 失败:空
102) 判断打印机状态
请求:{"req":"AIP_IsConverting","rid":202,"para":{}}
返回:{"ret":0,"rid":2023,"data":{"Ret":""}}
Ret 成功:1正在打印 0未在打印 -1打印出错
103) 判定是否为空白文档
请求:{"req":"AIP_IsEmptyDoc","rid":203,"para":{}}
返回:{"ret":0,"rid":203,"data":{"Ret":""}}
Ret 成功:1空白文档 <>1非空白文档
104) 判断文件夹是否存在
Folder需先进行UrlEncode编辑
请求:{"req":"AIP_IsFolderExist","rid":204,"para":{"Folder":""}}
返回:{"ret":0,"rid":204,"data":{"Ret":""}}
Ret 成功:1存在 <>1不存在
105) 判断当前是否登录
请求:{"req":"AIP_IsLogin","rid":205,"para":{}}
返回:{"ret":0,"rid":205,"data":{"Ret":""}}
Ret 成功:<>0 0无用户登录
106) 判断当前是否打开文件
请求:{"req":"AIP_IsOpened","rid":206,"para":{}}
返回:{"ret":0,"rid":206,"data":{"Ret":""}}
Ret 成功:<>0 0当前没有打开文件
107) 查看文件、用户、节点进行保护限制的状态
请求:{"req":"AIP_IsProtect","rid":207,"para":{"Name":"","Source":"","Type":""}}
返回:{"ret":0,"rid":207,"data":{"Ret":""}}
Ret 成功:1受到保护 0未保护 -1发生错误
108) 文件是否被修改(从上一次保存到现在)
请求:{"req":"AIP_IsSaved","rid":208,"para":{}}
返回:{"ret":0,"rid":208,"data":{"Ret":""}}
Ret 成功:<>0文档没修改 0文档被修改
109) 获取是否存在登录用户
请求:{"req":"AIP_IsUserExist","rid":209,"para":{"UserID":"","ServerID":""}}
返回:{"ret":0,"rid":209,"data":{"Ret":""}}
Ret 成功:<>0存在此登录用户 0不存在匹配的登录用户信息
110) 打开文件
FileName需先进行UrlEncode编辑
请求:{"req":"AIP_LoadFile","rid":210,"para":{"FileName":""}}
返回:{"ret":0,"rid":210,"data":{"Ret":""}}
Ret 成功:1 失败:0
111) 加载Base64编码的字符串
请求:{"req":"AIP_LoadFileBase64","rid":211,"para":{"Base64String":""}}
返回:{"ret":0,"rid":211,"data":{"Ret":""}}
Ret 成功:<>0 失败:0
112) 打开AIP文件, 如果打开的不是 AIP 文件, 将进行自动转化
FileNameOrUrl需先进行UrlEncode编辑
请求:{"req":"AIP_LoadFileEx","rid":212,"para":{"FileNameOrUrl":"","AddOri":"","Normal":"","Type":""}}
返回:{"ret":0,"rid":212,"data":{"Ret":""}}
Ret 成功:1 失败:0
113) 异步打开文件
FileNameOrUrl需先进行UrlEncode编辑
请求:{"req":"AIP_LoadFileExAsync","rid":213,"para":{"FileNameOrUrl":"","AddOri":"","Normal":"","Type":""}}
返回:{"ret":0,"rid":213,"data":{"Ret":""}}
Ret 成功:1
114) 以原始文件打开方式打开或创建文件,不转化为aip文件
FileNameOrUrl需先进行UrlEncode编辑
请求:{"req":"AIP_LoadOriginalFile","rid":214,"para":{"FileNameOrUrl":"","Type":""}}
返回:{"ret":0,"rid":214,"data":{"Ret":""}}
Ret 成功:1 失败:0
115) 异步打开原始文件
FileNameOrUrl需先进行UrlEncode编辑
请求:{"req":"AIP_LoadOriginalFileAsync","rid":215"para":{"FileNameOrUrl":"","Type":""}}
返回:{"ret":0,"rid":215,"data":{"Ret":""}}
Ret 成功:1
116) 登录当前系统。只有登录用户才可以对AIP文件进行操作(批注|盖章… …)
请求:{"req":"AIP_Login","rid":216,"para":{"UserID":"","UserType":"","UserAccess":"","UserAccess":"","RemoteAddr":""}}
返回:{"ret":0,"rid":216,"data":{"Ret":""}}
Ret 成功:0 失败:<>0
117) 用于登录AIP网络版服务器
RemoteAddr需先进行UrlEncode编辑
请求:{"req":"AIP_LoginEx","rid":217,"para":{"LoginData":"","DataLen":"","RemoteAddr":""}}
返回:{"ret":0,"rid":217,"data":{"Ret":""}}
Ret 成功:0 失败:<>0
118) 用户退出
请求:{"req":"AIP_LoginEx","rid":218,"para":{}}
返回:{"ret":0,"rid":218,"data":{"Ret":""}}
Ret 成功:1 失败:0
119) 插入批示页。或者合并AIP文件(必须用户登录)
FileName需先进行UrlEncode编辑
请求:{"req":"AIP_MergeFile","rid":219,"para":{"PageStartIndex":"","FileName":""}}
返回:{"ret":0,"rid":219,"data":{"Ret":""}}
Ret 成功:1 失败:0
120) 支持多页合并为一个页面(AIP的版本必须大于3.0)
请求:{"req":"AIP_MergerPage","rid":220,"para":{"Column":"","Row":"","Flag":"","PageWidth":"","PageHeight":"","StartPage":"","EndPage":"","MarginVert":"","MarginHorz":"","SpanVert":"","SpanHorz":""}}
返回:{"ret":0,"rid":220,"data":{"Ret":""}}
Ret 成功:<>0 失败:0
121) 修改节点的名称
请求:{"req":"AIP_ModifyName","rid":221,"para":{"OldName":"","NewName":""}}
返回:{"ret":0,"rid":221,"data":{"Ret":""}}
Ret 成功:<>0 失败:0
122) 部分保护word文档内容
请求:{"req":"AIP_PartialProtect","rid":222,"para":{"PosList":"","Pwd":"","Para":""}}
返回:{"ret":0,"rid":222,"data":{"Ret":""}}
Ret 成功:0 失败:<>0
123) 打印当前文档
请求:{"req":"AIP_PrintDoc","rid":223,"para":{"PrintFlag":"","ShowDlg":""}}
返回:{"ret":0,"rid":223,"data":{"Ret":""}}
Ret 成功:<>0 失败:0
124) 打印文档,提供更详细的打印控制
请求:{"req":"AIP_PrintDocEx","rid":224,"para":{"PrinterName":"","PrintFlag":"","ShowDlg":"","Zoom":"","FromPage":"","ToPage":"","OriSize":"","Copys":"","Collate":"","TranFirst":"","Dulpex":""}}
返回:{"ret":0,"rid":224,"data":{"Ret":""}}
Ret 成功:<>0 失败:0
125) 保护或解除文档保护
请求:{"req":"AIP_ProtectDoc","rid":225,"para":{"Type":"","Pwd":"","Protect":""}}
返回:{"ret":0,"rid":225,"data":{"Ret":""}}
Ret 成功:<>0 失败:0
126) 对文件、用户、节点进行保护限制
请求:{"req":"AIP_ProtectObject","rid":226,"para":{"Name":"","Source":"","Type":"","Old":"","New":""}}
返回:{"ret":0,"rid":226,"data":{"Ret":""}}
Ret 成功:1 失败:0
127) 保护或者解除保护指定的sheet(excel)
请求:{"req":"AIP_ProtectSheet","rid":227,"para":{"SheetIndex":"","Pwd":"","Protect":""}}
返回:{"ret":0,"rid":227,"data":{"Ret":""}}
Ret 成功:1 失败:0
128) 解密文件
InFile、OutFile需先进行UrlEncode编辑
请求:{"req":"AIP_PwdDecFile","rid":228,"para":{"InFile":"","OutFile":"","Pwd":""}}
返回:{"ret":0,"rid":228,"data":{"Ret":""}}
Ret 成功:0 失败:<>0
129) 加密文件
InFile、OutFile需先进行UrlEncode编辑
请求:{"req":"AIP_PwdEncFile","rid":229,"para":{"InFile":"","OutFile":"","Pwd":"","Flag":"0"}}
返回:{"ret":0,"rid":229,"data":{"Ret":""}}
Ret 成功:加密密码 失败:空
130) 读取文件数据
FileName需先进行UrlEncode编辑
请求:{"req":"AIP_ReadLocalFile","rid":230,"para":{"FileName":"","Flag":"0"}}
返回:{"ret":0,"rid":230,"data":{"Ret":""}}
Ret 成功:文件数据 失败:空
131) 单步恢复操作
请求:{"req":"AIP_Redo","rid":231,"para":{}}
返回:{"ret":0,"rid":231,"data":{"Ret":""}}
132) 恢复所有撤销的操作
请求:{"req":"AIP_RedoAll","rid":232,"para":{}}
返回:{"ret":0,"rid":232,"data":{"Ret":""}}
133) 重置打印机
请求:{"req":"AIP_ResetPrinterByStr","rid":233,"para":{"PrintName":""}}
返回:{"ret":0,"rid":233,"data":{"Ret":""}}
Ret 成功:1 失败:<>1
134) 执行控件内部菜单
请求:{"req":"AIP_RunCommand","rid":234,"para":{"CmdType":"","CmdCode":"","RunMode":""}}
返回:{"ret":0,"rid":234,"data":{"Ret":""}}
Ret 成功:1 失败:<>1
135) 将对应的页保存为相应类型图片,以字符串方式返回
请求:{"req":"AIP_SaveAsBase64","rid":235,"para":{"SaveType":"","PageStart":"","PageEnd":"","PageWidth":"","PageHeight":"","ZoomPercent":"","Reserve":""}}
返回:{"ret":0,"rid":235,"data":{"Ret":""}}
Ret 成功:base64字符串
136) 将base64解开并存储到本地文件
FilePath需先进行UrlEncode编辑
请求:{"req":"AIP_SaveBinaryFileFromBase64","rid":236,"para":{"FilePath":"","Base64":""}}
返回:{"ret":0,"rid":236,"data":{"Ret":""}}
137) 文件另存
FileNameOrUrl需先进行UrlEncode编辑
请求:{"req":"AIP_SaveTo","rid":237,"para":{"FileNameOrUrl":"","SaveType":"","Closed":""}}
返回:{"ret":0,"rid":237,"data":{"Ret":""}}
Ret 成功:1 失败:0
138) 将AIP文件保存为TIFF格式
FileName需先进行UrlEncode编辑
请求:{"req":"AIP_SaveToTiff","rid":238,"para":{"FileName":"","DPIX":"","DPIY":"","Bpp":"","Gray":""}}
返回:{"ret":0,"rid":238,"data":{"Ret":""}}
Ret 成功:1 失败:0
139) 查找文字
请求:{"req":"AIP_SearchText","rid":239,"para":{"SearchText":"","MatchCase":"","FindNext":""}}
返回:{"ret":0,"rid":239,"data":{"Ret":""}}
140) 设置背景文件
FileNameOrUrl需先进行UrlEncode编辑
请求:{"req":"AIP_SetBackgroundDoc","rid":240,"para":{"FileNameOrUrl":"","Type":"","PageIndex":""}}
返回:{"ret":0,"rid":240,"data":{"Ret":""}}
Ret 成功:1 失败:<>1
141) 设置指定页面的位置到指定窗口位置
请求:{"req":"AIP_SetCurrPagePos","rid":241,"para":{"PagePosType":"","PagePos":""}}
返回:{"ret":0,"rid":241,"data":{"Ret":""}}
Ret 成功:1 失败:0
142) 设置当前系统时间
请求:{"req":"AIP_SetCurrTime","rid":242,"para":{"DateTime":""}}
返回:{"ret":0,"rid":242,"data":{"Ret":""}}
Ret 成功:1 失败:0
143) 设置当前用户的操作对特定用户的可见性
请求:{"req":"AIP_SetCurrUserVisibilityForUser","rid":243,"para":{"UserID":"","ServerID":"","Del":""}}
返回:{"ret":0,"rid":243,"data":{"Ret":""}}
Ret 成功:1 失败:0
144) 设置显示当前用户操作信息的密码(只有当前登录用户才可以设置)
请求:{"req":"AIP_SetCurrUserVisibilityPwd","rid":244,"para":{"Pwd":""}}
返回:{"ret":0,"rid":244,"data":{"Ret":""}}
Ret 成功:<>0 失败:0
145) 设置用户界面颜色
请求:{"req":"AIP_设置用户界面颜色","rid":245,"para":{"Type":"","Colour":""}}
返回:{"ret":0,"rid":245,"data":{"Ret":""}}
146) 设置书签的内容。只针对word和wps
请求:{"req":"AIP_SetFieldValue","rid":246,"para":{"FieldName":"","Value":"","SheetName":""}}
返回:{"ret":0,"rid":246,"data":{"Ret":""}}
Ret 成功:1 失败:0
147) 设置添加区域的位置
请求:{"req":"AIP_SetNotePos","rid":247,"para":{"NoteName":"","Left":"","Top":"","Width":"","Height":""}}
返回:{"ret":0,"rid":247,"data":{"Ret":""}}
Ret 成功:1 失败:0
148) 设置页面显示模式
请求:{"req":"AIP_SetPageMode","rid":248,"para":{"ZoomType":"","ZoomPercent":""}}
返回:{"ret":0,"rid":248,"data":{"Ret":""}}
149) 设置远程服务器的地址。主要是满足智能卡用户验证其证书或者签名的合法性。网络版本用户专用
请求:{"req":"AIP_SetRemoteAddr","rid":249,"para":{"Addr":""}}
返回:{"ret":0,"rid":249,"data":{"Ret":""}}
150) 设置指定节点或页面的旋转类型
请求:{"req":"AIP_SetRotateType","rid":250,"para":{"Name":"","RotateType":""}}
返回:{"ret":0,"rid":250,"data":{"Ret":""}}
Ret 成功:0 失败:<>0
151) 设置文档是否被修改
请求:{"req":"AIP_SetSaved","rid":251,"para":{"Saved":""}}
返回:{"ret":0,"rid":251,"data":{"Ret":""}}
Ret 成功:0
152) 设置指定类型的用户信息
请求:{"req":"AIP_SetUserInfoEx","rid":252,"para":{"UserID":"","ServerID":"","Type":"","Value":""}}
返回:{"ret":0,"rid":252,"data":{"Ret":""}}
Ret 成功:1 失败:0
153) 设置特定用户的节点信息是否显示
请求:{"req":"AIP_SetUserVisible","rid":253,"para":{"UserID":"","ServerID":"","NewValue":""}}
返回:{"ret":0,"rid":253,"data":{"Ret":""}}
Ret 成功:1 失败:0
154) 设置参数对应的内容
请求:{"req":"AIP_SetValue","rid":254,"para":{"Name":"","Value":""}}
返回:{"ret":0,"rid":254,"data":{"Ret":""}}
Ret 成功:1 失败:<=0
155) 设置参数对应的内容
请求:{"req":"AIP_SetValueEx","rid":255,"para":{"Name":"","Type":"","ParaN":"","ParaS":""}}
返回:{"ret":0,"rid":255,"data":{"Ret":""}}
Ret 成功:1 失败:<=0
156) 显示或隐藏所有用户的节点信息
请求:{"req":"AIP_ShowAllNotes","rid":256,"para":{"Show":"0"}}
返回:{"ret":0,"rid":256,"data":{"Ret":""}}
Ret 成功:1 失败:<=0
157) 显示文件选择框
请求:{"req":"AIP_ShowDialog","rid":257,"para":{"Title":"","InitValue":"","Filter":"","DialogType":""}}
返回:{"ret":0,"rid":257,"data":{"Ret":""}}
Ret 成功:文件路径或目录路径 失败:空
158) 显示文件属性
请求:{"req":"AIP_ShowFileInfo","rid":258,"para":{}}
返回:{"ret":0,"rid":258,"data":{"Ret":""}}
159) 显示文件安全设置对话框
请求:{"req":"AIP_ShowFileSecurity","rid":259,"para":{}}
返回:{"ret":0,"rid":259,"data":{"Ret":""}}
160) 显示消息提示对话框
请求:{"req":"AIP_ShowMessage","rid":260,"para":{"Message":"","Message":"","Message":""}}
返回:{"ret":0,"rid":260,"data":{"Ret":""}}
Ret 请参见MSDN或windowsAPI MessageBox
161) 对指定字符串数据签名(GBK编码)
请求:{"req":"AIP_SignDatay","rid":261,"para":{"Data":"","Pin":""}}
返回:{"ret":0,"rid":261,"data":{"Ret":""}}
Ret 成功:签名后内容 失败:空
162) 控件进入等待状态
请求:{"req":"AIP_SleepSecond","rid":262,"para":{"SleepSecond":""}}
返回:{"ret":0,"rid":262,"data":{"Ret":""}}
Ret 成功:返回等待时间(秒)
163) 将当前文档的指定页保存(暂时仅支持保存为PDF)
SavePath需先进行UrlEncode编辑
请求:{"req":"AIP_SplitPages","rid":263,"para":{"Pages":"","SavePath":"","SaveType":""}}
返回:{"ret":0,"rid":263,"data":{"Ret":""}}
Ret 成功:0 失败:<>0
164) 开始下载文件。下载状态会通过AIP_NotifyAfterAction事件通知
FileName、Url需先进行UrlEncode编辑
请求:{"req":"AIP_StartDownloadFile","rid":264,"para":{"Url":"","FileName":"","Waiting":""}}
返回:{"ret":0,"rid":264,"data":{"Ret":""}}
Ret 成功:0 失败:<>0
165) 停止当前的异步下载线程
请求:{"req":"AIP_StopDownloadFile","rid":265,"para":{}}
返回:{"ret":0,"rid":265,"data":{"Ret":""}}
Ret 成功:0 失败:<>0
166) 单步撤销操作
请求:{"req":"AIP_Undo","rid":266,"para":{}}
返回:{"ret":0,"rid":266,"data":{"Ret":""}}
167) 撤销本次所有操作
请求:{"req":"AIP_UndoAll","rid":267,"para":{}}
返回:{"ret":0,"rid":267,"data":{"Ret":""}}
168) 解压缩
File、Dir需先进行UrlEncode编辑
请求:{"req":"AIP_UnzipFile","rid":268,"para":{"File":"","Dir":"","Pwd":""}}
返回:{"ret":0,"rid":268,"data":{"Ret":""}}
Ret 成功:0 失败:<>0
169) 校验针对指定字符串数据的签名(GBK编码)
请求:{"req":"AIP_VerifyData","rid":269,"para":{"Data":"","SignData":"","Cert":""}}
返回:{"ret":0,"rid":269,"data":{"Ret":""}}
Ret 成功:0 失败:<>0
170) 校验文档中的节点
请求:{"req":"AIP_VerifyNotes","rid":270,"para":{"NoteName":"","ParaS":"","ParaN":""}}
返回:{"ret":0,"rid":270,"data":{"Ret":""}}
Ret 成功: lParam=0:"O-信息" 失败:"X-信息" lParam=0 成功:0 失败:<>0
171) 将数据写入文件
FileName需先进行UrlEncode编辑
请求:{"req":"AIP_WriteLocalFile","rid":271,"para":{"FileName":"","FileData":"","Flag":""}}
返回:{"ret":0,"rid":271,"data":{"Ret":""}}
Ret 成功:0 失败:<>0
172) 播放Flash
FileName需先进行UrlEncode编辑
请求:{"req":"AIP_PlayFlash","rid":272,"para":{"FileName":"","LoopPlay":""}}
返回:{"ret":0,"rid":272,"data":{"Ret":""}}
5、AIP电子签章网页内嵌小程序接收的通知:
这些通知必须通过WebSocket连接到此小程序侦听的端口才能接收到。
A、ActiveX事件:
1) 点击时触发
{"event":"AIP_NotifyClick","data":{"Name":\"\"}} Name点击名称
2) 执行ActionType操作前触发
{"event":"AIP_JSNotifyBeforeAction","data":{"Name":"","Value":"","ActionType":"0","Type":""}}
3) 点击菜单按钮时触发
{"event":"AIP_JSNotifyMenuMsg","data":{"Cmd":""}} Cmd为请求命令
4) 执行ActionType操作后触发
{"event":"AIP_NotifyAfterAction","data":{"Name":"","Value":"","ActionType":"0","Type":""}}
5) 在异步调用完成时,触发本消息
{"event":"AIP_NotifyAsyncCall","data":{"CallID":"","Value":"","RetN":"0","Ret":""}}
6) 执行ActionType操作前触发
{"event":"AIP_NotifyBeforeAction","data":{"Name":"","Value":"","ActionType":"0","Type":""}}
6) 改变当前用户时触发
{"event":"AIP_NotifyChangeCurrUser","data":{}}
7) 改变当前用户颜色时触发
{"event":"AIP_NotifyChangePage","data":{}}
8) 改变当前页面时触发
{"event":"AIP_NotifyChangePenColor","data":{}}
9) 改变当前用户笔的宽度时触发
{"event":"AIP_NotifyChangePenWidth","data":{}}
10) 在页面缩放、预览、阅读模式改变时触发
{"event":"AIP_NotifyChangeStatus","data":{"StatusType":"1"}}
11) 值改变时触发
{"event":"AIP_NotifyChangeValue","data":{"Name":"","Value":""}}
12) AIP文档关闭完成时触发
{"event":"AIP_NotifyCloseDoc","data":{}}
13) AIP引擎初始化完毕之后触发
{"event":"AIP_NotifyCtrlReady","data":{}}
14) AIP文档打开完成的时候触发
{"event":"AIP_NotifyDocOpened","data":{"OpenResult":""}}
15) 捕获部分Word/Excel/Wps事件
{"event":"AIP_NotifyDocumentEvent","data":{"Name":""}}
16) AIP全屏幕显示状态改变时候触发
{"event":"AIP_NotifyFullScreen","data":{}}
17) 鼠标在文档上按住左键,移动鼠标,此时会在页面上画出一个矩形的线框,松开鼠标左键,此时会触发NotifyLineAction事件
{"event":"AIP_NotifyLineAction","data":{"Page":"","StartPos":"","EndPos":""}}
18) 点击菜单按钮时触发
{"event":"AIP_NotifyMenuMsg","data":{"Cmd":""}}
19) AIP修改状态发生改变时触发
{"event":"AIP_NotifyModifyStatus","data":{}}
20) 节点位置改变时触发
{"event":"AIP_NotifyPosChange","data":{"NoteName":""}}
21) 在通过AIP_SetValue设置("SET_PENMESSAGE_OUTPUTMODE", "1")激活后,手写输入在可写区域以外时触发本消息。
{"event":"AIP_NotifyPressPen","data":{"ScreenX":"","ScreenY":"","Press":""}}
22) 指定名称重置时触发
{"event":"AIP_NotifyReset","data":{"Name":""}}
23) 用户选择节点时触发
{"event":"AIP_NotifySelect","data":{"Name":"","NoteType":""}}
24) 提交时触发
{"event":"AIP_NotifySumbit","data":{"Name":""}}
B、PluginOK支持的事件通知:
1) AIP_FullScreen 小程序是否响应了热键全屏
{"event":""AIP_FullScreen","data":{"FullScreen":0}} FullScreen为当前是否全屏标记
2) Wrl_AppletExit 小程序退出通知
{"event":"Wrl_AppletExit","data":{"ID":1}}
6、其它
请求参数的JSON数据包,请确保是UTF-8无签名的编码。
PluginOK标准版接口请求说明,请参考安装目录中的文档TestWrl.txt和SDK包中的“PluginOK开发者手册.doc”。
如还有疑问,请加QQ群:23126938 联系客服 或微信客服:18051018685