DocTemplate/DocumentEdit.aspx

(开头部分) 13KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

<%@ Page language="c#" Codebehind="DocumentEdit.aspx.cs" AutoEventWireup="True" Inherits="OI.DocTemplate.DocumentEdit" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
	<HEAD>
		<LINK href="../css/test.css" type="text/css" rel="stylesheet">
<script language=javascript>
function StatusMsg(mString){
  StatusBar.innerText=mString;
}

function Load(){
  try{
  webform.WebOffice.WebUrl="<%=mServerUrl%>";
  webform.WebOffice.RecordID="<%=mRecordID%>";
  webform.WebOffice.Template="<%=mTemplate%>";
  webform.WebOffice.FileName="<%=mFileName%>";
  webform.WebOffice.FileType="<%=mFileType%>";
  webform.WebOffice.EditType="<%=mEditType%>";
  webform.WebOffice.UserName="<%=mUserName%>";
  webform.WebOffice.WebOpen();  	//打开该文档
  StatusMsg(webform.WebOffice.Status);
  }catch(e){}
}

function UnLoad(){
  try{
  if (!webform.WebOffice.WebClose()){
     StatusMsg(webform.WebOffice.Status);
  }else{
     StatusMsg("关闭文档...");
  }
  }catch(e){}
}

function ShowRevision(mObject){
  var mFlag=mObject.value;
  if (mFlag=="显示痕迹"){
     mObject.value="隐藏痕迹";
     webform.WebOffice.WebShow(true);
     StatusMsg("显示痕迹...");
  }else{
     mObject.value="显示痕迹";
     webform.WebOffice.WebShow(false);
     StatusMsg("隐藏痕迹...");
  }
}

function LoadDocument(){
  StatusMsg("正在打开文档...");
  if (!webform.WebOffice.WebOpen()){
     StatusMsg(webform.WebOffice.Status);
  }else{
     StatusMsg(webform.WebOffice.Status);
  }
}

function SaveDocument(){
  if (webform.EditType.value=="0"){
     alert("你在查看状态,不能保存!");
     return false;
后面还有 326 行代码,解锁后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。