📄 editoffice.aspx
字号:
<%@ page language="C#" autoeventwireup="true" inherits="user_EditOffice, space_deploy" %>
<%@ Register Src="UserInfo.ascx" TagName="UserInfo" TagPrefix="uc1" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>无标题页</title>
<link href="../webimages/css.css" rel="stylesheet" type="text/css" />
<script>
function test(url)
{
openDocObj = new ActiveXObject("SharePoint.OpenDocuments.1");
openDocObj.EditDocument(url);
}
</script>
</head>
<body>
<form id="form1" runat="server">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="220" valign="top"><uc1:UserInfo ID="UserInfo1" runat="server" />
</td>
<td valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="82" height="33" align="center" background="../webimages/menu_home.jpg" class="title_down">在线编辑</td>
<td align="right" background="../webimages/menu_bg_line.jpg"> </td>
<td width="10"><img src="../webimages/menu_right.jpg" width="10" height="33" /></td>
</tr>
</table>
<table width="100%" border="0" cellpadding="0" cellspacing="0" class="user_right">
<tr>
<td><table width="95%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td height="50"><img src="../webimages/ico/files.gif" width="18" height="18" /> <span class="file_name">
编辑
<asp:Label ID="Label1" runat="server" Text="Label"></asp:Label>文件</span> <img src="../webimages/ico/link_back.gif" width="48" height="18" onclick="javascript:history.go(-1);" /></td>
</tr>
</table></td>
</tr>
<tr>
<td><table width="95%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td><p>
您在试图编辑一个<asp:Label ID="Label2" runat="server" Text="Label" ForeColor="Red"></asp:Label>文件,请确认本机已安装好<asp:Label
ID="Label3" runat="server" Text="Label" ForeColor="Red"></asp:Label>
XP以上版本的程序,点击下面的“在线编辑”按钮即可打开编辑,编辑完成后请在<asp:Label ID="Label4" runat="server" ForeColor="Red"
Text="Label"></asp:Label>里点击“保存”按钮。</p>
</td>
</tr>
</table></td>
</tr>
<tr>
<td height="50" align="center"><a href="javascript:test('<%=FileUrl %>');">在线编辑</a></td>
</tr>
</table></td>
</tr>
</table>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -