excelOperatHead.jsp
32.9 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
<%@ page language="java" contentType="text/html; charset=UTF-8" %>
<%@ page import="weaver.general.Util" %>
<%@ page import="weaver.systeminfo.SystemEnv" %>
<%@ page import="weaver.formmode.virtualform.VirtualFormHandler" %>
<%@ include file="/systeminfo/init_wev8.jsp" %>
<%@ include file="/formmode/checkright4setting.jsp" %>
<%
String isDetail = Util.null2String(request.getParameter("isDetail"));
int d_num = Util.getIntValue(Util.null2String(request.getParameter("d_num")));
int d_identy = Util.getIntValue(Util.null2String(request.getParameter("d_identy")));
int layouttype = Util.getIntValue(request.getParameter("layouttype"), -1);
int modeid = Util.getIntValue(request.getParameter("modeid"), -1);
int formid = Util.getIntValue(request.getParameter("formid"), -1);
int layoutid = Util.getIntValue(request.getParameter("layoutid"), -1);
int isecme = Util.getIntValue(request.getParameter("isecme"), 0);;
boolean isVirtualForm = VirtualFormHandler.isVirtualForm(formid);
%>
<HTML><HEAD>
</HEAD>
<BODY>
<div class="excelHeadContent">
<table class="excelHeadTable s_format" <%=(isDetail.equals("on"))?"style=display:none":""%> cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td class="splitTHead">
<div title="<%=SystemEnv.getHtmlLabelName(16189,user.getLanguage())%>" class="operatDiv" style="width:128px;">
<select id="fontfamily" name="fontfamily" style="width:100%">
<option value="SimSun"><%=SystemEnv.getHtmlLabelName(16190,user.getLanguage())%></option>
<option value="SimHei"><%=SystemEnv.getHtmlLabelName(16192,user.getLanguage())%></option>
<option value="Microsoft YaHei" selected="selected"><%=SystemEnv.getHtmlLabelName(84210,user.getLanguage())%></option>
<option value="KaiTi"><%=SystemEnv.getHtmlLabelName(16195,user.getLanguage())%></option>
<option value="YouYuan"><%=SystemEnv.getHtmlLabelName(127991,user.getLanguage())%></option>
<option value="FangSong"><%=SystemEnv.getHtmlLabelName(16196,user.getLanguage())%></option>
<option value="仿宋_GB2312"><%=SystemEnv.getHtmlLabelName(82737,user.getLanguage())%></option>
<option value="方正黑体_GBK"><%=SystemEnv.getHtmlLabelName(127993,user.getLanguage())%></option>
<option value="方正大标宋简体"><%=SystemEnv.getHtmlLabelName(127992,user.getLanguage())%></option>
<option value="方正小标宋简体"><%=SystemEnv.getHtmlLabelName(82736,user.getLanguage())%></option>
</select>
</div>
<div class="operatDiv" style="width:50px;">
<select id="fontsize" name="fontsize" style="width:55px">
<option value="6pt">6</option>
<option value="8pt">8</option>
<option value="9pt" selected="selected">9</option>
<option value="10pt">10</option>
<option value="11pt">11</option>
<option value="12pt">12</option>
<option value="14pt">14</option>
<option value="16pt">16</option>
<option value="20pt">20</option>
<option value="22pt">22</option>
<option value="24pt">24</option>
<option value="26pt">26</option>
<option value="28pt">28</option>
<option value="32pt">32</option>
<option value="48pt">48</option>
<option value="72pt">72</option>
</select>
</div>
</td>
<td target="mc_hide">
<div title="<%=SystemEnv.getHtmlLabelName(127994,user.getLanguage())%>" name="topAlign" class="operatDiv shortBtn "><img src="/formmode/exceldesign/image/shortBtn/format/topAlign_wev8.png" border="0"/></div>
<div title="<%=SystemEnv.getHtmlLabelName(128953,user.getLanguage())%>" name="middelAlign" class="operatDiv shortBtn "><img src="/formmode/exceldesign/image/shortBtn/format/middelAlign_wev8.png" border="0"/></div>
<div title="<%=SystemEnv.getHtmlLabelName(128954,user.getLanguage())%>" name="bottomAlign" class="operatDiv shortBtn "><img src="/formmode/exceldesign/image/shortBtn/format/bottomAlign_wev8.png" border="0"/></div>
</td>
<td class="splitTHead" target="mc_splithide">
<div title="<%=SystemEnv.getHtmlLabelName(16207,user.getLanguage())%>" name="leftretract" class="operatDiv shortBtn "><img src="/formmode/exceldesign/image/shortBtn/format/rightretract_wev8.png" border="0"/></div>
</td>
<td class="splitTHead" target="mc_hide">
<div class="operatDiv operatSelect" title="<%=SystemEnv.getHtmlLabelName(83996,user.getLanguage())%>" >
<select id="borderline" notBeauty=true name="borderline" style="width:50px;">
<option value=1 data-image='/formmode/exceldesign/image/border/_thin_wev8.png' selected="selected"></option>
<option value=2 data-image='/formmode/exceldesign/image/border/_medium_wev8.png'></option>
<option value=3 data-image='/formmode/exceldesign/image/border/_dashed_wev8.png'></option>
<!-- <option value=4 data-image='/formmode/exceldesign/image/border/_dotted_wev8.png'></option> -->
<option value=5 data-image='/formmode/exceldesign/image/border/_thick_wev8.png'></option>
<option value=6 data-image='/formmode/exceldesign/image/border/_double_wev8.png'></option>
<option value=7 data-image='/formmode/exceldesign/image/border/_hair_wev8.png'></option>
<option value=8 data-image='/formmode/exceldesign/image/border/_mediumdashed_wev8.png'></option>
<!-- <option value=9 data-image='/formmode/exceldesign/image/border/_dashdot_wev8.png'></option>
<option value=10 data-image='/formmode/exceldesign/image/border/_mediumdashdot_wev8.png'></option>
<option value=11 data-image='/formmode/exceldesign/image/border/_dashdotdot_wev8.png'></option>
<option value=12 data-image='/formmode/exceldesign/image/border/_mediumdashdotdot_wev8.png'></option> -->
</select>
</div>
<div class="operatDiv" title="<%=SystemEnv.getHtmlLabelName(19445,user.getLanguage())%>">
<div class="showforcolor" target="bordercolor">
<img src="/formmode/exceldesign/image/shortBtn/format/BorderColor_wev8.png" border="0" style="vertical-align: bottom"/>
<div class='pickcolordiv'>
<input type=hidden class=bordercolorvalue >
</div>
</div>
<div class="selectforcolor" target="bordercolor"></div>
</div>
<div class="operatDiv operatSelect" title="<%=SystemEnv.getHtmlLabelName(84000,user.getLanguage())%>">
<select id="bordertype" name="bordertype" notBeauty=true style="width:35px">
<option value=1 data-image='/formmode/exceldesign/image/shortBtn/format/BorderBottom_wev8.png'><%=SystemEnv.getHtmlLabelName(389625,user.getLanguage())%></option>
<option value=2 data-image='/formmode/exceldesign/image/shortBtn/format/BorderTop_wev8.png'><%=SystemEnv.getHtmlLabelName(389626,user.getLanguage())%></option>
<option value=3 data-image='/formmode/exceldesign/image/shortBtn/format/BorderLeft_wev8.png'><%=SystemEnv.getHtmlLabelName(389627,user.getLanguage())%></option>
<option value=4 data-image='/formmode/exceldesign/image/shortBtn/format/BorderRight_wev8.png'><%=SystemEnv.getHtmlLabelName(389628,user.getLanguage())%></option>
<option value=5 data-image='/formmode/exceldesign/image/shortBtn/format/BorderRemove_wev8.png'><%=SystemEnv.getHtmlLabelName(389629,user.getLanguage())%></option>
<option selected="selected" value=6 data-image='/formmode/exceldesign/image/shortBtn/format/BorderAll_wev8.png'><%=SystemEnv.getHtmlLabelName(389630,user.getLanguage())%></option>
<option value=7 data-image='/formmode/exceldesign/image/shortBtn/format/BorderOutline_wev8.png'><%=SystemEnv.getHtmlLabelName(389631,user.getLanguage())%></option>
<option value=8 data-image='/formmode/exceldesign/image/shortBtn/format/BorderInside_wev8.png'><%=SystemEnv.getHtmlLabelName(389632,user.getLanguage())%></option>
<option value=9 data-image='/formmode/exceldesign/image/shortBtn/format/BorderHorizontal_wev8.png'><%=SystemEnv.getHtmlLabelName(128956,user.getLanguage())%></option>
<option value=10 data-image='/formmode/exceldesign/image/shortBtn/format/BorderVertical_wev8.png'><%=SystemEnv.getHtmlLabelName(128955,user.getLanguage())%></option>
</select>
</div>
</td>
<td class="splitTHead">
<div title="<%=SystemEnv.getHtmlLabelName(128957,user.getLanguage())%>" name="insertrow" class="operatDiv shortBtn "><img src="/formmode/exceldesign/image/shortBtn/format/rowInsert_wev8.png" border="0"/></div>
<div title="<%=SystemEnv.getHtmlLabelName(128958,user.getLanguage())%>" name="insertcol" class="operatDiv shortBtn " target="mc_hide"><img src="/formmode/exceldesign/image/shortBtn/format/colInsert_wev8.png" border="0"/></div>
</td>
<td class="splitTHead" target="mc_hide">
<div title="<%=SystemEnv.getHtmlLabelName(128959,user.getLanguage())%>" name="financialhead" class="operatDiv shortBtn "><img src="/formmode/exceldesign/image/shortBtn/format/financeTitle_wev8.png" border="0"/></div>
<div title="<%=SystemEnv.getHtmlLabelName(128960,user.getLanguage())%>" name="financialsheet" class="operatDiv shortBtn "><img src="/formmode/exceldesign/image/shortBtn/format/financeBody_wev8.png" border="0"/></div>
</td>
<td class="splitTHead" target="mc_splithide">
<div title="<%=SystemEnv.getHtmlLabelName(128961,user.getLanguage())%>" name="cleancontent" class="operatDiv shortBtn "><img src="/formmode/exceldesign/image/shortBtn/format/cleanContent_wev8.png" border="0"/></div>
<div title="<%=SystemEnv.getHtmlLabelName(128962,user.getLanguage())%>" name="cleanstyle" class="operatDiv shortBtn "><img src="/formmode/exceldesign/image/shortBtn/format/cleanStyle_wev8.png" border="0"/></div>
</td>
<td target="mc_hide">
<div title="<%=SystemEnv.getHtmlLabelName(128963,user.getLanguage())%>" name="showgridline" down="on" class="operatDiv shortBtn shortBtnHover"><img src="/formmode/exceldesign/image/shortBtn/format/showgridline_wev8.png" border="0"/></div>
</td>
</tr>
<tr>
<td class="splitTHead">
<div title="<%=SystemEnv.getHtmlLabelName(23002,user.getLanguage())%>" name="blodfont" class="operatDiv shortBtn " ><img src="/formmode/exceldesign/image/shortBtn/format/blod_wev8.png" border="0"/></div>
<div title="<%=SystemEnv.getHtmlLabelName(23003,user.getLanguage())%>" name="italicfont" class="operatDiv shortBtn " style="margin-left:5px;"><img src="/formmode/exceldesign/image/shortBtn/format/italic_wev8.png" border="0"/></div>
<div class="operatDiv" style="height:23px;width:1px;border-right:#C1D3DC 1px solid;margin-left:5px;"></div> <!-- 分割线 -->
<div class="operatDiv" title="<%=SystemEnv.getHtmlLabelName(83749,user.getLanguage())%>">
<div class="showforcolor" target="bgcolor">
<img src="/formmode/exceldesign/image/shortBtn/format/BackgroundColor_wev8.png" border="0" style="vertical-align: bottom"/>
<div class='pickcolordiv'>
<input type=hidden class=bgcolorvalue>
</div>
</div>
<div class="selectforcolor" target="bgcolor"></div>
</div>
<div class="operatDiv" title="<%=SystemEnv.getHtmlLabelName(2076,user.getLanguage())%>" style="margin-left:5px;">
<div class="showforcolor" target="fontcolor">
<img src="/formmode/exceldesign/image/shortBtn/format/fontcolor_wev8.png" border="0" style="vertical-align: bottom"/>
<div class='pickcolordiv'>
<input type=hidden class=fontcolorvalue>
</div>
</div>
<div class="selectforcolor" target="fontcolor"></div>
</div>
<div title="<%=SystemEnv.getHtmlLabelName(128002,user.getLanguage())%>" name="formatrush" class="operatDiv shortBtn " style="margin-left:0px;"><img src="/formmode/exceldesign/image/shortBtn/format/formatRush_wev8.png" border="0"/></div>
</td>
<td target="mc_hide">
<div title="<%=SystemEnv.getHtmlLabelName(16202,user.getLanguage())%>" name="leftAlign" class="operatDiv shortBtn "><img src="/formmode/exceldesign/image/shortBtn/format/leftAlign_wev8.png" border="0"/></div>
<div title="<%=SystemEnv.getHtmlLabelName(128965,user.getLanguage())%>" name="centerAlign" class="operatDiv shortBtn "><img src="/formmode/exceldesign/image/shortBtn/format/centerAlign_wev8.png" border="0"/></div>
<div title="<%=SystemEnv.getHtmlLabelName(16204,user.getLanguage())%>" name="rightAlign" class="operatDiv shortBtn "><img src="/formmode/exceldesign/image/shortBtn/format/rightALign_wev8.png" border="0"/></div>
</td>
<td class="splitTHead" target="mc_splithide">
<div title="<%=SystemEnv.getHtmlLabelName(16206,user.getLanguage())%>" name="rightretract" class="operatDiv shortBtn "><img src="/formmode/exceldesign/image/shortBtn/format/leftretract_wev8.png" border="0"/></div>
</td>
<td class="splitTHead" target="mc_hide">
<div title="<%=SystemEnv.getHtmlLabelName(16186,user.getLanguage())%>" name="mergenBx" class="operatDiv shortBtn "><img src="/formmode/exceldesign/image/shortBtn/format/MergenBx_wev8.png" border="0"/></div>
<div title="<%=SystemEnv.getHtmlLabelName(16187,user.getLanguage())%>" name="splitBx"class="operatDiv shortBtn "><img src="/formmode/exceldesign/image/shortBtn/format/splitBx_wev8.png" border="0"/></div>
<div class="operatDiv" style="height:23px;width:1px;border-right:#C1D3DC 1px solid;"></div> <!-- 分割线 -->
<div title="<%=SystemEnv.getHtmlLabelName(128003,user.getLanguage())%>" name="excelPro" class="operatDiv shortBtn "><img src="/formmode/exceldesign/image/shortBtn/format/settingBx_wev8.png" border="0"/></div>
<!-- <div title="自动换行" name="autowrap" class="operatDiv shortBtn "><img src="/formmode/exceldesign/image/shortBtn/format/autowarp_wev8.png" border="0"/></div> -->
</td>
<td class="splitTHead">
<div title="<%=SystemEnv.getHtmlLabelName(16182,user.getLanguage())%>" name="deleterow" class="operatDiv shortBtn "><img src="/formmode/exceldesign/image/shortBtn/format/rowDelete_wev8.png" border="0"/></div>
<div title="<%=SystemEnv.getHtmlLabelName(16183,user.getLanguage())%>" name="deletecol" class="operatDiv shortBtn " target="mc_hide"><img src="/formmode/exceldesign/image/shortBtn/format/colDelete_wev8.png" border="0"/></div>
</td>
<td class="splitTHead" target="mc_hide">
<div title="<%=SystemEnv.getHtmlLabelName(128004,user.getLanguage())%>" name="n_us" class="operatDiv shortBtn "><img src="/formmode/exceldesign/image/shortBtn/format/thousands_wev8.png" border="0"/></div>
<div title="<%=SystemEnv.getHtmlLabelName(22104,user.getLanguage())%>" name="financialupper" class="operatDiv shortBtn " ><img src="/formmode/exceldesign/image/shortBtn/format/amountWord_wev8.png" border="0"/></div>
</td>
<td class="splitTHead" target="mc_splithide">
<div title="<%=SystemEnv.getHtmlLabelName(387748,user.getLanguage())%>" name="cleanall" class="operatDiv shortBtn "><img src="/formmode/exceldesign/image/shortBtn/format/cleanAll_wev8.png" border="0"/></div>
<div title="<%=SystemEnv.getHtmlLabelName(128966,user.getLanguage())%>" name="cleanfinance" class="operatDiv shortBtn " target="mc_hide"><img src="/formmode/exceldesign/image/shortBtn/format/clearFinance_wev8.png" border="0"/></div>
</td>
<td target="mc_hide">
<div title="<%=SystemEnv.getHtmlLabelName(128005,user.getLanguage())%>" name="showthead" down="on" class="operatDiv shortBtn shortBtnHover"><img src="/formmode/exceldesign/image/shortBtn/format/showtitle_wev8.png" border="0"/></div>
</td>
</tr>
</tbody>
</table>
<table class="excelHeadTabel s_insert" style="display:none" cellpadding="0" cellspacing="0">
<tr>
<td>
<%if(!isDetail.equals("on")){ %>
<%--<div name="linkcodeE9" class="operatDiv shortBtn bigBtn" onclick="javascript:editE9Script()">--%>
<%--<img class="insertimg" src="/formmode/exceldesign/image/shortBtn/insert/code_wev8.png" />--%>
<%--<span><%=SystemEnv.getHtmlLabelName(389633,user.getLanguage())%></span>--%>
<%--</div>--%>
<%-- <div name="linkcodeE9" class="operatDiv shortBtn bigBtn" onclick="javascript:parent.showEditE9Script()">
<img class="insertimg" src="/formmode/exceldesign/image/shortBtn/insert/code_wev8.png" />
<span><%=SystemEnv.getHtmlLabelName(128033,user.getLanguage())%></span>
</div> --%>
<div name="linkcodeE9" class="operatDiv shortBtn bigBtn" onclick="showE9Script()">
<img class="insertimg" src="/formmode/exceldesign/image/shortBtn/insert/code_wev8.png" />
<span><%=SystemEnv.getHtmlLabelName(389633,user.getLanguage())%></span>
</div>
<%} %>
<div name="linkpic" class="operatDiv shortBtn bigBtn" target="mc_hide">
<img class="insertimg" src="/formmode/exceldesign/image/shortBtn/insert/pictrue_wev8.png" />
<span><%=SystemEnv.getHtmlLabelName(74,user.getLanguage())%></span>
</div>
<div name="clearBgImg" class="operatDiv shortBtn_disabled bigBtn" target="mc_hide">
<img class="insertimg" src="/formmode/exceldesign/image/shortBtn/insert/clearBgpic_wev8.png" />
<span><%=SystemEnv.getHtmlLabelName(389634,user.getLanguage())%></span>
</div>
<div name="linktext" class="operatDiv shortBtn bigBtn">
<img class="insertimg" src="/formmode/exceldesign/image/shortBtn/insert/link_wev8.png" />
<span><%=SystemEnv.getHtmlLabelName(81973,user.getLanguage())%></span>
</div>
<!-- <div class="operatDiv shortBtn bigBtn">
<img class="insertimg" src="/formmode/exceldesign/image/shortBtn/insert/flash_wev8.png" />
<span>Flash</span>
</div> -->
<div name="formula" class="operatDiv shortBtn bigBtn" target="mc_hide">
<img class="insertimg" src="/formmode/exceldesign/image/shortBtn/insert/formula_wev8.png" />
<span><%=SystemEnv.getHtmlLabelName(18125,user.getLanguage())%></span>
</div>
<%if(!isDetail.equals("on")){ %>
<div name="formulaClear" class="operatDiv shortBtn bigBtn" target="mc_hide" style="display:none">
<img class="insertimg" src="/formmode/exceldesign/image/shortBtn/insert/formula_wev8.png" onclick="formulaObj.clearFormulas();" />
<span><%=SystemEnv.getHtmlLabelName(389635,user.getLanguage())%></span>
</div>
<div name="tabpage" class="operatDiv shortBtn bigBtn" target="mc_hide">
<img class="insertimg" src="/formmode/exceldesign/image/shortBtn/insert/tab_wev8.png" />
<span><%=SystemEnv.getHtmlLabelName(128091,user.getLanguage())%></span>
</div>
<div name="morecontent" class="operatDiv shortBtn bigBtn" target="mc_hide">
<img class="insertimg" src="/formmode/exceldesign/image/shortBtn/morecontent/insert_wev8.png" />
<span><%=SystemEnv.getHtmlLabelName(608,user.getLanguage())%></span>
</div>
<div name="iframearea" style="width:62px" class="operatDiv shortBtn bigBtn" target="mc_hide">
<img class="insertimg" src="/formmode/exceldesign/image/shortBtn/insert/iframeArea_wev8.png" />
<span><%=SystemEnv.getHtmlLabelName(389636,user.getLanguage())%></span>
</div>
<%if(isecme != 1){%>
<div name="scancode" style="width:66px" class="operatDiv shortBtn bigBtn" target="mc_hide">
<img class="insertimg" src="/formmode/exceldesign/image/shortBtn/insert/scanCode_wev8.png" />
<span><%=SystemEnv.getHtmlLabelName(128967,user.getLanguage())%></span>
</div>
<%}%>
<div name="portalelm" class="operatDiv shortBtn bigBtn" target="mc_hide">
<img class="insertimg" src="/formmode/exceldesign/image/shortBtn/insert/portal_wev8.png" />
<span><%=SystemEnv.getHtmlLabelName(33678,user.getLanguage())%></span>
</div>
<%if(!isVirtualForm && (layouttype==0 || layouttype==2)){ %>
<%if(isecme != 1){%>
<div name="tabs" class="operatDiv shortBtn bigBtn" target="mc_hide">
<img class="insertimg" src="/formmode/exceldesign/image/shortBtn/insert/tab.png" />
<span><%=SystemEnv.getHtmlLabelName(176,user.getLanguage())%></span>
</div>
<%}%>
<%} %>
<%} %>
</td>
</tr>
</table>
<table class="excelHeadTabel s_filed" style="display:none" cellpadding="0" cellspacing="0">
<tr>
<td>
<div name="justread" class="operatDiv shortBtn_disabled bigBtn">
<img src="/formmode/exceldesign/image/shortBtn/field/read_wev8.png" style="margin-bottom:5px;" border="0"/>
<span><%=SystemEnv.getHtmlLabelName(17873,user.getLanguage())%></span>
</div>
<div name="canwrite" class="operatDiv shortBtn_disabled bigBtn">
<img src="/formmode/exceldesign/image/shortBtn/field/edit_wev8.png" style="margin-bottom:5px;" border="0"/>
<span><%=SystemEnv.getHtmlLabelName(26473,user.getLanguage())%></span>
</div>
<div name="required" class="operatDiv shortBtn_disabled bigBtn">
<img src="/formmode/exceldesign/image/shortBtn/field/required_wev8.png" style="margin-bottom:5px;" border="0"/>
<span><%=SystemEnv.getHtmlLabelName(30036,user.getLanguage())%></span>
</div>
<div name="fieldpro" class="operatDiv shortBtn_disabled bigBtn" title="<%=SystemEnv.getHtmlLabelName(389641,user.getLanguage())%>">
<img src="/formmode/exceldesign/image/shortBtn/field/fieldPro_wev8.png" style="margin-bottom:5px;" border="0"/>
<span><%=SystemEnv.getHtmlLabelName(82113,user.getLanguage())%></span>
</div>
<!--
<div name="morepro" class="operatDiv shortBtn_disabled bigBtn" title="请单选包含字段的单元格后操作">
<img src="/formmode/exceldesign/image/shortBtn/field/morePro_wev8.png" style="margin-bottom:5px;" border="0"/>
<span>更多属性</span>
</div>
-->
</td>
</tr>
</table>
<table class="excelHeadTabel s_detail" <%=(isDetail.equals("on"))?"":"style=display:none"%> cellpadding="0" cellspacing="0">
<%if(isDetail.equals("on")){ %>
<tr>
<td>
<div name="de_initdetail" class="operatDiv bigBtn shortBtn" style="width:60px">
<img src="/formmode/exceldesign/image/shortBtn/detail/initDetail_wev8.png" style="margin-bottom:5px;" />
<span><%=SystemEnv.getHtmlLabelName(128968,user.getLanguage())%></span> <!--初始化明细-->
</div>
<div class="turnlr turnLeft" onclick="moveDetailUl('left');"></div>
<div class="detail_all" style="width:<%=76*d_num %>px">
<ul class="detail_ul">
<%
for(int i=0;i<d_num;i++){
String curClass=d_identy==(i+1)?"detail_"+(i%5+1)+"_hot":"detail_"+(i%5+1)+"_dis";
%>
<li class="operatDiv bigBtn detail_<%=(i%5+1) %> <%=curClass %>">
<span style="margin-top:40px"><%=SystemEnv.getHtmlLabelName(17463,user.getLanguage())%><%=i+1 %></span>
</li>
<%} %>
</ul>
</div>
<div class="turnlr turnRight" onclick="moveDetailUl('right');"></div>
<div name="de_title" class="operatDiv bigBtn shortBtn">
<img src="/formmode/exceldesign/image/shortBtn/detail/tabTitle_wev8.png" style="margin-bottom:5px;" />
<span><%=SystemEnv.getHtmlLabelName(19572,user.getLanguage())%></span>
</div>
<div name="de_tail" class="operatDiv bigBtn shortBtn">
<img src="/formmode/exceldesign/image/shortBtn/detail/tabTail_wev8.png" style="margin-bottom:5px;" />
<span><%=SystemEnv.getHtmlLabelName(19573,user.getLanguage())%></span>
</div>
<div name="de_btn" class="operatDiv bigBtn shortBtn">
<img src="/formmode/exceldesign/image/shortBtn/detail/addDel_wev8.png" style="margin-bottom:5px;" />
<span><%=SystemEnv.getHtmlLabelName(389637,user.getLanguage())%></span>
</div>
<div name="de_checkall" class="operatDiv bigBtn shortBtn belSeniorSet" style="width:60px">
<img src="/formmode/exceldesign/image/shortBtn/detail/checkAll_wev8.png" style="margin-bottom:5px;" />
<span><%=SystemEnv.getHtmlLabelName(128971,user.getLanguage())%></span>
</div>
<div name="de_checksingle" class="operatDiv bigBtn shortBtn belSeniorSet" style="width:60px">
<img src="/formmode/exceldesign/image/shortBtn/detail/checkSingle_wev8.png" style="margin-bottom:5px;" />
<span><%=SystemEnv.getHtmlLabelName(128972,user.getLanguage())%></span>
</div>
<div name="de_serialnum" class="operatDiv bigBtn shortBtn belSeniorSet">
<img src="/formmode/exceldesign/image/shortBtn/detail/serialNum_wev8.png" style="margin-bottom:5px;" />
<span><%=SystemEnv.getHtmlLabelName(389638,user.getLanguage())%></span>
</div>
</td>
</tr>
<%}else{ %>
<tr>
<td>
<div name="mainDetail" class="operatDiv shortBtn bigBtn">
<img src="/formmode/exceldesign/image/shortBtn/detail/insertDetail_wev8.png" border="0"/>
<span style="margin-bottom:-5px;"><%=SystemEnv.getHtmlLabelName(19325,user.getLanguage())%></span>
<img src="/formmode/exceldesign/image/shortBtn/nabla_wev8.png" border="0"/>
</div>
</td>
</tr>
<%} %>
</table>
<table class="excelHeadTabel s_style" style="display:none" cellpadding="0" cellspacing="0">
<tr>
<td>
<div>
<div class="typeContainerFather">
<div id="typeContainer" class="typeContainer" style="top:0px;">
<div name="e_style_1" class="tylelement" target="sys_1">
<div name="_label1" style="font-family:宋体!important;width: 23px;float: left;border: 1px solid #90badd;padding-left: 7px;background:#e7f3fc">---</div>
<div name="_field1" style="font-family:宋体!important;border: 1px solid #90badd;padding-left: 36px;">-------</div>
<div name="_label1" style="font-family:宋体!important;float: left;width: 23px;border: 1px solid #90badd;padding-left: 7px;margin-top: -1px;background:#e7f3fc;">---</div>
<div name="_field1" style="font-family:宋体!important;border: 1px solid #90badd;margin-top: -1px;padding-left: 36px;">-------</div>
<div name="_label1" style="font-family:宋体!important;width: 30px;float: left;border: 1px solid #90badd;padding-left: 10px;background:#e7f3fc;margin-top: -1px;">----</div>
<div name="_label1" style="font-family:宋体!important;border: 1px solid #90badd;padding-left: 50px;margin-top: -1px;background:#e7f3fc;">----</div>
<div name="_field1" style="font-family:宋体!important;float: left;width: 30px;border: 1px solid #90badd;padding-left: 10px;margin-top: -1px;">----</div>
<div name="_field1" style="font-family:宋体!important;border: 1px solid #90badd;margin-top: -1px;padding-left: 50px;">----</div>
<input name="_css" type="hidden" _border_color="#90badd" _label_background="#e7f3fc"/>
</div>
</div>
</div>
<div class="morthumn" >
<div class="moreup">
<img src="/formmode/exceldesign/image/shortBtn/style/up_wev8.png">
</div>
<div class="moredown">
<img src="/formmode/exceldesign/image/shortBtn/style/down_wev8.png">
</div>
<div class="moremore" expand="no">
<img src="/formmode/exceldesign/image/shortBtn/style/expand_wev8.png">
</div>
</div>
<div class="morenewContaint">
<div class="morenewBtn" title="<%=SystemEnv.getHtmlLabelName(365,user.getLanguage())%>">
</div>
</div>
</div>
</td>
</tr>
</table>
</div>
<%if(isDetail.equals("on")){ %>
<div class="seniorSetDiv">
<input type="checkbox" id="openSeniorSet" checked onclick="detailOperate.clickOpenSeniorSetFace();" />
<span style="position:relative; top:-2px;"><%=SystemEnv.getHtmlLabelName(128973,user.getLanguage())%></span>
<span style="position:relative; top:-3px;" class="e8tips" title="<%=SystemEnv.getHtmlLabelName(128006,user.getLanguage())%>">
<img src="/images/tooltip_wev8.png" align="absMiddle">
</span>
</div>
<div class="operatDiv bigBtn detail_return" onclick="formOperate.saveDetailWindowFace('<%=d_identy %>')">
<span style="margin-top:40px"><%=SystemEnv.getHtmlLabelName(1290,user.getLanguage())%></span>
</div>
<%}else{ %>
<ul id="styleRightMenu" class="contextMenu menu2"></ul> <!-- 样式右键菜单 -->
<div class="linkhelp" onclick="linkhelp();">
<img src="/formmode/exceldesign/image/shortBtn/help_wev8.png" />
<span><%=SystemEnv.getHtmlLabelName(275,user.getLanguage())%></span>
</div>
<div id="rightBox" class="e8_rightBox" style="padding-right:15px;">
<div id="tabcontentframe_box" class="_box" target="mc_hide">
<input type="button" onclick="checkServer(formOperate.saveLayoutWindowFace,'saveLayout')" value="<%=SystemEnv.getHtmlLabelName(86,user.getLanguage())%>" class="e8_btn_top_first">
<input type="button" onclick="checkServer(formOperate.saveLayoutWindowFace,'preViewLayout')" value="<%=SystemEnv.getHtmlLabelName(221,user.getLanguage())%>" class="e8_btn_top">
<span title="<%=SystemEnv.getHtmlLabelName(81804,user.getLanguage())%>" class="cornerMenu middle" style="display:none"></span>
</div>
</div>
<%} %>
<div class="excelHeadSplitLine"></div>
<%if(!isDetail.equals("on")){ %>
<div class="tabdiv" style="display:none">
<div class="tab_top">
<input id="tabname" type="text" style="width:140px;"/>
<span style="margin-left:30px;"><%=SystemEnv.getHtmlLabelName(128007,user.getLanguage())%>:</span>
<select id="areaselect" style="width:80px;">
<option value="1"><%=SystemEnv.getHtmlLabelName(128975,user.getLanguage())%></option>
<option value="2"><%=SystemEnv.getHtmlLabelName(389639,user.getLanguage())%></option>
</select>
<span id="areaheightspan" style="display:none;">
<input id="areaheight" type="text" style="width:60px;" onkeypress="ItemCount_KeyPress();" />px
<span>
</div>
<div class="tab_bottom">
<div class="tab_bottomleft">
<div class="tab_movebtn tab_turnleft"></div>
<div class="tab_head">
<div class="t_area xrepeat"></div>
</div>
<div class="tab_movebtn tab_turnright"></div>
<div class="tab_addBtn tab_add"></div>
</div>
<div class="tab_bottomright">
<div class="operBtn changeskin" title="<%=SystemEnv.getHtmlLabelName(128976,user.getLanguage())%>"></div>
<div class="operBtn canceltab" title="<%=SystemEnv.getHtmlLabelName(1290,user.getLanguage())%>"></div>
</div>
</div>
<div id="tab_template" style="display:none">
<div class="t_sep norepeat"></div>
<div class="t_unsel">
<div class="t_unsel_left norepeat"></div>
<div class="t_unsel_middle xrepeat lineheight30">
<span></span>
</div>
<div class="t_unsel_right norepeat"></div>
</div>
</div>
<input type="hidden" id="tabstyle" />
<input type="hidden" id="maincellid" />
</div>
<div class="tabSplitLine" style="display:none"></div>
<%} %>
<script type="text/javascript">
jQuery(document).ready(function(){
//对下拉框特殊处理下,系统自带的下拉框美化太挫了
var fontsize_sb = $("#fontfamily").attr("sb");
$("#sbHolderSpan_"+fontsize_sb).css("width","100%");
var fontsize_sb = $("#fontsize").attr("sb");
$("#sbHolderSpan_"+fontsize_sb).css("width","100%");
baseOperate.initStyleTabFace();
$(".moreup").on("click",function(){
var rt = 31.8/(16*3);
var py = Math.floor(-120*rt)+1;
var oldpy = $(".typeContainerFather").getNiceScroll()[0].getScrollTop();
$(".typeContainerFather").getNiceScroll().doScrollPos(0,oldpy+py);
});
$(".moredown").on("click",function(){
var rt = 31.8/(16*3);
var py = Math.floor(120*rt);
var oldpy = $(".typeContainerFather").getNiceScroll()[0].getScrollTop();
$(".typeContainerFather").getNiceScroll().doScrollPos(0,py+oldpy);
});
$(".typeContainerFather").perfectScrollbar({mousescrollstep:31.8});
$(".typeContainerFather").perfectScrollbar("hide");
$(".moremore").on("click",function(){
if($(this).attr("expand") === "on"){
$(this).attr("expand","no");
$("div.typeContainerFather").css("height","78px");
$(".typeContainerFather").perfectScrollbar("hide");
$(this).children().eq(0).attr("src","/formmode/exceldesign/image/shortBtn/style/expand_wev8.png");
}else{
$(this).attr("expand","on");
var _height = Math.ceil($("div.typeContainer").children().length/6)*79;
$("div.typeContainerFather").css("height",_height+"px");
var s2 = setTimeout(function(){
$(".typeContainerFather").perfectScrollbar("show");
clearTimeout(s2);
},300)
$(this).children().eq(0).attr("src","/formmode/exceldesign/image/shortBtn/style/contract_wev8.png");
}
var oldpy = $(".typeContainerFather").getNiceScroll()[0].getScrollTop();
var num = Math.floor(oldpy/79);
var rt = 31.8/(16*3);
var py = Math.floor(120*rt);
$(".typeContainerFather").getNiceScroll().doScrollPos(0,py*num);
});
});
function editE9Script(){
var url = "/formmode/exceldesign/editE9Scripts.jsp?modeid=<%=modeid%>&formid=<%=formid%>&layouttype=<%=layouttype%>";
var dialog = new window.top.Dialog();
dialog.currentWindow = window;
dialog.Title = "<%=SystemEnv.getHtmlLabelName(389640,user.getLanguage())%>";
dialog.Width = $(window).width()-300;
dialog.Height = $(window).height()-200;
dialog.maxiumnable = true;
dialog.Drag = true;
dialog.URL = url;
dialog.show();
}
function showE9Script(){
var layoutid = <%=layoutid%>;
<% if(layoutid==0){%>
window.top.Dialog.alert('<%=SystemEnv.getHtmlLabelName(501528,user.getLanguage())%>');
return;
<%}%>
<%if(layoutid>0){%>
if(window.cubeStore){
window.cubeStore.CubeModeStore.editE9ScriptParams.layoutid=layoutid;
}else if(parent.cubeStore){
parent.cubeStore.CubeModeStore.editE9ScriptParams.layoutid=layoutid;
}
<%}%>
parent.showEditE9Script(layoutid);
}
</script>
</BODY>
</HTML>