|
版本: |
X5.2.7 |
小版本号: |
|
|
|
数据库: |
|
服务器操作系统: |
|
应用服务器: |
|
客户端操作系统: |
|
浏览器: |
|
|
|
本帖最后由 云随风舞 于 2014-6-30 17:42 编辑
帖子上看到的方法:
if (!justep.Browser.isInApp && '.doc.docx.xls.xlsx.ppt.mpp.vsd.'.indexOf(String(/\.[^\.]+$/.exec(fileName))+ '.') >= 0){
$OV('docFrame').CreateOfficeViewer('100%','100%');
$OV("docFrame").HttpInit();
$OV("docFrame").HttpAddpostString("FileID",fileID);
$OV("docFrame").HttpAddpostString("FileExt",type);
$OV("docFrame").HttpAddpostString("VersionID","last");
$OV("docFrame").HttpAddpostString("PartType","content");
// alert(justep.Doc.getHost(docpath, fileID));
$OV("docFrame").HttpOpenFileFromStream(getHost(docpath, fileID));
$OV("docFrame").Toolbars = false;
}
但是里面好多参数不明白。比如:docFrame ,fileName,docFrame,fileID.......在API 中也没有相关的参数说明,谁能帮我解释一下。谢谢啊
|
|