ExcelEditArea.htm 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270
  1. <!DOCTYPE HTML>
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <title>雨云Excel</title>
  5. <link href="http://www.1473.cn/uform.css" rel="stylesheet" type="text/css" />
  6. <link href="http://coffice.1473.cn/css/Office/Excel/ExcelEditor.css" rel="stylesheet"
  7. type="text/css" />
  8. <link href="http://coffice.1473.cn/css/Office/Excel/Excel.css" rel="stylesheet" type="text/css" />
  9. <script src="http://www.1473.cn/uform.js" type="text/javascript" charset="utf-8"></script>
  10. <script src="http://www.1473.cn/js/Common/Common.js" type="text/javascript"></script>
  11. <script src="http://coffice.1473.cn/js/Office/Excel/Excel.js" type="text/javascript"></script>
  12. <script src="http://coffice.1473.cn/js/Office/Excel/ExcelBasic.js" type="text/javascript"></script>
  13. <script src="http://coffice.1473.cn/js/Office/Excel/ExcelRightClick.js" type="text/javascript"></script>
  14. <script src="http://coffice.1473.cn/js/Office/Excel/ExcelPanel.js" type="text/javascript"></script>
  15. <script src="http://coffice.1473.cn/js/Office/Excel/ExcelReceiver.js" type="text/javascript"></script>
  16. <script src="http://coffice.1473.cn/js/Office/Excel/ExcelTool.js" type="text/javascript"></script>
  17. <script src="http://coffice.1473.cn/js/Office/Excel/ExcelKeyEvent.js" type="text/javascript"></script>
  18. <script src="http://www.1473.cn/js/Uform/Editor.js" type="text/javascript"></script>
  19. <script src="http://www.1473.cn/js/Controls/Complex/Editor.js" type="text/javascript"></script>
  20. </head>
  21. <body class="Scrollbar">
  22. <!-- 导航条,工具栏 -->
  23. <!--- 工具栏 --->
  24. <div id="tools" style="position: fixed; width: 100%; background: #f7f8f9; border-bottom: 1px solid silver;
  25. z-index: 999;">
  26. <div class="U_MD_O_E_Editor_head_features">
  27. <button class="U_MD_O_E_Editor_head_features_ul_d" title="新建" style="margin-left: 10px;width:65px"
  28. onclick="U.MD.O.E.newExcel(US.userInfo)">
  29. <div class="U_MD_O_E_Editor_head_features_ul_i" style="background-position: 5px -3px;">
  30. </div>
  31. <span style="font-size: 12px;">新建 </span>
  32. </button>
  33. <button class="U_MD_O_E_Editor_head_features_ul_d" title="保存" style="width:65px" onclick="U.MD.O.E.Save(top.US.disk.Disks[US.userInfo.userid])">
  34. <div class="U_MD_O_E_Editor_head_features_ul_i" style="background-position: -24px -3px;">
  35. </div>
  36. <span style="font-size: 12px;">保存 </span>
  37. </button>
  38. <div class="U_MD_O_E_Editor_head_features_ul_x">
  39. </div>
  40. <button class="U_MD_O_E_Editor_head_features_ul_d" style="position: relative" title="插入图片">
  41. <div class="U_MD_O_E_Editor_head_features_ul_i" style="background-position: -53px -3px;">
  42. </div>
  43. <input id="U_MD_O_E_Editor_head_features_ul_img" type="file" onchange="U.MD.O.E.upload(this)" style="position: absolute; top: 0;
  44. left: 0; width: 100%; height: 100%; opacity: 0;" />
  45. </button>
  46. <!--onclick="U.Dk.VW.CCWPXZK(US.EMPTYGUID, { onmousedown: U.D.Office.WI(this).U.MD.O.W.T.AImgCL, isClose:'true', onclick: function(){
  47. U.D.Office.WI(this).U.MD.O.W.T.OUALJ(null, 'img');
  48. } }, 'P');"-->
  49. <button class="U_MD_O_E_Editor_head_features_ul_d" title="从云盘选图片插入" onclick="U.MD.O.E.NDimg()">
  50. <div class="U_MD_O_E_Editor_head_features_ul_i" style="background-position: -84px -3px;">
  51. </div>
  52. </button>
  53. <div class="U_MD_O_E_Editor_head_features_ul_d" style="line-height:23px;display: inline-block; width: 90px;
  54. border: 0; margin-top: 6px; background: none" datafont="family">
  55. </div>
  56. <div class="U_MD_O_E_Editor_head_features_ul_d" style="line-height:23px;display: inline-block; width: 60px;
  57. border: 0; margin-top: 6px; background: none" datafont="size">
  58. </div>
  59. <div class="U_MD_O_E_Editor_head_features_ul_x">
  60. </div>
  61. <div style="float: left" partition="4">
  62. <button class="U_MD_O_E_Editor_head_features_ul_d " title="所有边框" id="bd_Pick"onclick="U.MD.O.E.TL.borderPickerShow(this)">
  63. <span class="U_MD_O_E_Editor_head_features_ul_ibtmore" style="background-position: 5px 1px;
  64. width: 24px; height: 18px"></span>
  65. </button>
  66. <!--<button class="U_MD_O_E_Editor_head_features_ul_d " title="所有边框" onmousedown="U.MD.O.E.TL.setBorderStyle({ 'border': '1px solid #f00' });">
  67. <span class="U_MD_O_E_Editor_head_features_ul_ibt" style="background-position: 9px 1px;
  68. width: 30px; height: 18px"></span>
  69. </button>-->
  70. <button class="U_MD_O_E_Editor_head_features_ul_d" style="width: 30px; position: relative;"
  71. title="背景色" onclick="U.MD.O.E.TL.colorPicker(this, event)">
  72. <div class="U_MD_O_E_Editor_head_features_ul_i" style="background-position: -242px -3px;"
  73. changecolor="bg">
  74. </div>
  75. </button>
  76. <button class="U_MD_O_E_Editor_head_features_ul_d" style="position: relative;"
  77. title="字体色" onclick="U.MD.O.E.TL.colorPicker(this, event)">
  78. <div class="U_MD_O_E_Editor_head_features_ul_i" style="background-position: -269px -3px;
  79. width: 24px; height: 18px; float: none; margin: 0;">
  80. </div>
  81. <div style="height: 4px; background: #000;" changecolor="font">
  82. </div>
  83. </button>
  84. <button class="U_MD_O_E_Editor_head_features_ul_d" title="添加链接" onmousedown="U.UF.E.excelAddHref();">
  85. <span class="U_MD_O_E_Editor_head_features_ul_i" style="background-position: -290px -3px;
  86. height: 18px; "></span>
  87. </button>
  88. <button class="U_MD_O_E_Editor_head_features_ul_d " title="加粗" onmousedown="U.MD.O.E.TL.setStyle({ 'fontWeight': 'bold' });">
  89. <span class="U_MD_O_E_Editor_head_features_ul_i" style="background-position: -315px -3px;
  90. height: 18px"></span>
  91. </button>
  92. <button class="U_MD_O_E_Editor_head_features_ul_d" title="斜体" onmousedown="U.MD.O.E.TL.setStyle({ 'fontStyle': 'italic' });">
  93. <span class="U_MD_O_E_Editor_head_features_ul_i" style="background-position: -334px -3px;
  94. height: 18px"></span>
  95. </button>
  96. <button class="U_MD_O_E_Editor_head_features_ul_d" title="下划线" onmousedown="U.MD.O.E.TL.setStyle({ 'textDecoration': 'underline' });">
  97. <span class="U_MD_O_E_Editor_head_features_ul_i" style="background-position: -358px -3px;
  98. height: 18px"></span>
  99. </button>
  100. <button class="U_MD_O_E_Editor_head_features_ul_d" title="删除线" onmousedown="U.MD.O.E.TL.setStyle({ 'textDecoration': 'line-through' });">
  101. <span class="U_MD_O_E_Editor_head_features_ul_i" style="background-position: -389px -3px;
  102. height: 18px"></span>
  103. </button>
  104. <div class="U_MD_O_E_Editor_head_features_ul_x">
  105. </div>
  106. </div>
  107. <div style="float: left" partition="3">
  108. <button class="U_MD_O_E_Editor_head_features_ul_d" title="清除样式" onmousedown="U.MD.O.E.TL.clearStyle();">
  109. <span class="U_MD_O_E_Editor_head_features_ul_i" style="background-position: -424px -3px">
  110. </span>
  111. </button>
  112. <div class="U_MD_O_E_Editor_head_features_ul_x">
  113. </div>
  114. </div>
  115. <div style="float: left" partition="2">
  116. <button class="U_MD_O_E_Editor_head_features_ul_d" title="左对齐" onmousedown="U.MD.O.E.TL.setStyle({'textAlign': 'left' })">
  117. <span class="U_MD_O_E_Editor_head_features_ul_i" style="background-position: -466px -3px;">
  118. </span>
  119. </button>
  120. <button class="U_MD_O_E_Editor_head_features_ul_d" title="居中" onmousedown="U.MD.O.E.TL.setStyle({'textAlign': 'center' })">
  121. <span class="U_MD_O_E_Editor_head_features_ul_i" style="background-position: -497px -3px;">
  122. </span>
  123. </button>
  124. <button class="U_MD_O_E_Editor_head_features_ul_d" title="右对齐" onmousedown="U.MD.O.E.TL.setStyle({'textAlign': 'right' })">
  125. <span class="U_MD_O_E_Editor_head_features_ul_i" style="background-position: -529px -3px;">
  126. </span>
  127. </button>
  128. <button class="U_MD_O_E_Editor_head_features_ul_d" title="上对齐" onmousedown="U.MD.O.E.TL.setTextStyle({'display':'table-cell','verticalAlign': 'top','wordBreak': 'break-all'})">
  129. <span class="U_MD_O_E_Editor_head_features_ul_i" style="background-position: -564px -3px;">
  130. </span>
  131. </button>
  132. <button class="U_MD_O_E_Editor_head_features_ul_d"title="居中对齐" onmousedown="U.MD.O.E.TL.setTextStyle({'display':'table-cell','verticalAlign': 'middle','wordBreak': 'break-all'})">
  133. <span class="U_MD_O_E_Editor_head_features_ul_i" style="background-position: -597px -3px;">
  134. </span>
  135. </button>
  136. <button class="U_MD_O_E_Editor_head_features_ul_d" title="下对齐" onmousedown="U.MD.O.E.TL.setTextStyle({'display':'table-cell','verticalAlign': 'bottom','wordBreak': 'break-all'})">
  137. <span class="U_MD_O_E_Editor_head_features_ul_i" style="background-position: -630px -3px;">
  138. </span>
  139. </button>
  140. <div class="U_MD_O_E_Editor_head_features_ul_x">
  141. </div>
  142. </div>
  143. <div style="float: left" partition="1">
  144. <button class="U_MD_O_E_Editor_head_features_ul_d" title="生成链接" onclick="$('#U_MD_O_E_body_left_href_pay_a')[0].click()" style="width:30px">
  145. <span class="U_MD_O_E_Editor_head_features_ul_i1" style="background-position: 5px 0;">
  146. </span>
  147. </button>
  148. </div>
  149. <button class="U_MD_O_E_Editor_head_features_ul_d" id="moreButton" title="更多功能" onclick="U.MD.O.E.TL.hideChange($('.U_MD_O_H_head_mo')[0])">
  150. <span class="U_MD_O_E_Editor_head_features_ul_i" style="background-position: -664px -3px;">
  151. </span>
  152. </button>
  153. <div moreplace class="U_MD_O_H_head_mo" style="right: 0px; display: none;">
  154. </div>
  155. </div>
  156. </div>
  157. <!-- 底部 -->
  158. <div class="U_MD_O_E_C_X">
  159. <div class="U_MD_O_E_C_XI">
  160. <div class="U_MD_O_E_EXRL U_Img U_MD_O_E_C_XIO" title="添加表格" onclick="U.MD.O.E.NewTZB()">
  161. </div>
  162. <div class="U_MD_O_E_EXRJ U_Img U_MD_O_E_C_XIO" title="查看类表" onclick="U.UF.EV.stopBubble();U.MD.O.E.RWRD(this)">
  163. <div id="U_MD_O_E_ED" class="U_MD_O_E_C_M U_MD_O_E_C_RWRD">
  164. </div>
  165. </div>
  166. </div>
  167. <div id="U_MD_O_E_EXR" class="U_MD_O_E_EXR">
  168. </div>
  169. </div>
  170. <!-- <div class="U_MD_O_E_C_CH" id="U_MD_O_E_C_CH" style="float: left; position:fixed;">
  171. <div id="U_MD_O_E_EH" class="U_MD_O_E_C_CB">
  172. </div>
  173. <div id="U_MD_O_E_EF" class="U_MD_O_E_C_CC">
  174. <div id="U_MD_O_E_EE" class="U_MD_O_E_C_CCH">
  175. </div>
  176. <div id="U_MD_O_E_ECE">
  177. <div id="U_MD_O_E_EFE" class="U_MD_O_E_EFE" ondblclick="U.MD.O.E.EditFrameDoubleClick(this)"
  178. oncontextmenu="U.UF.EV.stopBubble();U.MD.O.E.CreateContextMenu('Cell')" onmousedown="U.MD.O.E.EditOnmousedown()"
  179. spellcheck="false" contenteditable="false">
  180. <div class="U_MD_O_E_C_FE" onkeydown="U.MD.O.E.Onkeydown();U.UF.EV.stopBubble();"></div>
  181. </div>
  182. <div class="U_MD_O_E_C_D" onmousedown="U.MD.O.E.DotOnclick()">
  183. </div>
  184. <div class="U_MD_O_E_C_ET">
  185. </div>
  186. <div class="U_MD_O_E_C_EB">
  187. </div>
  188. <div class="U_MD_O_E_C_EL">
  189. </div>
  190. <div class="U_MD_O_E_C_ER">
  191. </div>
  192. <div class="U_MD_O_E_C_DT">
  193. </div>
  194. <div class="U_MD_O_E_C_DB">
  195. </div>
  196. <div class="U_MD_O_E_C_DL">
  197. </div>
  198. <div class="U_MD_O_E_C_DR">
  199. </div>
  200. </div>
  201. </div>
  202. </div>-->
  203. <!--excel区域-->
  204. <div class="U_MD_O_E_excelBox" id="930c07cc-df35-439d-aa13-ec165f142c66">
  205. <div class="U_MD_O_E_headArea">
  206. <div class="U_MD_O_E_headCell">
  207. C6</div>
  208. <div class="U_MD_O_E_headInput" contenteditable="true">
  209. </div>
  210. </div>
  211. <div class="U_MD_O_E_colBoard">
  212. </div>
  213. <!--第一行横排列表区域-->
  214. <div id="U_MD_O_E_rowBoardBox" style="float: left;">
  215. <div class="U_MD_O_E_rowBoard">
  216. </div>
  217. </div>
  218. <!--左边竖列表区域-->
  219. <div id="U_MD_O_E_cellBoardBox" style="overflow: hidden;">
  220. <div class="U_MD_O_E_cellBox">
  221. </div>
  222. <div class="U_MD_O_E_Ybar">
  223. <!--上下滚动条-->
  224. <div class="U_MD_O_E_YbarRoll">
  225. </div>
  226. </div>
  227. <div class="U_MD_O_E_Xbar">
  228. <!--上下滚动条-->
  229. <div class="U_MD_O_E_XbarRoll">
  230. </div>
  231. </div>
  232. </div>
  233. <!--单元格区域-->
  234. <div style="display: none" class="U_MD_O_E_focusBox">
  235. <!--id="U_MD_O_E_focusBox"-->
  236. <div id="U_MD_O_E_editorBox" class="U_MD_O_E_editorBox" contenteditable="false">
  237. </div>
  238. <div contenteditable="false" class="U_MD_O_E_borderLeft U_MD_O_E_borderColor U_MD_O_E_borderDefalut">
  239. </div>
  240. <div contenteditable="false" class="U_MD_O_E_borderTop U_MD_O_E_borderColor U_MD_O_E_borderDefalut">
  241. </div>
  242. <div contenteditable="false" class="U_MD_O_E_borderRight U_MD_O_E_borderColor U_MD_O_E_borderDefalut">
  243. </div>
  244. <div contenteditable="false" class="U_MD_O_E_borderBottom U_MD_O_E_borderColor U_MD_O_E_borderDefalut">
  245. </div>
  246. <div contenteditable="false" class="U_MD_O_E_borderCorner">
  247. </div>
  248. </div>
  249. <!--元素聚焦元素-->
  250. <div class="U_MD_O_E_taskBar" style="display: ;">
  251. <div class="U_MD_O_E_addTask" onclick="U.MD.O.E.addTask()">
  252. <img class="U_MD_O_E_addTask_img" src="http://coffice.1473.cn/Controls/Office/Excel/img/加号.png" alt="Alternate Text" />
  253. </div>
  254. <div class="U_MD_O_E_task" style="display: none">
  255. <!--U_MD_O_E_taskCheck 为选中时的样式-->
  256. 工作表1</div>
  257. <div class="U_MD_O_E_task" style="display: none">
  258. 工作表2</div>
  259. </div>
  260. <img src="http://coffice.1473.cn/Controls/Office/Excel/img/浮动按钮展开.png" class="U_MD_O_E_floatBtn"
  261. onclick="U.MD.O.E.switchBar(this)" alt="U_MD_O_E_floatBtn" />
  262. <!--互联办公模块-->
  263. <div class="U_MD_O_E_body_left" id="U_MD_O_E_body_left" style="z-index: 1">
  264. <!--邀请模块-->
  265. <!-- <div class="U_MD_O_E_inviteUser" id="U_MD_O_E_invitePreson"></div> -->
  266. </div>
  267. </div>
  268. </body>
  269. </html>