我用点聚的weboffice 打开excel 始终不能编辑 鼠标进入不了文档 中 求各位大侠指点一二?
我的代码var tempFilePath = GetWordFilePath();
var fileName = tempFilePath + "\\" + title + "." + fileType;
var webObj = document.all.WebOffice1;
// 下载文件
try {
var downloadResult = webObj.DownLoadFile(url, fileName, title, fileType);
if (downloadResult != 0) {
alert("文件下载失败,请重新操作!");
return;
}
} catch (e) {
alert("下载服务器文件失败,请重新操作!");
return;
}
// 加载文件
try {
var openResult = webObj.LoadOriginalFile(fileName, fileType);
// 打开文件失败
if (openResult == 0) {
alert("打开文件失败,请重新打开!");
return;
}