<%@ page language="C#" autoeventwireup="true" inherits="msDoc_editMsDoc, App_Web_cgc-ekss" %>

<HTML>
	<HEAD>
		<title>文件编辑</title>
      <script src="../msDoc/ntko.js" type="text/javascript"></script>
   
		<style type="text/css"> BUTTON.op { BORDER-RIGHT: #eeeeee 1px solid; BORDER-TOP: #eeeeee 1px solid; BORDER-LEFT: #eeeeee 1px solid; WIDTH: 120px; CURSOR: hand; BORDER-BOTTOM: #eeeeee 1px solid; BACKGROUND-COLOR:#99cc99 }
		</style>
	
	  
      
         <style type="text/css">
        #Button1
        {
            width: 86px;
        }
        #Submit1
        {
            width: 78px;
        }
    </style> 
	</HEAD>
	<body onload="init();openDocumentFromUrl('<%= URL %>');">
		<center>
			<form id="myForm"   encType="multipart/form-data">
				<table height="100%" cellSpacing="0" cellPadding="0" width="100%" border="0">
					<TR width="100%">
						<TD vAlign="top" width="95" background="images\img_ccs\BlueGradV.gif" style="WIDTH: 95px">
							<TABLE id="Table1" cellSpacing="0" cellPadding="0" width="100%" border="0">
							
								<TR>
									<TD><INPUT id="fid"  style="WIDTH: 95px; HEIGHT: 22px" type=hidden  value="<% = filename %>" name="fid"></TD>           
								</TR>
								<TR>
									<TD><INPUT id="fileUrl"  style="WIDTH: 95px; HEIGHT: 22px" type=hidden  value="<% = URL %>" name="fileUrl"></TD>           
								</TR>
								<TR>
									<TD><INPUT id="tblName"  style="WIDTH: 95px; HEIGHT: 22px" type=hidden  value="<% = tblName %>" name="tblName"></TD>           
								</TR>
								<TR>
									<TD style="HEIGHT: 46px" align="center"><FONT face="宋体"><IMG src="../images/write3.gif"></FONT></TD>
								</TR>
								<TR>
									<TD><BUTTON class="op" style="WIDTH: 95px; HEIGHT: 22px"   id="btSaveFile" onclick="submitForm();" >保存文档</BUTTON></TD>
											
								</TR>
								<%--<TR>onclick="saveFileToUrl();"
									<TD><BUTTON class="op" style="WIDTH: 95px; HEIGHT: 22px" onclick="DoHandSign()" type="button">签名批注</BUTTON></TD>
								</TR>
								<TR>
									<TD><BUTTON class="op" style="WIDTH: 95px; HEIGHT: 22px" onclick="AddSignFromLocal()" type="button">本地印章</BUTTON></TD>
								</TR>--%>
								<%--<TR>
									<TD><BUTTON class="op" style="WIDTH: 95px; HEIGHT: 22px"onclick="AddSignFromURL('<% = gNamePath %>')" type="button">电子签名</BUTTON></TD>
											
								</TR>--%>
								<TR>
									<TD><BUTTON class="op" style="WIDTH: 95px; HEIGHT: 22px" onclick="TANGER_OCX_ShowRevisions(false,'<%= uname %>');" type="button">隐藏痕迹</BUTTON></TD>
											
								</TR>
								<TR>
									<TD><BUTTON class="op" style="WIDTH: 95px; HEIGHT: 22px" onclick="TANGER_OCX_ShowRevisions(true,'<%= uname %>');" type="button">显示痕迹</BUTTON></TD>
											
								</TR>
								<TR>
									<TD><BUTTON class="op" style="WIDTH: 95px; HEIGHT: 22px" onclick="DoHandSign('<%= uname %>')" type="button">全屏批注</BUTTON></TD>
								</TR>
								
								<TR>
									<TD style="HEIGHT: 22px"><BUTTON class="op" style="WIDTH: 95px; HEIGHT: 22px" onclick="AddPictureFromLocal()" type="button">添加图片</BUTTON></TD>
								</TR>
								<TR>
									<TD style="HEIGHT: 22px"><BUTTON class="op" style="WIDTH: 95px; HEIGHT: 22px" onclick="DoHandDraw('<%= uname %>')" type="button">手工绘图</BUTTON></TD>
								</TR>
								<TR>
									<TD style="HEIGHT: 22px"><FONT face="宋体"></FONT></TD>
								</TR>
							</TABLE>
						</TD>
						<TD width="100%">
							<object id="TANGER_OCX" classid="clsid:C9BC4DFF-4248-4a3c-8A49-63A7D317F404" codebase="../OfficeControl.cab#version=5,0,1,1" width="100%" height="100%">
							<param name="IsUseUtf8url"  value="-1" />
								<param name="_ExtentX" VALUE="18150" />
								<param name="_ExtentY" VALUE="14605">
								<param name="BorderColor" VALUE="14402205">
								<param name="BackColor" VALUE="-2147483643">
								<param name="ForeColor" VALUE="-2147483640">
								<param name="TitlebarColor" VALUE="14402205">
								<param name="TitlebarTextColor" VALUE="0">
								<param name="BorderStyle" VALUE="1">
								<param name="Titlebar" VALUE="0">
								<param name="Toolbars" VALUE="1">
								<param name="Caption" VALUE="文档编辑">
								<param name="ProductCaption" value="江苏维通科技有限公司">
                               <param name="ProductKey" value="F6AAFE9E7E5B77F2080F88260EBBD41856E07BEE">
								<PARAM NAME="IsShowToolMenu" VALUE="1">
								<PARAM NAME="IsNoCopy" VALUE='<% = misNoCopy %>'>
								<PARAM NAME="IsHiddenOpenURL" VALUE="0">
								<PARAM NAME="MaxUploadSize" VALUE="0">
								<PARAM NAME="Menubar" VALUE="0">
								<PARAM NAME="Statusbar" VALUE="1">
								<PARAM NAME="FileNew" VALUE="-1">
								<PARAM NAME="FileOpen" VALUE="-1">
								<PARAM NAME="FileClose" VALUE="-1">
								<param name="FileSave" VALUE='<% = misSave %>'/>
								<param name="FileSaveAs" VALUE='<% = misSave %>'/>
								<param name="FilePrint" VALUE='<% = misPrint %>'/>
								<param name="FilePrintPreview" VALUE='<% = misPrint %>'/>
								<PARAM NAME="FilePageSetup" VALUE="-1">
								<PARAM NAME="FileProperties" VALUE="0">
								<PARAM NAME="IsStrictNoCopy" VALUE="0">
								
								<PARAM NAME="IsUseUTF8URL" VALUE="-1">
								<PARAM NAME="IsUseUTF8Data" VALUE="-1">
								<PARAM NAME="MenubarColor" VALUE="-2147483643">
								<PARAM NAME="IsUseControlAgent" VALUE="0">
								
								<PARAM NAME="IsSaveDocExtention" VALUE="0">
								<PARAM NAME="IsDirectConnect" VALUE="0">
								<PARAM NAME="SignCursorType" VALUE="0">
								<PARAM NAME="IsResetToolbarsOnOpen" VALUE="0">
								<PARAM NAME="IsSaveDataIfHasVDS" VALUE="0">
								<SPAN STYLE="color:red">不能装载文档控件。请在浏览器的选项中检查浏览器的安全设置。</SPAN>
							</OBJECT>
						
						</TD>
					</TR>
				</table>
			</form>
		</center>
	<SCRIPT language="javascript">
        function click() {if (event.button==2) {alert('禁止查看源码！');}}document.onmousedown=click
		</SCRIPT>
	</body>
</HTML>
