/*
 * Generated by the Jasper component of Apache Tomcat
 * Version: ......
 * Generated at: 2020-07-14 11:59:09 UTC
 * Note: The last modified time of this file was set to
 *       the last modified time of the source file after
 *       generation to assist with modification tracking.
 */
package org.apache.jsp;

import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import java.util.*;
import jun.db.core.*;
import java.net.*;
import wiseoa.*;
import wiseoa.util.*;
import wiseoa.mail.jstl.*;
import wiseoa.home.*;
import wiseoa.formdesign.jstl.*;

public final class workbook_005fconfig_005ftoolbar_jsp extends org.apache.jasper.runtime.HttpJspBase
    implements org.apache.jasper.runtime.JspSourceDependent {

  private static final javax.servlet.jsp.JspFactory _jspxFactory =
          javax.servlet.jsp.JspFactory.getDefaultFactory();

  private static java.util.Map<java.lang.String,java.lang.Long> _jspx_dependants;

  private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody;
  private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005fc_005fif_0026_005ftest;

  private volatile javax.el.ExpressionFactory _el_expressionfactory;
  private volatile org.apache.tomcat.InstanceManager _jsp_instancemanager;

  public java.util.Map<java.lang.String,java.lang.Long> getDependants() {
    return _jspx_dependants;
  }

  public javax.el.ExpressionFactory _jsp_getExpressionFactory() {
    if (_el_expressionfactory == null) {
      synchronized (this) {
        if (_el_expressionfactory == null) {
          _el_expressionfactory = _jspxFactory.getJspApplicationContext(getServletConfig().getServletContext()).getExpressionFactory();
        }
      }
    }
    return _el_expressionfactory;
  }

  public org.apache.tomcat.InstanceManager _jsp_getInstanceManager() {
    if (_jsp_instancemanager == null) {
      synchronized (this) {
        if (_jsp_instancemanager == null) {
          _jsp_instancemanager = org.apache.jasper.runtime.InstanceManagerFactory.getInstanceManager(getServletConfig());
        }
      }
    }
    return _jsp_instancemanager;
  }

  public void _jspInit() {
    _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
    _005fjspx_005ftagPool_005fc_005fif_0026_005ftest = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
  }

  public void _jspDestroy() {
    _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.release();
    _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.release();
  }

  public void _jspService(final javax.servlet.http.HttpServletRequest request, final javax.servlet.http.HttpServletResponse response)
        throws java.io.IOException, javax.servlet.ServletException {

    final javax.servlet.jsp.PageContext pageContext;
    javax.servlet.http.HttpSession session = null;
    final javax.servlet.ServletContext application;
    final javax.servlet.ServletConfig config;
    javax.servlet.jsp.JspWriter out = null;
    final java.lang.Object page = this;
    javax.servlet.jsp.JspWriter _jspx_out = null;
    javax.servlet.jsp.PageContext _jspx_page_context = null;


    try {
      response.setContentType("text/html;charset=UTF-8");
      pageContext = _jspxFactory.getPageContext(this, request, response,
      			null, true, 8192, true);
      _jspx_page_context = pageContext;
      application = pageContext.getServletContext();
      config = pageContext.getServletConfig();
      session = pageContext.getSession();
      out = pageContext.getOut();
      _jspx_out = out;

      out.write("\r\n");
      out.write(" \r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write(" \r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n");
  
	  
 
WorkBookRightVerify w= new WorkBookRightVerify( request);
FF.pageContextSetAttribute(pageContext , "canEdit", w.canEdit);

if ( ! w.canView)
{
	///如果把模板设计放到工作台中单独授权，那么下面的跳转就控制太死了， 一个办法就是增加 onURLCommand 检测， 简单一点，就是去掉下面的控制
 //		    String s= User.TIP_NORIGHT;
//		 	response.sendRedirect( "SystemTip.jsp?info="+  URLEncoder.encode(s,"UTF-8") );
//	        return ; 
}
System.out.println( w.type);
FF.pageContextSetAttribute(pageContext , "type", w.type);
FF.pageContextSetAttribute(pageContext , "canDBDesign", w.canDBDesign);
FF.pageContextSetAttribute(pageContext , "templateid", w.id);

System_BaseInfo gInfo= System_BaseInfo.getInstance(request);  
FF.pageContextSetAttribute(pageContext, "scripteditwithhtml",   FF.getIntFromMap( gInfo.GlobalConfig,"scripteditwithhtml",0)==1  );

FF.pageContextSetAttribute(pageContext , "randomVer",  System.currentTimeMillis() );

	 	    

      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\">\r\n");
      out.write(" \r\n");
      out.write("<HTML>\r\n");
      out.write("<head><meta http-equiv=\"X-UA-Compatible\" content=\"IE=EmulateIE7\" />\r\n");
      out.write("<META http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\">\r\n");
      out.write("<META http-equiv=\"pragma\" content=\"no-cache\">\r\n");
      out.write("<META http-equiv=\"cache-control\" content=\"no-cache\">\r\n");
      out.write("<META http-equiv=\"expires\" content=\"0\">\r\n");
      out.write(" \t<SCRIPT type=\"text/javascript\" src=\"js/jsrsClient_rev.js\"></SCRIPT>\t \r\n");
      out.write(" \t\r\n");
      out.write(" \t\r\n");
      out.write("<TITLE></TITLE>\r\n");
      out.write(" \r\n");
      out.write("<script>\r\n");
      out.write("\r\n");
      out.write(" \r\n");
      out.write("window.onload =OnLoad\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("function OnLoad()\r\n");
      out.write("{\r\n");
      out.write("           window.document.body.scroll=\"no\";\r\n");
      out.write(" \r\n");
      out.write("}\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write(" </script>\r\n");
      out.write(" \r\n");
      out.write(" \t\r\n");
      out.write(" \r\n");
      out.write("<style type=\"text/css\">\r\n");
      out.write(" \r\n");
      out.write("\tbody {margin-left: 0px;\tmargin-top: 0px;margin-right: 0px;\tmargin-bottom: 0px;}\r\n");
      out.write("\r\n");
      out.write("    .w1  {width:212}\r\n");
      out.write("\t\r\n");
      out.write("\t<!-- font name -->\r\n");
      out.write("    .selectspan  { border:1px solid #e6e8ee;overflow:hidden;width:150;\r\n");
      out.write("\tvertical-align:top ;\r\n");
      out.write("\t  }\r\n");
      out.write("\t.flatselect { width:152; margin:0;}\r\n");
      out.write("\t     \r\n");
      out.write("   <!-- font size  -->\r\n");
      out.write("  .selectspan2  { border:1px solid #e6e8ee;overflow:hidden;width:40;\r\n");
      out.write("\tvertical-align:top;\r\n");
      out.write("\t }\r\n");
      out.write("\t.flatselect2 { width:42; margin:0;}\r\n");
      out.write("\t     \r\n");
      out.write("\r\n");
      out.write(" \r\n");
      out.write("</style></HEAD>\r\n");
      out.write("\r\n");
      out.write("<script>\r\n");
      out.write("function bs_isGecko() \r\n");
      out.write("{\r\n");
      out.write("  //rather poor implementation.\r\n");
      out.write("\t  if (navigator.appName == \"Microsoft Internet Explorer\") return false;\r\n");
      out.write("\t  return (navigator.userAgent.match(/gecko/i));\r\n");
      out.write("\t}\r\n");
      out.write("\tif (bs_isGecko()) {\r\n");
      out.write("\t  document.writeln(\"<link rel='stylesheet' href='toolbar/win2k_mz.css'>\");\r\n");
      out.write("\t} else {\r\n");
      out.write("\t  document.writeln(\"<link rel='stylesheet' href='toolbar/win2k_ie_myhome.css'>\");\r\n");
      out.write("}\r\n");
      out.write("</script>\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("<script type=\"text/javascript\" src=\"formEngine/js/design/saveAsH5Template.js?var=");
      if (_jspx_meth_c_005fout_005f0(_jspx_page_context))
        return;
      out.write("\"></script>\r\n");
      out.write("\r\n");
      out.write("<LINK rel=\"stylesheet\" type=\"text/css\" href=\"css/normal.css\">\r\n");
      out.write("\r\n");
      out.write("<script type=\"text/javascript\" src=\"toolbar/Bs_ButtonBar.class.js\"></script>\r\n");
      out.write("<script type=\"text/javascript\" src=\"toolbar/Bs_Button.class.js\"></script>\r\n");
      out.write("\r\n");
      out.write(" <script type=\"text/javascript\" src=\"js/json.js\"></script>\r\n");
      out.write(" <script type=\"text/javascript\" src=\"js/jst.js\"></script>\r\n");
      out.write(" <script type=\"text/javascript\" src=\"js/jquery.js\"></script>\r\n");
      out.write(" <script type=\"text/javascript\" src=\"js/zrpc.js.jsp\"></script>\r\n");
      out.write(" <script type=\"text/javascript\" src=\"js/jquery.blockUI2.js\"></script>\r\n");
      out.write(" <script type=\"text/javascript\" src=\"js/domutil.js\"></script>\r\n");
      out.write(" \r\n");
      out.write(" \r\n");
      out.write("<script>\r\n");
      out.write("\r\n");
      out.write("function btnClicked(btnObj) {\r\n");
      out.write("\talert('Clicked the button: ' + btnObj.title);\r\n");
      out.write("}\r\n");
      out.write("\r\n");
      out.write("function getApplet()\r\n");
      out.write("{\r\n");
      out.write("\treturn parent.frames('mainFrame').document.getElementById('book');\r\n");
      out.write("}\r\n");
      out.write("\r\n");
      out.write("function ShowPropertyPane()\r\n");
      out.write("{\r\n");
      out.write("\t   var s= parent.frameset_appletandproperty.cols;\r\n");
      out.write("       var p= s.indexOf(\",\");\r\n");
      out.write("       s=s.substring(p+1 , s.length);\r\n");
      out.write("       if ( parseInt(s) >0)\r\n");
      out.write("       {\r\n");
      out.write("           parent.frameset_appletandproperty.cols=\"*,0\";\r\n");
      out.write("       }    else    \r\n");
      out.write("       {\r\n");
      out.write("\t        parent.frameset_appletandproperty.cols=\"*,310\";\r\n");
      out.write("       }\r\n");
      out.write("       \t    \t　 \r\n");
      out.write("}\r\n");
      out.write("\r\n");
      out.write("function switchRun()\r\n");
      out.write("{\r\n");
      out.write("\tparent.location.href=\"myfile_wss_run.jsp?type=wss&id=");
      if (_jspx_meth_c_005fout_005f1(_jspx_page_context))
        return;
      out.write("\";\r\n");
      out.write("}\r\n");
      out.write("\r\n");
      out.write("var currentSheetGuid =\"\";\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("function $BOOL  ( v)\r\n");
      out.write("{\r\n");
      out.write(" \r\n");
      out.write("\tif ( typeof(v)=='object') return v.booleanValue();\r\n");
      out.write("\treturn v;\r\n");
      out.write("}\r\n");
      out.write("\r\n");
      out.write("function $INT  ( v)\r\n");
      out.write("{\r\n");
      out.write(" \r\n");
      out.write("\tif ( typeof (v) =='object' ) return v.intValue();\r\n");
      out.write("    return v;\r\n");
      out.write("}\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("function loadCellProperty(sheet , row, col )\r\n");
      out.write("{\r\n");
      out.write("   currentSheetGuid = sheet.getGuid();\r\n");
      out.write("   var fontname= sheet.getCellProperty(row,col,'font-name');\r\n");
      out.write("   var font_size= sheet.getCellProperty(row,col,'font-size');\r\n");
      out.write("   \r\n");
      out.write("    var fontbold= $BOOL(sheet.getCellProperty(row,col,'font-bold'));\r\n");
      out.write("   var fontitalic= $BOOL(sheet.getCellProperty(row,col,'font-italic'));\r\n");
      out.write("   var fontunderline= $BOOL(sheet.getCellProperty(row,col,'font-underline'));\r\n");
      out.write("   var wordwrap= $BOOL(sheet.getCellProperty(row,col,'word-wrap'));\r\n");
      out.write("   var halign= $INT(sheet.getCellProperty(row,col,'align-h'));    \r\n");
      out.write("   var valign=$INT( sheet.getCellProperty(row,col,'align-v'));    \r\n");
      out.write("   \r\n");
      out.write("   \r\n");
      out.write("   document.getElementById('fontname').value=fontname;\r\n");
      out.write("   document.getElementById('fontsize').value=font_size;\r\n");
      out.write("   b_bold.setStatus( fontbold?2:1);\r\n");
      out.write("   b_italic.setStatus( fontitalic?2:1);\r\n");
      out.write("   b_underline.setStatus( fontunderline?2:1);\r\n");
      out.write("   b_wordwrap.setStatus( wordwrap?2:1);\r\n");
      out.write("   \r\n");
      out.write("   b_alignleft.setStatus( halign==0?2:1);\r\n");
      out.write("   b_alignmiddle.setStatus( halign==2?2:1);\r\n");
      out.write("   b_alignright.setStatus( halign==1?2:1);\r\n");
      out.write("   b_aligntop.setStatus( valign==0?2:1);\r\n");
      out.write("   b_aligncenter.setStatus( valign==2?2:1);\r\n");
      out.write("   b_alignbottom.setStatus( valign==1?2:1);\r\n");
      out.write("    \r\n");
      out.write("    \r\n");
      out.write("    \r\n");
      out.write("\t   if ( sheet.isCellNull( row,col) )\r\n");
      out.write("\t   {\t \r\n");
      out.write("\t               \r\n");
      out.write("\t\t\tsetProperty(\"cellname\",'R'+(row+1)+\"C\"+(col+1)) ;\r\n");
      out.write("\t \t\t \r\n");
      out.write("\t  \r\n");
      out.write("\t   } else\r\n");
      out.write("\t   {\r\n");
      out.write("\t\t   var cell=sheet.Cells(row,col);\r\n");
      out.write("\t\t   cellalias =cell.getAlias()  ;\r\n");
      out.write("\t\t    if ( cellalias!='' )  cellalias='  别名'+cellalias;\r\n");
      out.write("\t\t   setProperty(\"cellname\",cell.getName() +cellalias);\r\n");
      out.write("\t  \t   setProperty(\"celldefine\",cell.getDefine());\r\n");
      out.write("\t\t    \r\n");
      out.write("\t\t}\r\n");
      out.write(" \r\n");
      out.write("   \r\n");
      out.write("}\r\n");
      out.write("\r\n");
      out.write("function setProperty( id , value)\r\n");
      out.write("{\r\n");
      out.write("\tdocument.getElementById(id).value=value;\r\n");
      out.write("}\r\n");
      out.write("\r\n");
      out.write("function getProperty( id )\r\n");
      out.write("{\r\n");
      out.write("\treturn document.getElementById(id).value;\r\n");
      out.write("}\r\n");
      out.write("\t\r\n");
      out.write("\t\r\n");
      out.write("function  submitValue()\r\n");
      out.write("{\r\n");
      out.write("\r\n");
      out.write("        var applet=getApplet();\r\n");
      out.write("\t\tvar guid= currentSheetGuid;\r\n");
      out.write("\t \tvar sheet = applet.book.getWorkSheetByGuid(guid);\r\n");
      out.write("\t \tif ( sheet==null) return ;\r\n");
      out.write("\t \t\r\n");
      out.write("\t\tvar range= sheet.getSelection();\r\n");
      out.write(" \t\tsheet.Cells(range.getStartRow(), range.getStartCol()).setValue( document.getElementById('celldefine').value ); \r\n");
      out.write(" \t \r\n");
      out.write("\t\t\r\n");
      out.write("\r\n");
      out.write("}\t\r\n");
      out.write("\t\r\n");
      out.write("\t\r\n");
      out.write("\r\n");
      out.write("function ImportExcel(button)\r\n");
      out.write("{\r\n");
      out.write("\tgetApplet().ImportFromExcel();\r\n");
      out.write("}\r\n");
      out.write("    \r\n");
      out.write("function Cut(button)\r\n");
      out.write("{\r\n");
      out.write("\tgetApplet().book.getActiveSheet().cut();\r\n");
      out.write("}\r\n");
      out.write("function Copy(button)\r\n");
      out.write("{\r\n");
      out.write("\tgetApplet().book.getActiveSheet().copy();\r\n");
      out.write("}\r\n");
      out.write("function Paste(button)\r\n");
      out.write("{\r\n");
      out.write("\tgetApplet().book.getActiveSheet().paste();\r\n");
      out.write("}\r\n");
      out.write("\r\n");
      out.write("function Save(button)\r\n");
      out.write("{\r\n");
      out.write("\tvar applet=getApplet();\r\n");
      out.write("\t\r\n");
      out.write(" \r\n");
      out.write("\t\r\n");
      out.write("\tvar ok=applet.Save();\r\n");
      out.write("\t \r\n");
      out.write("\tif( ok)  \r\n");
      out.write("\t{\r\n");
      out.write("\t\t parent.frames('mainFrame').showOK();\r\n");
      out.write("\t\t \r\n");
      out.write("\t}\r\n");
      out.write("\t   \r\n");
      out.write("}\r\n");
      out.write("\r\n");
      out.write("function SaveH5(button)\r\n");
      out.write("{\r\n");
      out.write("\t\r\n");
      out.write("\tif(!confirm('确信要在保存时同时生成H5版本的模板配置吗？')) return;\r\n");
      out.write("\t\r\n");
      out.write("\t\r\n");
      out.write("\tvar applet=getApplet();\r\n");
      out.write("\tapplet.Save();\r\n");
      out.write("\tSave2(applet);\r\n");
      out.write(" \r\n");
      out.write("\tparent.frames('mainFrame').showOK();\r\n");
      out.write("\t \r\n");
      out.write("\t   \r\n");
      out.write("}\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("function SaveAs(button)\r\n");
      out.write("{\r\n");
      out.write("\t parent.frames('mainFrame').ExportToExcel();\r\n");
      out.write("}\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("function InsertRow(button)\r\n");
      out.write("{\r\n");
      out.write("\tvar Book=getApplet().book;\r\n");
      out.write("\tvar r = Book.getActiveSheet().getSelection();\r\n");
      out.write("\tBook.getActiveSheet().insertMultiRow(r.getStartRow(), r.getEndRow());\r\n");
      out.write("}\r\n");
      out.write("\r\n");
      out.write("function InsertRow2(button)\r\n");
      out.write("{\r\n");
      out.write("\tvar Book=getApplet().book;\r\n");
      out.write("\tvar r = Book.getActiveSheet().getSelection();\r\n");
      out.write("\tBook.getActiveSheet().insertMultiRow(r.getEndRow()+1, r.getEndRow()+1);\r\n");
      out.write("}\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("function InsertColumn(button)\r\n");
      out.write("{\r\n");
      out.write("\tvar Book=getApplet().book;\r\n");
      out.write("\tvar r = Book.getActiveSheet().getSelection();\r\n");
      out.write("\tBook.getActiveSheet().insertMultiColumn(r.getStartCol(), r.getEndCol());\r\n");
      out.write("}\r\n");
      out.write("\r\n");
      out.write("function InsertColumn2(button)\r\n");
      out.write("{\r\n");
      out.write("\tvar Book=getApplet().book;\r\n");
      out.write("\tvar r = Book.getActiveSheet().getSelection();\r\n");
      out.write("\tBook.getActiveSheet().insertMultiColumn(r.getEndCol()+1, r.getEndCol()+1);\r\n");
      out.write("}\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("function DeleteRow(button)\r\n");
      out.write("{\r\n");
      out.write("\tvar Book=getApplet().book;\r\n");
      out.write("\tvar r = Book.getActiveSheet().getSelection();\r\n");
      out.write("\tBook.getActiveSheet().deleteMultiRow(r.getStartRow(), r.getEndRow());\r\n");
      out.write("}\r\n");
      out.write("\r\n");
      out.write("function DeleteColumn(button)\r\n");
      out.write("{\r\n");
      out.write("\tvar Book=getApplet().book;\r\n");
      out.write("\tvar r = Book.getActiveSheet().getSelection();\r\n");
      out.write("\tBook.getActiveSheet().deleteMultiColumn(r.getStartCol(), r.getEndCol());\r\n");
      out.write("}\r\n");
      out.write("\r\n");
      out.write("function ShowBind(button)\r\n");
      out.write("{\r\n");
      out.write("  try\r\n");
      out.write("  {\r\n");
      out.write("\t\tvar Book=getApplet().book;\r\n");
      out.write("\t\tif( button.getStatus()==1)\r\n");
      out.write("\t\t{\r\n");
      out.write("\t\t\tbutton.setStatus(2);\r\n");
      out.write("\t\t\tBook.setCellShowBind(true);\r\n");
      out.write("\t\t}else\r\n");
      out.write("\t\t{\r\n");
      out.write("\t\t\tbutton.setStatus(1);\r\n");
      out.write("\t\t\tBook.setCellShowBind(false);\r\n");
      out.write("\t\t}\r\n");
      out.write("\t}catch(err)\r\n");
      out.write("\t{\r\n");
      out.write("\t}\r\n");
      out.write("}\r\n");
      out.write("\r\n");
      out.write("function showFormula(button)\r\n");
      out.write("{\r\n");
      out.write("\ttry\r\n");
      out.write("\t  {\r\n");
      out.write("\t\t\tvar Book=getApplet().book;\r\n");
      out.write("\t\t \r\n");
      out.write("\t\t\tif( button.getStatus()==1)\r\n");
      out.write("\t\t\t{\r\n");
      out.write("\t\t\t\tbutton.setStatus(2);\r\n");
      out.write("\t\t\t\tBook.setShowDefineIfInDesignMode(true);\r\n");
      out.write("\t\t\t}else\r\n");
      out.write("\t\t\t{\r\n");
      out.write("\t\t\t\tbutton.setStatus(1);\r\n");
      out.write("\t\t\t\tBook.setShowDefineIfInDesignMode(false);\r\n");
      out.write("\t\t\t}\r\n");
      out.write("\t\t}catch(err)\r\n");
      out.write("\t\t{\r\n");
      out.write("\t\t}\r\n");
      out.write("}\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("function GridLineSet(button)\r\n");
      out.write("{\r\n");
      out.write("\tvar Book=getApplet().book;\r\n");
      out.write("\tif( button.getStatus()==1)\r\n");
      out.write("\t{\r\n");
      out.write("\t\tbutton.setStatus(2);\r\n");
      out.write("\t\tBook.getActiveSheet().setGridLineVisible(true);\r\n");
      out.write("\t}else\r\n");
      out.write("\t{\r\n");
      out.write("\t\tbutton.setStatus(1);\r\n");
      out.write("\t\tBook.getActiveSheet().setGridLineVisible(false);\r\n");
      out.write("\t}\r\n");
      out.write("}\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("function BindSet()\r\n");
      out.write("{\r\n");
      out.write("\t\tvar file=  \"flowform/");
      if (_jspx_meth_c_005fout_005f2(_jspx_page_context))
        return;
      out.write('/');
      if (_jspx_meth_c_005fout_005f3(_jspx_page_context))
        return;
      out.write("/db.xml\" ;\r\n");
      out.write(" \r\n");
      out.write("\tfile=escape(file);\r\n");
      out.write("\tvar f=document.getElementById('scriptedit');\r\n");
      out.write("\r\n");
      out.write("\tf.src=\"servlet/wiseoa.WiseEdit?filename=\"+file;\r\n");
      out.write(" \r\n");
      out.write("\t\r\n");
      out.write("}\r\n");
      out.write("\r\n");
      out.write("function ScriptEdit()\r\n");
      out.write("{\r\n");
      out.write("\tvar file=  \"flowform/");
      if (_jspx_meth_c_005fout_005f4(_jspx_page_context))
        return;
      out.write('/');
      if (_jspx_meth_c_005fout_005f5(_jspx_page_context))
        return;
      out.write("/script.js\" ;\r\n");
      out.write(" \r\n");
      out.write("\tfile=escape(file);\r\n");
      out.write("\tvar f=document.getElementById('scriptedit');\r\n");
      out.write("\r\n");
      out.write(" \r\n");
      out.write("\tf.src=\"servlet/wiseoa.WiseEdit?filename=\"+file;\r\n");
      out.write(" \r\n");
      out.write("\t\r\n");
      out.write("\t\r\n");
      out.write("}\r\n");
      out.write("\r\n");
      out.write("function selectBGColor2( btnObj)\r\n");
      out.write("{\r\n");
      out.write("\tif (! confirm(\"确信要清除背景颜色?\")) return;\r\n");
      out.write("\tsetSelectionProperty( 'background-mode', 0); \r\n");
      out.write("\t \r\n");
      out.write("\t\r\n");
      out.write("}\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("function selectBGColor( btnObj)\r\n");
      out.write("{\r\n");
      out.write("\tvar color=selectColor(\"#ffaaaa\");\r\n");
      out.write("\tif(color==undefined) return;\r\n");
      out.write("\t \r\n");
      out.write("\tvar c=getApplet().Hex2Color(color);\r\n");
      out.write("\r\n");
      out.write("\tsetSelectionProperty( 'background-mode', 1); \r\n");
      out.write("\tsetSelectionProperty( 'background-color', c);\r\n");
      out.write("\t\r\n");
      out.write("}\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("function selectTextColor( btnObj)\r\n");
      out.write("{\r\n");
      out.write("\tvar color=selectColor(\"#ffaaaa\");\r\n");
      out.write("\tif(color==undefined) return;\r\n");
      out.write("\tsetSelectionProperty( 'font-color', getApplet().Hex2Color(color));\r\n");
      out.write("\t\r\n");
      out.write("\t\r\n");
      out.write("}\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("function selectColor( oldcolor)\r\n");
      out.write("{\r\n");
      out.write("\t\r\n");
      out.write("    var posX    = event.screenX;\r\n");
      out.write("    var posY    = event.screenY + 20;\r\n");
      out.write("    var screenW = screen.width;                                 // screen size\r\n");
      out.write("    var screenH = screen.height - 20;                           // take taskbar into account\r\n");
      out.write("    if (posX + 232 > screenW) { posX = posX - 232 - 40; }       // if mouse too far right\r\n");
      out.write("    if (posY + 164 > screenH) { posY = posY - 164 - 80; }       // if mouse too far down\r\n");
      out.write("    var wPosition   = \"dialogLeft:\" +posX+ \"; dialogTop:\" +posY;\r\n");
      out.write("\r\n");
      out.write("    \r\n");
      out.write("    var newcolor = showModalDialog( \"selcolor.jsp\", oldcolor,\r\n");
      out.write("                                   \"dialogWidth:238px; dialogHeight: 240px; \"\r\n");
      out.write("                                   + \"resizable: no; help: no; status: no; scroll: no; \"\r\n");
      out.write("                                   + wPosition);\r\n");
      out.write("   \r\n");
      out.write("\treturn newcolor;\r\n");
      out.write("\t\t\t\r\n");
      out.write("}\r\n");
      out.write("\t\r\n");
      out.write("\t\r\n");
      out.write("\t\r\n");
      out.write("function getApplet()\r\n");
      out.write("{\r\n");
      out.write("\treturn parent.frames('mainFrame').document.getElementById('book');\r\n");
      out.write("}\r\n");
      out.write("\r\n");
      out.write(" \r\n");
      out.write(" \r\n");
      out.write(" \r\n");
      out.write(" \r\n");
      out.write("function createBar()\r\n");
      out.write("{\r\n");
      out.write("\r\n");
      out.write(" \tvar b=new Bs_ButtonBar();\r\n");
      out.write("\tb.imgPath = 'workbook/toolbar/';\r\n");
      out.write("\treturn b;\r\n");
      out.write("}\r\n");
      out.write("\r\n");
      out.write("function createButton( bar , title,caption,img, clickEvent)\r\n");
      out.write("{\r\n");
      out.write("  var b1 = new Bs_Button();\r\n");
      out.write("  b1.title = title;\r\n");
      out.write("   \r\n");
      out.write("  if ( caption!='') b1.caption=caption;\r\n");
      out.write(" \r\n");
      out.write("  b1.imgPath = 'workbook/toolbar/';\r\n");
      out.write("  b1.imgName = img;\r\n");
      out.write("  \r\n");
      out.write("  if( clickEvent==undefined) clickEvent=btnClicked;\r\n");
      out.write("  \r\n");
      out.write("  b1.attachEvent(clickEvent);\r\n");
      out.write("  bar.addButton(b1, '');\r\n");
      out.write("  return b1;\r\n");
      out.write("}\r\n");
      out.write("\r\n");
      out.write("/*\r\n");
      out.write("设置字体名称\r\n");
      out.write("*/\r\n");
      out.write("function SetFontName()\r\n");
      out.write("{\r\n");
      out.write("\tvar fontname= document.getElementById('fontname').value;\r\n");
      out.write("\tsetSelectionProperty( 'font-name', fontname);\r\n");
      out.write("}\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("function setSelectionProperty(propertyName , propertyValue)\r\n");
      out.write("{\r\n");
      out.write("\tvar book=getApplet().book;\r\n");
      out.write("\tvar r = book.getActiveSheet().getSelection();\r\n");
      out.write("\tbook.getActiveSheet().setRangeProperty(r, propertyName, propertyValue);\r\n");
      out.write("} \r\n");
      out.write("\r\n");
      out.write("function SetFontSize()\r\n");
      out.write("{\r\n");
      out.write("\tvar fontsize=   document.getElementById('fontsize').value  ;\r\n");
      out.write("\tsetSelectionProperty( 'font-size', fontsize );\r\n");
      out.write("\r\n");
      out.write("}\r\n");
      out.write("\r\n");
      out.write("function setFontBold(button)\r\n");
      out.write("{\r\n");
      out.write("\tvar state=button.getStatus( );\r\n");
      out.write("\tif ( state==1)\r\n");
      out.write("\t{\r\n");
      out.write("\t\tbutton.setStatus(2);\r\n");
      out.write("\t\tsetSelectionProperty( 'font-bold', true);\r\n");
      out.write("\r\n");
      out.write("\t}else\r\n");
      out.write("\t{\r\n");
      out.write("\t\tbutton.setStatus(1);\r\n");
      out.write("\t\tsetSelectionProperty( 'font-bold', false);\r\n");
      out.write("\t}\r\n");
      out.write("\t\r\n");
      out.write("}\r\n");
      out.write("\r\n");
      out.write("function setFontItalic(button)\r\n");
      out.write("{\r\n");
      out.write("\tvar state=button.getStatus( );\r\n");
      out.write("\tif ( state==1)\r\n");
      out.write("\t{\r\n");
      out.write("\t\tbutton.setStatus(2);\r\n");
      out.write("\t\tsetSelectionProperty( 'font-italic', true);\r\n");
      out.write("\r\n");
      out.write("\t}else\r\n");
      out.write("\t{\r\n");
      out.write("\t\tbutton.setStatus(1);\r\n");
      out.write("\t\tsetSelectionProperty( 'font-italic', false);\r\n");
      out.write("\t}\r\n");
      out.write("\t\r\n");
      out.write("}\r\n");
      out.write("\r\n");
      out.write("function setFontUnderline(button)\r\n");
      out.write("{\r\n");
      out.write("\tvar state=button.getStatus( );\r\n");
      out.write("\tif ( state==1)\r\n");
      out.write("\t{\r\n");
      out.write("\t\tbutton.setStatus(2);\r\n");
      out.write("\t\tsetSelectionProperty('font-underline', true);\r\n");
      out.write("\r\n");
      out.write("\t}else\r\n");
      out.write("\t{\r\n");
      out.write("\t\tbutton.setStatus(1);\r\n");
      out.write("\t\tsetSelectionProperty( 'font-underline', false);\r\n");
      out.write("\t}\r\n");
      out.write("\t\r\n");
      out.write("}\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("function setFontWordWrap(button)\r\n");
      out.write("{\r\n");
      out.write("\tvar state=button.getStatus( );\r\n");
      out.write("\tif ( state==1)\r\n");
      out.write("\t{\r\n");
      out.write("\t\tbutton.setStatus(2);\r\n");
      out.write("\t\tsetSelectionProperty( 'word-wrap', true);\r\n");
      out.write("\r\n");
      out.write("\t}else\r\n");
      out.write("\t{\r\n");
      out.write("\t\tbutton.setStatus(1);\r\n");
      out.write("\t\tsetSelectionProperty( 'word-wrap', false);\r\n");
      out.write("\t}\r\n");
      out.write("\t\r\n");
      out.write("}\r\n");
      out.write("\r\n");
      out.write("function setAlignLeft(button)\r\n");
      out.write("{\r\n");
      out.write("\tsetSelectionProperty( 'align-h', 0);\r\n");
      out.write("\tb_alignleft.setStatus(1);\r\n");
      out.write("\tb_alignmiddle.setStatus(1);\r\n");
      out.write("\tb_alignright.setStatus(1);\r\n");
      out.write("\tbutton.setStatus(2);\r\n");
      out.write("}\r\n");
      out.write("\r\n");
      out.write("function setAlignMiddle(button)\r\n");
      out.write("{\r\n");
      out.write("\tsetSelectionProperty( 'align-h',2);\r\n");
      out.write("\tb_alignleft.setStatus(1);\r\n");
      out.write("\tb_alignmiddle.setStatus(1);\r\n");
      out.write("\tb_alignright.setStatus(1);\r\n");
      out.write("\tbutton.setStatus(2);\r\n");
      out.write("}\r\n");
      out.write("\r\n");
      out.write("function setAlignRight(button)\r\n");
      out.write("{\r\n");
      out.write("\tsetSelectionProperty( 'align-h', 1);\r\n");
      out.write("\tb_alignleft.setStatus(1);\r\n");
      out.write("\tb_alignmiddle.setStatus(1);\r\n");
      out.write("\tb_alignright.setStatus(1);\r\n");
      out.write("\tbutton.setStatus(2);\r\n");
      out.write("}\r\n");
      out.write("\r\n");
      out.write("function setAlignTop(button)\r\n");
      out.write("{\r\n");
      out.write("\tsetSelectionProperty( 'align-v', 0);\r\n");
      out.write("\tb_aligntop.setStatus(1);\r\n");
      out.write("\tb_aligncenter.setStatus(1);\r\n");
      out.write("\tb_alignbottom.setStatus(1);\r\n");
      out.write("\tbutton.setStatus(2);\r\n");
      out.write("}\r\n");
      out.write("\r\n");
      out.write("function setAlignCenter(button)\r\n");
      out.write("{\r\n");
      out.write("\tsetSelectionProperty( 'align-v', 2);\r\n");
      out.write("\tb_aligntop.setStatus(1);\r\n");
      out.write("\tb_aligncenter.setStatus(1);\r\n");
      out.write("\tb_alignbottom.setStatus(1);\r\n");
      out.write("\tbutton.setStatus(2);\r\n");
      out.write("}\r\n");
      out.write("\r\n");
      out.write("function setAlignBottom(button)\r\n");
      out.write("{\r\n");
      out.write("\tsetSelectionProperty( 'align-v', 1);\r\n");
      out.write("\tb_aligntop.setStatus(1);\r\n");
      out.write("\tb_aligncenter.setStatus(1);\r\n");
      out.write("\tb_alignbottom.setStatus(1);\r\n");
      out.write("\tbutton.setStatus(2);\r\n");
      out.write("}\r\n");
      out.write("\r\n");
      out.write("function merge(button)\r\n");
      out.write("{\r\n");
      out.write(" \r\n");
      out.write("\tvar book= getApplet().book;\r\n");
      out.write("\tvar sheet = book.getActiveSheet();\r\n");
      out.write("\tvar r = sheet.getSelection();\r\n");
      out.write("\tsheet.UnMerge(r.getStartRow(), r.getStartCol(), r.getEndRow(), r.getEndCol());\r\n");
      out.write("\tsheet.Merge(r.getStartRow(), r.getStartCol(), r.getEndRow(), r.getEndCol());\r\n");
      out.write("}\r\n");
      out.write("\r\n");
      out.write("function unMerge(button)\r\n");
      out.write("{\r\n");
      out.write("\tvar book=getApplet().book;\r\n");
      out.write("\tvar sheet = book.getActiveSheet();\r\n");
      out.write("\tvar r = sheet.getSelection();\r\n");
      out.write("\tsheet.UnMerge(r.getStartRow(), r.getStartCol(), r.getEndRow(), r.getEndCol());\r\n");
      out.write("}\r\n");
      out.write("\r\n");
      out.write("function AddFocusRange()\r\n");
      out.write("{\r\n");
      out.write("\tvar book=getApplet().book;\r\n");
      out.write("\tbook.do_addFocusRange();\r\n");
      out.write("\tb_FocusRangeVisible.setStatus(2);\r\n");
      out.write("} \r\n");
      out.write("\r\n");
      out.write("function RemoveFocusRange()\r\n");
      out.write("{\r\n");
      out.write("\tvar book=getApplet().book;\r\n");
      out.write("\tbook.do_removeFocusRange();\r\n");
      out.write("\tb_FocusRangeVisible.setStatus(2);\r\n");
      out.write("} \r\n");
      out.write("\t\r\n");
      out.write("function SetFocusRangeNo()\r\n");
      out.write("{\r\n");
      out.write("\tvar book=getApplet().book;\r\n");
      out.write("\tbook.do_setFocusRangeNo();\r\n");
      out.write("\tb_FocusRangeVisible.setStatus(2);\r\n");
      out.write("} \r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("function SetFocusRangeVisible(button)\r\n");
      out.write("{\r\n");
      out.write("\tvar Book=getApplet().book;\r\n");
      out.write("\tif( button.getStatus()==1)\r\n");
      out.write("\t{\r\n");
      out.write("\t\tbutton.setStatus(2);\r\n");
      out.write("\t\tBook.setFocusRangeVisible(true);\r\n");
      out.write("\t}else\r\n");
      out.write("\t{\r\n");
      out.write("\t\tbutton.setStatus(1);\r\n");
      out.write("\t\tBook.setFocusRangeVisible(false);\r\n");
      out.write("\t}\r\n");
      out.write("}\r\n");
      out.write("\r\n");
      out.write("function exportTemplate()\r\n");
      out.write("{\r\n");
      out.write("\tvar f=$E('form_download') ;\r\n");
      out.write(" \r\n");
      out.write("\tf.submit();\r\n");
      out.write(" \r\n");
      out.write("\r\n");
      out.write("}\r\n");
      out.write("\r\n");
      out.write("function importTemplate()\r\n");
      out.write("{\r\n");
      out.write("\t$E('uploadContainer').style.display='';\r\n");
      out.write("}\r\n");
      out.write("\r\n");
      out.write("function uploadFile()\r\n");
      out.write("{\r\n");
      out.write("\tif(!confirm(\"确信要上传吗?\")) return; \r\n");
      out.write("\t{\r\n");
      out.write("\t\t$E('uploadContainer').style.display='none';\r\n");
      out.write("\t\t$E('upload').reset();\r\n");
      out.write("\t}\r\n");
      out.write("\t \r\n");
      out.write("\t$E('upload').submit();\r\n");
      out.write("}\r\n");
      out.write("</script>\r\n");
      out.write("\r\n");
      out.write("<BODY> \r\n");
      out.write(" <FORM  style=\"display:none\"  id='form_download'   name='form_download'   \r\n");
      out.write("\t\tmethod=\"POST\" action=\"servlet/wiseoa.flow.jsprpc.DownloadTemplate\"    target='frame_download'>\r\n");
      out.write("\t\t\t<input  id=\"id\" name=\"id\"  value='");
      if (_jspx_meth_c_005fout_005f6(_jspx_page_context))
        return;
      out.write("'>\r\n");
      out.write("\t\t \r\n");
      out.write("</FORM>\r\n");
      out.write("  <iframe id=\"frame_download\"     name=\"frame_download\"  style=\"display:none\" ></iframe>\r\n");
      out.write("  \r\n");
      out.write("  \r\n");
      out.write("\r\n");
      out.write("<table width=\"100%\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" style=\"font-size:12px\">\r\n");
      out.write("  <tr>\r\n");
      out.write("    <td width=\"2%\"   background=\"workbook/bk.jpg\" ><img src=\"workbook/gip.jpg\" width=\"12\" height=\"26\" align=\"absmiddle\"></td>\r\n");
      out.write("    <td colspan=\"3\" valign=\"middle\" background=\"workbook/bk2.jpg\"  >\r\n");
      out.write("\t<table border=0 cellpadding=\"0\" cellspacing=\"0\"><tr><td><div id=\"buttonBar\" style=\"padding:1px; \"></div></td>\r\n");
      out.write("\t\r\n");
      out.write("\t<td id=uploadContainer style=\"display:none;\">\r\n");
      out.write("\t <table><form name=\"upload\" inline  target='frame_upload'  enctype=\"multipart/form-data\" method=\"post\" action=\"servlet/wiseoa.flow.jsprpc.UploadTemplate\">\r\n");
      out.write("\t  <tr><td>     <input type=\"file\" name=\"file\" id=\"file\" class=\"w100px flatbox\" style=\"background-color:white;\" onChange=\"uploadFile()\" >\r\n");
      out.write("\t  \t\t<INPUT id=\"id\" name=\"id\" type=\"hidden\" value='");
      if (_jspx_meth_c_005fout_005f7(_jspx_page_context))
        return;
      out.write("'>\r\n");
      out.write("\t  \t \r\n");
      out.write("       </td></tr></form></table>\r\n");
      out.write("       \r\n");
      out.write("       \r\n");
      out.write("\t  <iframe id=\"frame_upload\"     name=\"frame_upload\"  style=\"display:none\" ></iframe>\r\n");
      out.write(" \r\n");
      out.write("\t</td></tr></table></td>\r\n");
      out.write("\t \r\n");
      out.write("  </tr>\r\n");
      out.write("  <tr>\r\n");
      out.write("    <td background=\"workbook/bk.jpg\" ><img src=\"workbook/gip.jpg\" width=\"12\" height=\"26\" align=\"absmiddle\" ></td>\r\n");
      out.write("    <td nowrap  background=\"workbook/bk2.jpg\"  valign=\"middle\">\r\n");
      out.write("    <select name=\"select\" class='flatselect'  id='fontname'   style='font-size:12px'  \r\n");
      out.write("\t\t\t   onChange='SetFontName()'>\r\n");
      out.write("\t<option value=\"自动\">自动</option>\t\t   \r\n");
      out.write("      <option value=\"宋体\">宋体</option>\r\n");
      out.write("      <option value=\"新宋体\">新宋体</option>\r\n");
      out.write("      <option value=\"隶书\">隶书</option>\r\n");
      out.write("      <option value=\"楷体_GB2312\">楷体_GB2312</option>\r\n");
      out.write("      <option value=\"方正舒体\">方正舒体</option>\r\n");
      out.write("      <option value=\"黑体\">黑体</option>\r\n");
      out.write("      <option value=\"华文彩云\">华文彩云</option>\r\n");
      out.write("      <option value=\"华文仿宋\">华文仿宋</option>\r\n");
      out.write("      <option value=\"华文琥珀\">华文琥珀</option>\r\n");
      out.write("      <option value=\"华文隶书\">华文隶书</option>\r\n");
      out.write("      <option value=\"华文新魏\">华文新魏</option>\r\n");
      out.write("      <option value=\"华文行楷\">华文行楷</option>\r\n");
      out.write("      <option value=\"华文中宋\">华文中宋</option>\r\n");
      out.write("      <option value=\"华文仿宋\">华文仿宋</option>\r\n");
      out.write("      <option value=\"幼圆\">幼圆</option>\r\n");
      out.write("      \r\n");
      out.write("      <option value=\"微软雅黑\">微软雅黑</option>\r\n");
      out.write("      <option value=\"Arial\">Arial</option>\r\n");
      out.write("      <option value=\"Courier New\">Courier New</option>\r\n");
      out.write("      <option value=\"Lucida Console\">Lucida Console</option>\r\n");
      out.write("      <option value=\"Lucida Sans\">Lucida Sans</option>\r\n");
      out.write("      <option value=\"Lucida Sans Unicode\">Lucida Sans Unicode</option> \r\n");
      out.write("      <option value=\"Microsoft Sans Serif\">Microsoft Sans Serif</option>\r\n");
      out.write("      <option value=\"sansserif\">sansserif</option>\r\n");
      out.write("      <option value=\"Times New Roman\">Times New Roman</option>\r\n");
      out.write("      <option value=\"Tahoma\">Tahoma</option>\r\n");
      out.write("      <option value=\"Verdana\">Verdana</option>\r\n");
      out.write("    </select> \r\n");
      out.write("    <select name=\"select2\" class='flatselect2'  id='fontsize'   style='font-size:12px'  \r\n");
      out.write("\t\t\t   onChange='SetFontSize(); '>\r\n");
      out.write("        <option value=5>5</option>\r\n");
      out.write("        <option value=6>6</option>\r\n");
      out.write("        <option value=7>7</option>\r\n");
      out.write("        <option value=8>8</option>\r\n");
      out.write("        <option value=9>9</option>\r\n");
      out.write("        <option value=10>10</option>\r\n");
      out.write("        <option value=11>11</option>\r\n");
      out.write("        <option value=12>12</option>\r\n");
      out.write("        <option value=14>14</option>\r\n");
      out.write("        <option value=16>16</option>\r\n");
      out.write("        <option value=18>18</option>\r\n");
      out.write("        <option value=20>20</option>\r\n");
      out.write("        <option value=22>22</option>\r\n");
      out.write("        <option value=24>24</option>\r\n");
      out.write("        <option value=26>26</option>\r\n");
      out.write("        <option value=28>28</option>\r\n");
      out.write("        <option value=36>36</option>\r\n");
      out.write("        <option value=48>48</option>\r\n");
      out.write("\t\t<option value=72>72</option>\r\n");
      out.write("      </select>\r\n");
      out.write("\t  <br>\r\n");
      out.write("    </td>\r\n");
      out.write("    <td width=\"2%\"   background=\"workbook/bk2.jpg\"  ><img src=\"workbook/gip.jpg\" width=\"12\" height=\"26\" align=\"absmiddle\"></td>\r\n");
      out.write("    <td width=\"90%\"   background=\"workbook/bk2.jpg\"  ><span id=\"buttonBar2\" style=\"padding:2px; \">\r\n");
      out.write("    \r\n");
      out.write("    </span>【<img src=\"image/edit6.gif\" align=absmiddle><a href=\"javascript:EditFile('script.js')\" >编辑脚本</a>】\r\n");
      out.write("    ");
      if (_jspx_meth_c_005fif_005f0(_jspx_page_context))
        return;
      out.write("\r\n");
      out.write("     </span>【<img src=\"image/edit6.gif\" align=absmiddle><a href=\"javascript:EditFile('mobile_script.js')\" >移动开发</a>】\r\n");
      out.write("      </span>【<img src=\"image/edit6.gif\" align=absmiddle><a href=\"javascript:EditFile('h5-script.js')\" >H5开发</a>】\r\n");
      out.write("    </td>\r\n");
      out.write("    \r\n");
      out.write("  </tr>\r\n");
      out.write("  <tr>\r\n");
      out.write("    <td background=\"workbook/bk.jpg\" ><img src=\"workbook/gip.jpg\" width=\"12\" height=\"26\" align=\"absmiddle\" ></td>\r\n");
      out.write("    <td nowrap  background=\"workbook/bk2.jpg\"  valign=\"left\" width=\"100%\"  colspan=\"5\">\r\n");
      out.write("<input type=\"text\" name=\"cellname\" id=\"cellname\"  class='flatbox  px12'  style=\"width:152px;\"  disabled title=\"单元格名称及别名\">\r\n");
      out.write("\r\n");
      out.write("<script language=\"javascript\">\r\n");
      out.write("  function function_help()\r\n");
      out.write("  {\r\n");
      out.write("  \twindow.open('function.jsp', \"help\", \"left=150px, top=150 ,width=700 ,height=450 , scrollbars=yes,status=no, resizable=yes,\");\r\n");
      out.write("  }\r\n");
      out.write("  \r\n");
      out.write("  </script>\r\n");
      out.write("  &nbsp;&nbsp;\r\n");
      out.write("    <img src=\"image/function.gif\" class=\"asbutton\" width=\"16\" height=\"16\"  align=\"absmiddle\" onClick=\"function_help();\">\r\n");
      out.write(" <input type=\"text\" name=\"celldefine\" id=\"celldefine\"  class='flatbox px12' size=\"80\"  onkeyup=\"if ( event.keyCode==13 ||true)  submitValue();\" \r\n");
      out.write("   title= \"按回车设置单元格的值\" >\r\n");
      out.write("   &nbsp;&nbsp;\r\n");
      out.write("   ");
      if (_jspx_meth_c_005fif_005f1(_jspx_page_context))
        return;
      out.write("\r\n");
      out.write(" \r\n");
      out.write("   \r\n");
      out.write("    </td>\r\n");
      out.write("   \r\n");
      out.write("</table>\r\n");
      out.write("<iframe  style=\"display:none\" id=\"scriptedit\" src=\"\"></iframe>\r\n");
      out.write("\r\n");
      out.write("<script language='javascript'>\r\n");
      out.write("function autoLayout( )\r\n");
      out.write("{\r\n");
      out.write("\tvar applet=getApplet();\r\n");
      out.write(" \r\n");
      out.write("\tapplet.RunScript(\"autoLayout_onclick\");\r\n");
      out.write("}\r\n");
      out.write("\r\n");
      out.write("function EditFile( f)\r\n");
      out.write("{\r\n");
      out.write("\tvar file=  \"");
      if (_jspx_meth_c_005fout_005f8(_jspx_page_context))
        return;
      out.write('/');
      if (_jspx_meth_c_005fout_005f9(_jspx_page_context))
        return;
      out.write("/\"+f ;\r\n");
      out.write("\r\n");
      out.write("\tfile=escape(file);\r\n");
      out.write("   ");
      if (_jspx_meth_c_005fif_005f2(_jspx_page_context))
        return;
      out.write("\r\n");
      out.write("   \r\n");
      out.write("   ");
      if (_jspx_meth_c_005fif_005f5(_jspx_page_context))
        return;
      out.write("\r\n");
      out.write("   \t\r\n");
      out.write("}\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("  var bar1= createBar();\r\n");
      out.write("\r\n");
      out.write(" \r\n");
      out.write("  var b_save=createButton( bar1,'保存','保存','button.save',Save );  \r\n");
      out.write("  var b_save=createButton( bar1,'保存H5','保存H5','button.save',SaveH5 );  \r\n");
      out.write("  \r\n");
      out.write("  var b_saveas=createButton( bar1,'存为Excel','存为Excel','xls',SaveAs );  \r\n");
      out.write("  \r\n");
      out.write("   bar1.newGroup();\r\n");
      out.write("  var b_cut=createButton( bar1,'剪切','','button.cut', Cut);\r\n");
      out.write("  var b_copy=createButton( bar1,'复制','','button.copy',Copy);\r\n");
      out.write("  var b_paste=createButton( bar1,'粘贴','','button.paste' ,Paste);\r\n");
      out.write("  \r\n");
      out.write("   bar1.newGroup();\r\n");
      out.write("  var b_insertrow=createButton( bar1,'插入整行','','tableinsertrow',InsertRow);\r\n");
      out.write("  var b_insertrow2=createButton( bar1,'在后面插入整行','','tableinsertrowafter',InsertRow2);\r\n");
      out.write("  bar1.newGroup();  \r\n");
      out.write("  var b_insertcol=createButton( bar1,'插入整列','','tableinsertcolumn',InsertColumn);\r\n");
      out.write("  var b_insertcol2=createButton( bar1,'在后面插入整列','','tableinsertcolumnafter',InsertColumn2);\r\n");
      out.write("  \r\n");
      out.write("   bar1.newGroup();\r\n");
      out.write("  var b_deleterow=createButton( bar1,'删除整行','','tabledeleterows',DeleteRow);\r\n");
      out.write("  var b_deletecol=createButton( bar1,'删除整列','','tabledeletecolumns',DeleteColumn);\r\n");
      out.write("   bar1.newGroup();\r\n");
      out.write("   \r\n");
      out.write(" \r\n");
      out.write("   \r\n");
      out.write("  var b_showbind=createButton( bar1,'亮显绑定','亮显绑定','universalkey',ShowBind);\r\n");
      out.write("   var b_gridline=createButton( bar1,'隐藏网格线','网格线','table',GridLineSet);\r\n");
      out.write("   var b_showFormula=createButton( bar1,'显示公式','显示公式','table',showFormula);\r\n");
      out.write("   bar1.newGroup();\r\n");
      out.write("   \r\n");
      out.write("   var b_addFocusRange=createButton( bar1,'增加焦点区域','','focusrangeadd',AddFocusRange);\r\n");
      out.write("   var b_removeFocusRange=createButton( bar1,'删除焦点区域','','focusrangedel',RemoveFocusRange);\r\n");
      out.write("   var b_setFocusRangeNo=createButton( bar1,'设置焦点区域顺序','','focusrangeno',SetFocusRangeNo);\r\n");
      out.write("   var b_FocusRangeVisible=createButton( bar1,'焦点区域可见或隐藏','','focusrangevisible',SetFocusRangeVisible);\r\n");
      out.write("   \r\n");
      out.write("   bar1.newGroup();\r\n");
      out.write("   \r\n");
      out.write("   var b_cellproperty=createButton( bar1,'属性','属性','p12', ShowPropertyPane);\r\n");
      out.write("     ");
      if (_jspx_meth_c_005fif_005f8(_jspx_page_context))
        return;
      out.write("\r\n");
      out.write("      \r\n");
      out.write("  var b_export=createButton( bar1,'将整个模板打包下载','导出','zip', exportTemplate);\r\n");
      out.write("  var b_import=createButton( bar1,'将打包的模板上传到服务器','导入','unzip', importTemplate);\r\n");
      out.write("         \r\n");
      out.write("  bar1.newGroup();\r\n");
      out.write("   \r\n");
      out.write("  bar1.drawInto('buttonBar');\r\n");
      out.write("\r\n");
      out.write("  \r\n");
      out.write("  var bar2= createBar();\r\n");
      out.write("  var b_bold=createButton( bar2,'加粗','','button.bold' , setFontBold);\r\n");
      out.write("  var b_italic=createButton( bar2,'倾斜','','button.italic',setFontItalic);\r\n");
      out.write("  var b_underline=createButton( bar2,'加下划线','','button.underline' ,setFontUnderline);\r\n");
      out.write("  var b_wordwrap=createButton( bar2,'自动换行','','wordwrap',setFontWordWrap);\r\n");
      out.write("\r\n");
      out.write("  bar2.newGroup();\r\n");
      out.write("  var b_alignleft=createButton( bar2,'水平左对齐','','button.justifyleft' , setAlignLeft);\r\n");
      out.write("  var b_alignmiddle=createButton( bar2,'水平居中对齐','','button.justifycenter',setAlignMiddle);\r\n");
      out.write("  var b_alignright=createButton( bar2,'水平右对齐','','button.justifyright',setAlignRight);\r\n");
      out.write("  bar2.newGroup();\r\n");
      out.write("  var b_aligntop=createButton( bar2,'垂直顶边对齐','','aligntop',setAlignTop);\r\n");
      out.write("  var b_aligncenter=createButton( bar2,'垂直居中对齐','','aligncenter',setAlignCenter);\r\n");
      out.write("  var b_alignbottom=createButton( bar2,'垂直底边对齐','','alignbottom',setAlignBottom);\r\n");
      out.write("  \r\n");
      out.write("  bar2.newGroup();\r\n");
      out.write("   \r\n");
      out.write("  var b_merge=createButton( bar2,'单元格合并','','merge',merge);\r\n");
      out.write("  var b_unmerge=createButton( bar2,'取消单元格合并','','unmerge', unMerge);\r\n");
      out.write("  \r\n");
      out.write("   \r\n");
      out.write("   bar2.newGroup();\r\n");
      out.write("\r\n");
      out.write("   var b_bgcolor0=createButton( bar2,'取消填充颜色','','bgcolor2', selectBGColor2);\r\n");
      out.write("    \r\n");
      out.write("  var b_bgcolor=createButton( bar2,'填充颜色','','bgcolor', selectBGColor);\r\n");
      out.write("  \r\n");
      out.write("  var b_textcolor=createButton( bar2,'字体颜色','','textcolor',selectTextColor);\r\n");
      out.write("  \r\n");
      out.write("  bar2.newGroup();\r\n");
      out.write("  \r\n");
      out.write("  var b_doc=createButton( bar2,'文档','文档','button.new', openDocument);\r\n");
      out.write("  \r\n");
      out.write("   \r\n");
      out.write("  bar2.drawInto('buttonBar2');\r\n");
      out.write("  \r\n");
      out.write("  //初始的按键状态\r\n");
      out.write("  \r\n");
      out.write("  \r\n");
      out.write("     b_showbind.setStatus(2);\r\n");
      out.write("     b_showFormula.setStatus(2);\r\n");
      out.write("\r\n");
      out.write("  //   GridLineSet(b_gridline);\r\n");
      out.write("     b_gridline.setStatus(2);\r\n");
      out.write("    \r\n");
      out.write("window.onload=function()\r\n");
      out.write("{\r\n");
      out.write("\t\r\n");
      out.write("\t\r\n");
      out.write("\t\r\n");
      out.write("  ");
      if (_jspx_meth_c_005fif_005f9(_jspx_page_context))
        return;
      out.write("\r\n");
      out.write("    \r\n");
      out.write("    //打开属性设置\r\n");
      out.write("   ");
      if (_jspx_meth_c_005fif_005f10(_jspx_page_context))
        return;
      out.write("     \r\n");
      out.write("}\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("function openDocument()\r\n");
      out.write("{\r\n");
      out.write("\topen('workbook_document_edit.jsp");
      if (_jspx_meth_c_005fout_005f11(_jspx_page_context))
        return;
      out.write("');\r\n");
      out.write("}\r\n");
      out.write("\r\n");
      out.write("  \r\n");
      out.write("</script>\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("<iframe  style=\"display:none\" id=\"scriptedit\" src=\"\"></iframe>\r\n");
      out.write("<iframe style=\"display:none\"  id=\"dbedit\" src=\"\"></iframe>\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("</BODY>\r\n");
      out.write("</HTML>\r\n");
    } catch (java.lang.Throwable t) {
      if (!(t instanceof javax.servlet.jsp.SkipPageException)){
        out = _jspx_out;
        if (out != null && out.getBufferSize() != 0)
          try {
            if (response.isCommitted()) {
              out.flush();
            } else {
              out.clearBuffer();
            }
          } catch (java.io.IOException e) {}
        if (_jspx_page_context != null) _jspx_page_context.handlePageException(t);
        else throw new ServletException(t);
      }
    } finally {
      _jspxFactory.releasePageContext(_jspx_page_context);
    }
  }

  private boolean _jspx_meth_c_005fout_005f0(javax.servlet.jsp.PageContext _jspx_page_context)
          throws java.lang.Throwable {
    javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
    javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
    //  c:out
    org.apache.taglibs.standard.tag.rt.core.OutTag _jspx_th_c_005fout_005f0 = (org.apache.taglibs.standard.tag.rt.core.OutTag) _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.get(org.apache.taglibs.standard.tag.rt.core.OutTag.class);
    _jspx_th_c_005fout_005f0.setPageContext(_jspx_page_context);
    _jspx_th_c_005fout_005f0.setParent(null);
    // /workbook_config_toolbar.jsp(109,81) name = value type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_c_005fout_005f0.setValue((java.lang.Object) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${randomVer}", java.lang.Object.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false));
    int _jspx_eval_c_005fout_005f0 = _jspx_th_c_005fout_005f0.doStartTag();
    if (_jspx_th_c_005fout_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f0);
      return true;
    }
    _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f0);
    return false;
  }

  private boolean _jspx_meth_c_005fout_005f1(javax.servlet.jsp.PageContext _jspx_page_context)
          throws java.lang.Throwable {
    javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
    javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
    //  c:out
    org.apache.taglibs.standard.tag.rt.core.OutTag _jspx_th_c_005fout_005f1 = (org.apache.taglibs.standard.tag.rt.core.OutTag) _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.get(org.apache.taglibs.standard.tag.rt.core.OutTag.class);
    _jspx_th_c_005fout_005f1.setPageContext(_jspx_page_context);
    _jspx_th_c_005fout_005f1.setParent(null);
    // /workbook_config_toolbar.jsp(152,54) name = value type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_c_005fout_005f1.setValue((java.lang.Object) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${templateid}", java.lang.Object.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false));
    int _jspx_eval_c_005fout_005f1 = _jspx_th_c_005fout_005f1.doStartTag();
    if (_jspx_th_c_005fout_005f1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f1);
      return true;
    }
    _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f1);
    return false;
  }

  private boolean _jspx_meth_c_005fout_005f2(javax.servlet.jsp.PageContext _jspx_page_context)
          throws java.lang.Throwable {
    javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
    javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
    //  c:out
    org.apache.taglibs.standard.tag.rt.core.OutTag _jspx_th_c_005fout_005f2 = (org.apache.taglibs.standard.tag.rt.core.OutTag) _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.get(org.apache.taglibs.standard.tag.rt.core.OutTag.class);
    _jspx_th_c_005fout_005f2.setPageContext(_jspx_page_context);
    _jspx_th_c_005fout_005f2.setParent(null);
    // /workbook_config_toolbar.jsp(410,23) name = value type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_c_005fout_005f2.setValue((java.lang.Object) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${user.unit}", java.lang.Object.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false));
    int _jspx_eval_c_005fout_005f2 = _jspx_th_c_005fout_005f2.doStartTag();
    if (_jspx_th_c_005fout_005f2.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f2);
      return true;
    }
    _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f2);
    return false;
  }

  private boolean _jspx_meth_c_005fout_005f3(javax.servlet.jsp.PageContext _jspx_page_context)
          throws java.lang.Throwable {
    javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
    javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
    //  c:out
    org.apache.taglibs.standard.tag.rt.core.OutTag _jspx_th_c_005fout_005f3 = (org.apache.taglibs.standard.tag.rt.core.OutTag) _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.get(org.apache.taglibs.standard.tag.rt.core.OutTag.class);
    _jspx_th_c_005fout_005f3.setPageContext(_jspx_page_context);
    _jspx_th_c_005fout_005f3.setParent(null);
    // /workbook_config_toolbar.jsp(410,53) name = value type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_c_005fout_005f3.setValue((java.lang.Object) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${param.id}", java.lang.Object.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false));
    int _jspx_eval_c_005fout_005f3 = _jspx_th_c_005fout_005f3.doStartTag();
    if (_jspx_th_c_005fout_005f3.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f3);
      return true;
    }
    _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f3);
    return false;
  }

  private boolean _jspx_meth_c_005fout_005f4(javax.servlet.jsp.PageContext _jspx_page_context)
          throws java.lang.Throwable {
    javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
    javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
    //  c:out
    org.apache.taglibs.standard.tag.rt.core.OutTag _jspx_th_c_005fout_005f4 = (org.apache.taglibs.standard.tag.rt.core.OutTag) _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.get(org.apache.taglibs.standard.tag.rt.core.OutTag.class);
    _jspx_th_c_005fout_005f4.setPageContext(_jspx_page_context);
    _jspx_th_c_005fout_005f4.setParent(null);
    // /workbook_config_toolbar.jsp(422,22) name = value type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_c_005fout_005f4.setValue((java.lang.Object) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${user.unit}", java.lang.Object.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false));
    int _jspx_eval_c_005fout_005f4 = _jspx_th_c_005fout_005f4.doStartTag();
    if (_jspx_th_c_005fout_005f4.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f4);
      return true;
    }
    _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f4);
    return false;
  }

  private boolean _jspx_meth_c_005fout_005f5(javax.servlet.jsp.PageContext _jspx_page_context)
          throws java.lang.Throwable {
    javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
    javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
    //  c:out
    org.apache.taglibs.standard.tag.rt.core.OutTag _jspx_th_c_005fout_005f5 = (org.apache.taglibs.standard.tag.rt.core.OutTag) _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.get(org.apache.taglibs.standard.tag.rt.core.OutTag.class);
    _jspx_th_c_005fout_005f5.setPageContext(_jspx_page_context);
    _jspx_th_c_005fout_005f5.setParent(null);
    // /workbook_config_toolbar.jsp(422,52) name = value type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_c_005fout_005f5.setValue((java.lang.Object) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${param.id}", java.lang.Object.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false));
    int _jspx_eval_c_005fout_005f5 = _jspx_th_c_005fout_005f5.doStartTag();
    if (_jspx_th_c_005fout_005f5.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f5);
      return true;
    }
    _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f5);
    return false;
  }

  private boolean _jspx_meth_c_005fout_005f6(javax.servlet.jsp.PageContext _jspx_page_context)
          throws java.lang.Throwable {
    javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
    javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
    //  c:out
    org.apache.taglibs.standard.tag.rt.core.OutTag _jspx_th_c_005fout_005f6 = (org.apache.taglibs.standard.tag.rt.core.OutTag) _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.get(org.apache.taglibs.standard.tag.rt.core.OutTag.class);
    _jspx_th_c_005fout_005f6.setPageContext(_jspx_page_context);
    _jspx_th_c_005fout_005f6.setParent(null);
    // /workbook_config_toolbar.jsp(750,37) name = value type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_c_005fout_005f6.setValue((java.lang.Object) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${param.id}", java.lang.Object.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false));
    int _jspx_eval_c_005fout_005f6 = _jspx_th_c_005fout_005f6.doStartTag();
    if (_jspx_th_c_005fout_005f6.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f6);
      return true;
    }
    _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f6);
    return false;
  }

  private boolean _jspx_meth_c_005fout_005f7(javax.servlet.jsp.PageContext _jspx_page_context)
          throws java.lang.Throwable {
    javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
    javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
    //  c:out
    org.apache.taglibs.standard.tag.rt.core.OutTag _jspx_th_c_005fout_005f7 = (org.apache.taglibs.standard.tag.rt.core.OutTag) _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.get(org.apache.taglibs.standard.tag.rt.core.OutTag.class);
    _jspx_th_c_005fout_005f7.setPageContext(_jspx_page_context);
    _jspx_th_c_005fout_005f7.setParent(null);
    // /workbook_config_toolbar.jsp(766,51) name = value type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_c_005fout_005f7.setValue((java.lang.Object) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${param.id}", java.lang.Object.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false));
    int _jspx_eval_c_005fout_005f7 = _jspx_th_c_005fout_005f7.doStartTag();
    if (_jspx_th_c_005fout_005f7.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f7);
      return true;
    }
    _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f7);
    return false;
  }

  private boolean _jspx_meth_c_005fif_005f0(javax.servlet.jsp.PageContext _jspx_page_context)
          throws java.lang.Throwable {
    javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
    javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
    //  c:if
    org.apache.taglibs.standard.tag.rt.core.IfTag _jspx_th_c_005fif_005f0 = (org.apache.taglibs.standard.tag.rt.core.IfTag) _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.get(org.apache.taglibs.standard.tag.rt.core.IfTag.class);
    _jspx_th_c_005fif_005f0.setPageContext(_jspx_page_context);
    _jspx_th_c_005fif_005f0.setParent(null);
    // /workbook_config_toolbar.jsp(838,4) name = test type = boolean reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_c_005fif_005f0.setTest(((java.lang.Boolean) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${scripteditwithhtml}", java.lang.Boolean.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false)).booleanValue());
    int _jspx_eval_c_005fif_005f0 = _jspx_th_c_005fif_005f0.doStartTag();
    if (_jspx_eval_c_005fif_005f0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
      do {
        out.write("\r\n");
        out.write("    <applet id=appletEdit   code=\"org.gjt.sp.jedit.AppletEdit\" codebase=\".\"\tarchive=\"webjedit.jar,rhino.jar\"\twidth=\"30\" height=\"15\"  style=\"display:none;\"   >\r\n");
        out.write("\t<param name=”separate_jvm” value=”true” />\r\n");
        out.write("\t</applet>\r\n");
        out.write("    ");
        int evalDoAfterBody = _jspx_th_c_005fif_005f0.doAfterBody();
        if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
          break;
      } while (true);
    }
    if (_jspx_th_c_005fif_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f0);
      return true;
    }
    _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f0);
    return false;
  }

  private boolean _jspx_meth_c_005fif_005f1(javax.servlet.jsp.PageContext _jspx_page_context)
          throws java.lang.Throwable {
    javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
    javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
    //  c:if
    org.apache.taglibs.standard.tag.rt.core.IfTag _jspx_th_c_005fif_005f1 = (org.apache.taglibs.standard.tag.rt.core.IfTag) _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.get(org.apache.taglibs.standard.tag.rt.core.IfTag.class);
    _jspx_th_c_005fif_005f1.setPageContext(_jspx_page_context);
    _jspx_th_c_005fif_005f1.setParent(null);
    // /workbook_config_toolbar.jsp(865,3) name = test type = boolean reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_c_005fif_005f1.setTest(((java.lang.Boolean) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${param.script>0}", java.lang.Boolean.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false)).booleanValue());
    int _jspx_eval_c_005fif_005f1 = _jspx_th_c_005fif_005f1.doStartTag();
    if (_jspx_eval_c_005fif_005f1 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
      do {
        out.write("\r\n");
        out.write("   【<a href=\"javascript:autoLayout( )\" >自动布局</a>】\r\n");
        out.write("  ");
        int evalDoAfterBody = _jspx_th_c_005fif_005f1.doAfterBody();
        if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
          break;
      } while (true);
    }
    if (_jspx_th_c_005fif_005f1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f1);
      return true;
    }
    _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f1);
    return false;
  }

  private boolean _jspx_meth_c_005fout_005f8(javax.servlet.jsp.PageContext _jspx_page_context)
          throws java.lang.Throwable {
    javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
    javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
    //  c:out
    org.apache.taglibs.standard.tag.rt.core.OutTag _jspx_th_c_005fout_005f8 = (org.apache.taglibs.standard.tag.rt.core.OutTag) _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.get(org.apache.taglibs.standard.tag.rt.core.OutTag.class);
    _jspx_th_c_005fout_005f8.setPageContext(_jspx_page_context);
    _jspx_th_c_005fout_005f8.setParent(null);
    // /workbook_config_toolbar.jsp(885,13) name = value type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_c_005fout_005f8.setValue((java.lang.Object) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${user.unit}", java.lang.Object.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false));
    int _jspx_eval_c_005fout_005f8 = _jspx_th_c_005fout_005f8.doStartTag();
    if (_jspx_th_c_005fout_005f8.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f8);
      return true;
    }
    _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f8);
    return false;
  }

  private boolean _jspx_meth_c_005fout_005f9(javax.servlet.jsp.PageContext _jspx_page_context)
          throws java.lang.Throwable {
    javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
    javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
    //  c:out
    org.apache.taglibs.standard.tag.rt.core.OutTag _jspx_th_c_005fout_005f9 = (org.apache.taglibs.standard.tag.rt.core.OutTag) _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.get(org.apache.taglibs.standard.tag.rt.core.OutTag.class);
    _jspx_th_c_005fout_005f9.setPageContext(_jspx_page_context);
    _jspx_th_c_005fout_005f9.setParent(null);
    // /workbook_config_toolbar.jsp(885,43) name = value type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_c_005fout_005f9.setValue((java.lang.Object) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${templateid}", java.lang.Object.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false));
    int _jspx_eval_c_005fout_005f9 = _jspx_th_c_005fout_005f9.doStartTag();
    if (_jspx_th_c_005fout_005f9.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f9);
      return true;
    }
    _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f9);
    return false;
  }

  private boolean _jspx_meth_c_005fif_005f2(javax.servlet.jsp.PageContext _jspx_page_context)
          throws java.lang.Throwable {
    javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
    javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
    //  c:if
    org.apache.taglibs.standard.tag.rt.core.IfTag _jspx_th_c_005fif_005f2 = (org.apache.taglibs.standard.tag.rt.core.IfTag) _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.get(org.apache.taglibs.standard.tag.rt.core.IfTag.class);
    _jspx_th_c_005fif_005f2.setPageContext(_jspx_page_context);
    _jspx_th_c_005fif_005f2.setParent(null);
    // /workbook_config_toolbar.jsp(888,3) name = test type = boolean reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_c_005fif_005f2.setTest(((java.lang.Boolean) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${type=='form'}", java.lang.Boolean.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false)).booleanValue());
    int _jspx_eval_c_005fif_005f2 = _jspx_th_c_005fif_005f2.doStartTag();
    if (_jspx_eval_c_005fif_005f2 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
      do {
        out.write("\r\n");
        out.write("\t\r\n");
        out.write("      var f=$E('scriptedit');\r\n");
        out.write("   \r\n");
        out.write("        ");
        if (_jspx_meth_c_005fif_005f3(_jspx_th_c_005fif_005f2, _jspx_page_context))
          return true;
        out.write("\r\n");
        out.write("  \t    ");
        if (_jspx_meth_c_005fif_005f4(_jspx_th_c_005fif_005f2, _jspx_page_context))
          return true;
        out.write("\r\n");
        out.write(" \t   \r\n");
        out.write("   ");
        int evalDoAfterBody = _jspx_th_c_005fif_005f2.doAfterBody();
        if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
          break;
      } while (true);
    }
    if (_jspx_th_c_005fif_005f2.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f2);
      return true;
    }
    _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f2);
    return false;
  }

  private boolean _jspx_meth_c_005fif_005f3(javax.servlet.jsp.tagext.JspTag _jspx_th_c_005fif_005f2, javax.servlet.jsp.PageContext _jspx_page_context)
          throws java.lang.Throwable {
    javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
    javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
    //  c:if
    org.apache.taglibs.standard.tag.rt.core.IfTag _jspx_th_c_005fif_005f3 = (org.apache.taglibs.standard.tag.rt.core.IfTag) _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.get(org.apache.taglibs.standard.tag.rt.core.IfTag.class);
    _jspx_th_c_005fif_005f3.setPageContext(_jspx_page_context);
    _jspx_th_c_005fif_005f3.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_c_005fif_005f2);
    // /workbook_config_toolbar.jsp(892,8) name = test type = boolean reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_c_005fif_005f3.setTest(((java.lang.Boolean) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${!scripteditwithhtml}", java.lang.Boolean.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false)).booleanValue());
    int _jspx_eval_c_005fif_005f3 = _jspx_th_c_005fif_005f3.doStartTag();
    if (_jspx_eval_c_005fif_005f3 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
      do {
        out.write("\r\n");
        out.write("        //正常的jedit\r\n");
        out.write("  \t   f.src=\"servlet/wiseoa.WiseEdit?type=flowform&filename=\"+file;\r\n");
        out.write("        \r\n");
        out.write("  \t \r\n");
        out.write("  \t  \r\n");
        out.write("  \t    ");
        int evalDoAfterBody = _jspx_th_c_005fif_005f3.doAfterBody();
        if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
          break;
      } while (true);
    }
    if (_jspx_th_c_005fif_005f3.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f3);
      return true;
    }
    _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f3);
    return false;
  }

  private boolean _jspx_meth_c_005fif_005f4(javax.servlet.jsp.tagext.JspTag _jspx_th_c_005fif_005f2, javax.servlet.jsp.PageContext _jspx_page_context)
          throws java.lang.Throwable {
    javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
    javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
    //  c:if
    org.apache.taglibs.standard.tag.rt.core.IfTag _jspx_th_c_005fif_005f4 = (org.apache.taglibs.standard.tag.rt.core.IfTag) _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.get(org.apache.taglibs.standard.tag.rt.core.IfTag.class);
    _jspx_th_c_005fif_005f4.setPageContext(_jspx_page_context);
    _jspx_th_c_005fif_005f4.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_c_005fif_005f2);
    // /workbook_config_toolbar.jsp(899,7) name = test type = boolean reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_c_005fif_005f4.setTest(((java.lang.Boolean) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${scripteditwithhtml}", java.lang.Boolean.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false)).booleanValue());
    int _jspx_eval_c_005fif_005f4 = _jspx_th_c_005fif_005f4.doStartTag();
    if (_jspx_eval_c_005fif_005f4 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
      do {
        out.write("\r\n");
        out.write("  \t    // 使用网页版编辑\r\n");
        out.write(" \t     //open( \"script_edit.jsp?filename=\"+file);\r\n");
        out.write("  \t     $E('appletEdit').edit( \"readFlowFormConfig.jsp?file=\"+ file, \"javascript\");\r\n");
        out.write(" \t    ");
        int evalDoAfterBody = _jspx_th_c_005fif_005f4.doAfterBody();
        if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
          break;
      } while (true);
    }
    if (_jspx_th_c_005fif_005f4.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f4);
      return true;
    }
    _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f4);
    return false;
  }

  private boolean _jspx_meth_c_005fif_005f5(javax.servlet.jsp.PageContext _jspx_page_context)
          throws java.lang.Throwable {
    javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
    javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
    //  c:if
    org.apache.taglibs.standard.tag.rt.core.IfTag _jspx_th_c_005fif_005f5 = (org.apache.taglibs.standard.tag.rt.core.IfTag) _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.get(org.apache.taglibs.standard.tag.rt.core.IfTag.class);
    _jspx_th_c_005fif_005f5.setPageContext(_jspx_page_context);
    _jspx_th_c_005fif_005f5.setParent(null);
    // /workbook_config_toolbar.jsp(907,3) name = test type = boolean reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_c_005fif_005f5.setTest(((java.lang.Boolean) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${type=='wss'}", java.lang.Boolean.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false)).booleanValue());
    int _jspx_eval_c_005fif_005f5 = _jspx_th_c_005fif_005f5.doStartTag();
    if (_jspx_eval_c_005fif_005f5 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
      do {
        out.write("\r\n");
        out.write("\tvar file=  \"servlet/wiseoa.task.jstl.TaskScript?forwhat=wss&type=wss&id=");
        if (_jspx_meth_c_005fout_005f10(_jspx_th_c_005fif_005f5, _jspx_page_context))
          return true;
        out.write("&file=\"+f  ;\r\n");
        out.write(" \r\n");
        out.write("\t\r\n");
        out.write("\t\r\n");
        out.write("   \r\n");
        out.write("\tfile=escape(file);\r\n");
        out.write("\r\n");
        out.write("    var f=$E('scriptedit');\r\n");
        out.write("\r\n");
        out.write("   \r\n");
        out.write("    ");
        if (_jspx_meth_c_005fif_005f6(_jspx_th_c_005fif_005f5, _jspx_page_context))
          return true;
        out.write("\r\n");
        out.write("\t    ");
        if (_jspx_meth_c_005fif_005f7(_jspx_th_c_005fif_005f5, _jspx_page_context))
          return true;
        out.write("\r\n");
        out.write("   ");
        int evalDoAfterBody = _jspx_th_c_005fif_005f5.doAfterBody();
        if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
          break;
      } while (true);
    }
    if (_jspx_th_c_005fif_005f5.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f5);
      return true;
    }
    _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f5);
    return false;
  }

  private boolean _jspx_meth_c_005fout_005f10(javax.servlet.jsp.tagext.JspTag _jspx_th_c_005fif_005f5, javax.servlet.jsp.PageContext _jspx_page_context)
          throws java.lang.Throwable {
    javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
    javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
    //  c:out
    org.apache.taglibs.standard.tag.rt.core.OutTag _jspx_th_c_005fout_005f10 = (org.apache.taglibs.standard.tag.rt.core.OutTag) _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.get(org.apache.taglibs.standard.tag.rt.core.OutTag.class);
    _jspx_th_c_005fout_005f10.setPageContext(_jspx_page_context);
    _jspx_th_c_005fout_005f10.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_c_005fif_005f5);
    // /workbook_config_toolbar.jsp(908,73) name = value type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_c_005fout_005f10.setValue((java.lang.Object) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${templateid}", java.lang.Object.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false));
    int _jspx_eval_c_005fout_005f10 = _jspx_th_c_005fout_005f10.doStartTag();
    if (_jspx_th_c_005fout_005f10.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f10);
      return true;
    }
    _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f10);
    return false;
  }

  private boolean _jspx_meth_c_005fif_005f6(javax.servlet.jsp.tagext.JspTag _jspx_th_c_005fif_005f5, javax.servlet.jsp.PageContext _jspx_page_context)
          throws java.lang.Throwable {
    javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
    javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
    //  c:if
    org.apache.taglibs.standard.tag.rt.core.IfTag _jspx_th_c_005fif_005f6 = (org.apache.taglibs.standard.tag.rt.core.IfTag) _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.get(org.apache.taglibs.standard.tag.rt.core.IfTag.class);
    _jspx_th_c_005fif_005f6.setPageContext(_jspx_page_context);
    _jspx_th_c_005fif_005f6.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_c_005fif_005f5);
    // /workbook_config_toolbar.jsp(918,4) name = test type = boolean reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_c_005fif_005f6.setTest(((java.lang.Boolean) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${!scripteditwithhtml}", java.lang.Boolean.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false)).booleanValue());
    int _jspx_eval_c_005fif_005f6 = _jspx_th_c_005fif_005f6.doStartTag();
    if (_jspx_eval_c_005fif_005f6 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
      do {
        out.write("\r\n");
        out.write("    //正常的jedit\r\n");
        out.write("\t     f.src=\"servlet/wiseoa.WiseEdit?filename=\"+file;\r\n");
        out.write("\t    $E('appletEdit').edit(  file, \"javascript\");\r\n");
        out.write("\t\t\r\n");
        out.write("\t    ");
        int evalDoAfterBody = _jspx_th_c_005fif_005f6.doAfterBody();
        if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
          break;
      } while (true);
    }
    if (_jspx_th_c_005fif_005f6.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f6);
      return true;
    }
    _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f6);
    return false;
  }

  private boolean _jspx_meth_c_005fif_005f7(javax.servlet.jsp.tagext.JspTag _jspx_th_c_005fif_005f5, javax.servlet.jsp.PageContext _jspx_page_context)
          throws java.lang.Throwable {
    javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
    javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
    //  c:if
    org.apache.taglibs.standard.tag.rt.core.IfTag _jspx_th_c_005fif_005f7 = (org.apache.taglibs.standard.tag.rt.core.IfTag) _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.get(org.apache.taglibs.standard.tag.rt.core.IfTag.class);
    _jspx_th_c_005fif_005f7.setPageContext(_jspx_page_context);
    _jspx_th_c_005fif_005f7.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_c_005fif_005f5);
    // /workbook_config_toolbar.jsp(924,5) name = test type = boolean reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_c_005fif_005f7.setTest(((java.lang.Boolean) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${scripteditwithhtml}", java.lang.Boolean.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false)).booleanValue());
    int _jspx_eval_c_005fif_005f7 = _jspx_th_c_005fif_005f7.doStartTag();
    if (_jspx_eval_c_005fif_005f7 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
      do {
        out.write("\r\n");
        out.write("\t    // 使用网页版编辑\r\n");
        out.write("\t     open( \"script_edit.jsp?filename=\"+file);\r\n");
        out.write("\t    ");
        int evalDoAfterBody = _jspx_th_c_005fif_005f7.doAfterBody();
        if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
          break;
      } while (true);
    }
    if (_jspx_th_c_005fif_005f7.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f7);
      return true;
    }
    _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f7);
    return false;
  }

  private boolean _jspx_meth_c_005fif_005f8(javax.servlet.jsp.PageContext _jspx_page_context)
          throws java.lang.Throwable {
    javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
    javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
    //  c:if
    org.apache.taglibs.standard.tag.rt.core.IfTag _jspx_th_c_005fif_005f8 = (org.apache.taglibs.standard.tag.rt.core.IfTag) _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.get(org.apache.taglibs.standard.tag.rt.core.IfTag.class);
    _jspx_th_c_005fif_005f8.setPageContext(_jspx_page_context);
    _jspx_th_c_005fif_005f8.setParent(null);
    // /workbook_config_toolbar.jsp(975,5) name = test type = boolean reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_c_005fif_005f8.setTest(((java.lang.Boolean) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${type=='wss'}", java.lang.Boolean.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false)).booleanValue());
    int _jspx_eval_c_005fif_005f8 = _jspx_th_c_005fif_005f8.doStartTag();
    if (_jspx_eval_c_005fif_005f8 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
      do {
        out.write("\r\n");
        out.write("      bar1.newGroup();\r\n");
        out.write("      var b_switchrun=createButton( bar1,'运行','运行','run3', switchRun);\r\n");
        out.write("      ");
        int evalDoAfterBody = _jspx_th_c_005fif_005f8.doAfterBody();
        if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
          break;
      } while (true);
    }
    if (_jspx_th_c_005fif_005f8.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f8);
      return true;
    }
    _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f8);
    return false;
  }

  private boolean _jspx_meth_c_005fif_005f9(javax.servlet.jsp.PageContext _jspx_page_context)
          throws java.lang.Throwable {
    javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
    javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
    //  c:if
    org.apache.taglibs.standard.tag.rt.core.IfTag _jspx_th_c_005fif_005f9 = (org.apache.taglibs.standard.tag.rt.core.IfTag) _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.get(org.apache.taglibs.standard.tag.rt.core.IfTag.class);
    _jspx_th_c_005fif_005f9.setPageContext(_jspx_page_context);
    _jspx_th_c_005fif_005f9.setParent(null);
    // /workbook_config_toolbar.jsp(1038,2) name = test type = boolean reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_c_005fif_005f9.setTest(((java.lang.Boolean) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${type=='wss'}", java.lang.Boolean.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false)).booleanValue());
    int _jspx_eval_c_005fif_005f9 = _jspx_th_c_005fif_005f9.doStartTag();
    if (_jspx_eval_c_005fif_005f9 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
      do {
        out.write("\r\n");
        out.write("      //如果是知识库中的编辑，那么缺省关掉数据库绑定显示，\r\n");
        out.write(" \r\n");
        out.write("      ShowBind(b_showbind);\r\n");
        out.write("      showFormula(b_showFormula);\r\n");
        out.write("\r\n");
        out.write("      \r\n");
        out.write("    ");
        int evalDoAfterBody = _jspx_th_c_005fif_005f9.doAfterBody();
        if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
          break;
      } while (true);
    }
    if (_jspx_th_c_005fif_005f9.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f9);
      return true;
    }
    _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f9);
    return false;
  }

  private boolean _jspx_meth_c_005fif_005f10(javax.servlet.jsp.PageContext _jspx_page_context)
          throws java.lang.Throwable {
    javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
    javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
    //  c:if
    org.apache.taglibs.standard.tag.rt.core.IfTag _jspx_th_c_005fif_005f10 = (org.apache.taglibs.standard.tag.rt.core.IfTag) _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.get(org.apache.taglibs.standard.tag.rt.core.IfTag.class);
    _jspx_th_c_005fif_005f10.setPageContext(_jspx_page_context);
    _jspx_th_c_005fif_005f10.setParent(null);
    // /workbook_config_toolbar.jsp(1048,3) name = test type = boolean reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_c_005fif_005f10.setTest(((java.lang.Boolean) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${type!='wss'}", java.lang.Boolean.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false)).booleanValue());
    int _jspx_eval_c_005fif_005f10 = _jspx_th_c_005fif_005f10.doStartTag();
    if (_jspx_eval_c_005fif_005f10 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
      do {
        out.write(" \r\n");
        out.write("        ShowPropertyPane(b_cellproperty);\r\n");
        out.write("   ");
        int evalDoAfterBody = _jspx_th_c_005fif_005f10.doAfterBody();
        if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
          break;
      } while (true);
    }
    if (_jspx_th_c_005fif_005f10.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f10);
      return true;
    }
    _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f10);
    return false;
  }

  private boolean _jspx_meth_c_005fout_005f11(javax.servlet.jsp.PageContext _jspx_page_context)
          throws java.lang.Throwable {
    javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
    javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
    //  c:out
    org.apache.taglibs.standard.tag.rt.core.OutTag _jspx_th_c_005fout_005f11 = (org.apache.taglibs.standard.tag.rt.core.OutTag) _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.get(org.apache.taglibs.standard.tag.rt.core.OutTag.class);
    _jspx_th_c_005fout_005f11.setPageContext(_jspx_page_context);
    _jspx_th_c_005fout_005f11.setParent(null);
    // /workbook_config_toolbar.jsp(1056,33) name = value type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_c_005fout_005f11.setValue((java.lang.Object) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${querystring}", java.lang.Object.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false));
    int _jspx_eval_c_005fout_005f11 = _jspx_th_c_005fout_005f11.doStartTag();
    if (_jspx_th_c_005fout_005f11.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f11);
      return true;
    }
    _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f11);
    return false;
  }
}
