/*
 * Generated by the Jasper component of Apache Tomcat
 * Version: ......
 * Generated at: 2020-07-09 01:49:47 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 jun.db.util.*;
import java.net.*;
import wiseoa.*;
import wiseoa.util.*;
import wiseoa.flow.appletrpc.*;
import wiseoa.mail.jstl.*;
import wiseoa.home.*;
import wiseoa.formdesign.jstl.*;

public final class workbook_005fconfig_005fproperty_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_005fif_0026_005ftest;
  private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody;

  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_005fif_0026_005ftest = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
    _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
  }

  public void _jspDestroy() {
    _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.release();
    _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.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 || w.type.equals("form"));
FF.pageContextSetAttribute(pageContext , "templateid", w.id);
FF.pageContextSetAttribute(pageContext , "templateRootPath", w.templateRootPath);



String s=request.getQueryString();
if ( s==null) s="";

 if ( !s.equals("") ) s="?"+s;
FF.pageContextSetAttribute(pageContext,"querystring", s);

String path = LoadFlowFormConfig.getDDLBunitLevelPath(request,   User.getUserFromRequest(request).getUnit());
String unitLevelPath=Base32Coder.encode( path.getBytes("UTF-8") );

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


	

      out.write("\r\n");
      out.write("<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\">\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(" \r\n");
      out.write(" \r\n");
      out.write("<TITLE></TITLE>\r\n");
      out.write("\t\t<LINK rel=\"stylesheet\" type=\"text/css\" href=\"css/normal.css\">\r\n");
      out.write("\t\t<LINK rel=\"stylesheet\" type=\"text/css\" href=\"zbutton/zbutton.css\">\r\n");
      out.write("\t\t<SCRIPT type=\"text/javascript\" src=\"zbutton/zbutton.js\"></SCRIPT>\r\n");
      out.write("\t\t<SCRIPT type=\"text/javascript\" src=\"js/KeyDownFilter.js\"></SCRIPT>\r\n");
      out.write("\t\t   \r\n");
      out.write("\t\t<SCRIPT src=\"tab3/tab.js\" type=\"text/javascript\"></SCRIPT>\r\n");
      out.write("\t\t<SCRIPT type=\"text/javascript\" src=\"js/jsrsClient_rev.js\"></SCRIPT>\t \r\n");
      out.write("        <SCRIPT type=\"text/javascript\" src=\"js/json.js\"></SCRIPT>\t \r\n");
      out.write("\t\t<SCRIPT type=\"text/javascript\" src=\"js/KeyDownFilter.js\"></SCRIPT>\r\n");
      out.write("\t\t<LINK rel=\"stylesheet\" type=\"text/css\" href=\"css/simplemenu.css\">   \r\n");
      out.write("\t\t\t   \r\n");
      out.write("\t\t<script language=\"JavaScript\" src=\"pop/example.js\"></script>\r\n");
      out.write("\t\t<script language=\"javascript\">\r\n");
      out.write("\t\t //提示窗口的宽度\r\n");
      out.write("\t\tCPW_window1_width =  150;  \r\n");
      out.write("\t\t</script>\r\n");
      out.write("\t\t<script language=\"JavaScript\" src=\"pop/popwindow.js\"></script>\r\n");
      out.write("\t\t\t\t    \r\n");
      out.write("\t    \r\n");
      out.write("\t    \r\n");
      out.write(" <style>\r\n");
      out.write(" \t.w99 { width:99%}\r\n");
      out.write(" .flatbutton  { border:0px solid gray;  font-size:12px; cursor:hand; color:blue;}\r\n");
      out.write(" \r\n");
      out.write(" </style>\r\n");
      out.write(" \r\n");
      out.write("</head>\r\n");
      out.write("\r\n");
      out.write("<script language='javascript'>\r\n");
      out.write("\r\n");
      out.write("\tfunction $E(id)\r\n");
      out.write("\t{\r\n");
      out.write("\t\treturn document.getElementById(id);\r\n");
      out.write("\t}\r\n");
      out.write("\t  \r\n");
      out.write("\t\r\n");
      out.write("   function buildMenuItem( s , t )\r\n");
      out.write("   {\r\n");
      out.write("   \t    return '<A class=menuItem '+\r\n");
      out.write("\t\t\t\t\t '     href=\"javascript:HideMenu();EditFile( \\''+t+'\\' );\"><img src=\"image/menublack.gif\" border=0 align=\"absmiddle\">&nbsp;'+s+'</A> ' ;\r\n");
      out.write("   }\r\n");
      out.write("   function  setRowHeightStretch()\r\n");
      out.write("\t{\r\n");
      out.write("\t\tvar applet=getApplet();\r\n");
      out.write("\t\tvar guid= $E('sheetguid').value;\r\n");
      out.write("\r\n");
      out.write("\t\t//清除字段绑定\r\n");
      out.write("\t\tvar sheet = applet.book.getWorkSheetByGuid(guid);\r\n");
      out.write("\t\t\r\n");
      out.write("\t\tvar range= sheet.getSelection();\r\n");
      out.write("\t\tvar v=parseInt($E('rowHeightStretch').value ,10);\r\n");
      out.write("\t\tvar row= range.getStartRow();\r\n");
      out.write("\t \r\n");
      out.write("\t\tsheet.getRowPropertyManage().setRowStretchHeight(  row , v ); \r\n");
      out.write("\t\t\r\n");
      out.write("\t}\r\n");
      out.write("\t\r\n");
      out.write("\tfunction  setColumnWidthStretch()\r\n");
      out.write("\t{\r\n");
      out.write("\t\tvar applet=getApplet();\r\n");
      out.write("\t\tvar guid= $E('sheetguid').value;\r\n");
      out.write("\r\n");
      out.write("\t\t//清除字段绑定\r\n");
      out.write("\t\tvar sheet = applet.book.getWorkSheetByGuid(guid);\r\n");
      out.write("\t\t\r\n");
      out.write("\t\tvar range= sheet.getSelection();\r\n");
      out.write("\t\tsheet.getColumnPropertyManage().setColumnStretchWidth(   range.getStartCol() , parseInt($E('columnWidthStretch').value ,10) ); \r\n");
      out.write("\t\t\r\n");
      out.write("\t}\r\n");
      out.write("\t   \r\n");
      out.write("\tfunction ConfigEdit()\r\n");
      out.write("\t{\r\n");
      out.write("\t\r\n");
      out.write("\t\tvar w=110;\t\r\n");
      out.write("\t\tvar HTML=buildMenuItem( \"界面\",\"ui.xml\") +\r\n");
      out.write("\t\t\t\tbuildMenuItem(\"界面扩展\",\"brick.xml\") \r\n");
      out.write("\t\t\t");
      if (_jspx_meth_c_005fif_005f0(_jspx_page_context))
        return;
      out.write("\r\n");
      out.write("\t\t\t\t ;\r\n");
      out.write("\t\t openMenu( HTML);\r\n");
      out.write("\t}\r\n");
      out.write("\t\t \r\n");
      out.write("\t function EditFile( f)\r\n");
      out.write("\t {\r\n");
      out.write("\t\t \r\n");
      out.write("\t\t var file=  \"");
      if (_jspx_meth_c_005fout_005f0(_jspx_page_context))
        return;
      out.write('/');
      if (_jspx_meth_c_005fout_005f1(_jspx_page_context))
        return;
      out.write("/\"+f ;\r\n");
      out.write("\t\t \r\n");
      out.write("\t\t\tfile=escape(file);\r\n");
      out.write("\t\t\t\r\n");
      out.write("\t    ");
      if (_jspx_meth_c_005fif_005f1(_jspx_page_context))
        return;
      out.write("\r\n");
      out.write("\t    \r\n");
      out.write("\t    ");
      if (_jspx_meth_c_005fif_005f4(_jspx_page_context))
        return;
      out.write("\r\n");
      out.write("\t    \t\r\n");
      out.write("     }\r\n");
      out.write(" \r\n");
      out.write("\t \r\n");
      out.write("\tfunction getApplet()\r\n");
      out.write("\t{\r\n");
      out.write("\t\treturn parent.frames('mainFrame').$E('book');\r\n");
      out.write("\t}\r\n");
      out.write("\t\r\n");
      out.write("\t\r\n");
      out.write("\tfunction setProperty( id , value)\r\n");
      out.write("\t{\r\n");
      out.write("\t\ttry\r\n");
      out.write("\t\t{\r\n");
      out.write("\t\t\t$E(id).value=value;\r\n");
      out.write("\t\t}catch(err)\r\n");
      out.write("\t\t{\r\n");
      out.write("\t\t\twindow.title=   id ;\r\n");
      out.write("\t\t}\r\n");
      out.write("\t\t\r\n");
      out.write("\t}\r\n");
      out.write("\t\r\n");
      out.write("\tfunction getProperty( id )\r\n");
      out.write("\t{\r\n");
      out.write("\t\treturn $E(id).value;\r\n");
      out.write("\t}\r\n");
      out.write("\t\r\n");
      out.write("\tvar isLoadingProperty=false;\r\n");
      out.write("\t\r\n");
      out.write("\tfunction loadCellProperty(sheet , row, col )\r\n");
      out.write("\t{\r\n");
      out.write("\t \r\n");
      out.write("\t\tcheckDSN(); // 检查数据源列表是不是已经构造了\r\n");
      out.write("\t\tcheckDDLB(); //检查DDLB列表有没有构造好\r\n");
      out.write("\t \r\n");
      out.write("\t    setProperty(\"sheetguid\",sheet.getGuid());\r\n");
      out.write("\t\t$E(\"st_sheetguid\").innerText= sheet.getGuid() ;  //仅是显示\r\n");
      out.write("\r\n");
      out.write("\t\t//是不是数据透视表\r\n");
      out.write("\t\t $E('sheettag').checked=false;\r\n");
      out.write("\t \r\n");
      out.write("\t\ttry\r\n");
      out.write("\t\t{\r\n");
      out.write("\t\t\tvar tag=  sheet.getTag();\r\n");
      out.write("\t \r\n");
      out.write("\t\t\tif ( tag!=null)\r\n");
      out.write("\t\t\t{\r\n");
      out.write("                tag=tag.toString();\r\n");
      out.write("\t\t\t \r\n");
      out.write("\t\t\t\ttag= JSON.parse( tag);\r\n");
      out.write("\t\t \r\n");
      out.write("\t\t\t\tif ( tag.crossdatasheet==true)\r\n");
      out.write("\t\t\t\t{\r\n");
      out.write("\t\t\t\t\t $E('sheettag').checked=true;\r\n");
      out.write("\t\t\t\t\r\n");
      out.write("\t\t\t\t}\r\n");
      out.write("\t\t\t\t \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}\t\t\r\n");
      out.write("\t\tvar v=$E('sheettag').checked?\"\":\"none\";\r\n");
      out.write("\t\t $E('cb_datasheet').style.display=v;\r\n");
      out.write("\t\t $E('crosswizard').style.display=v;\r\n");
      out.write("\t    var  cell= sheet.getFreezedCell();\r\n");
      out.write("\t    if ( cell==null)\r\n");
      out.write("\t    {\r\n");
      out.write("\t    \t$E('sheetFreeze').checked=false;\r\n");
      out.write("\t    \tsetProperty(\"sheetFreezedCellName\",\"\");\r\n");
      out.write(" \t    }else\r\n");
      out.write(" \t    {\r\n");
      out.write(" \t    \t$E('sheetFreeze').checked=true;\r\n");
      out.write("\t    \tsetProperty(\"sheetFreezedCellName\",cell.getName());\r\n");
      out.write(" \t    }\r\n");
      out.write(" \t    \r\n");
      out.write("\t     \r\n");
      out.write("\t\t\r\n");
      out.write("\t\tsetProperty(\"sheetname\",sheet.getName());\r\n");
      out.write("\t\t  \r\n");
      out.write("\t\t\r\n");
      out.write("\t\t\r\n");
      out.write("\t   if ( sheet.isCellNull( row,col) )\r\n");
      out.write("\t   {\t \r\n");
      out.write("\t        clearProperty();\r\n");
      out.write("\t\t\tsetProperty(\"cellname\",'R'+(row+1)+\"C\"+(col+1)) ;\r\n");
      out.write("\t \t\tsetProperty(\"cellalias\",'') ;\r\n");
      out.write("\t \t\tsetProperty(\"tip\",'') ;\r\n");
      out.write("\t \t\t\r\n");
      out.write("\t \t\tsetProperty(\"cellvaluetype\",99) ;\r\n");
      out.write("\t \t\t\r\n");
      out.write("\t   \t \treturn;\r\n");
      out.write("\t   } \r\n");
      out.write("\t   var cell=sheet.Cells(row,col);\r\n");
      out.write("\t   setProperty(\"cellname\",cell.getName()+ '(行'+row+'/列'+col+')');\r\n");
      out.write("  \t   setProperty(\"celldefine\",cell.getDefine());\r\n");
      out.write("  \t  \r\n");
      out.write("  \t   $E(\"cellvisible\").checked=  cell.isVisible();\r\n");
      out.write("\t   \r\n");
      out.write("  \t \tsetProperty(\"visibleexpression\", cell.getProperty().get(\"display-expression\", \"\"));\r\n");
      out.write("  \t\tsetProperty(\"fontcolorexpression\",cell.getProperty().get(\"font-color-expression\", \"\"));\r\n");
      out.write("  \t\tsetProperty(\"backgroundexpression\",cell.getProperty().get(\"background-color-expression\", \"\"));\r\n");
      out.write("  \t\r\n");
      out.write("  \t\r\n");
      out.write("\r\n");
      out.write("  \t   //公式和数据库的优先级\r\n");
      out.write("  \t   setProperty(\"formulaIsPriority\" ,cell.getFormulaIsPriority() );\r\n");
      out.write("\r\n");
      out.write("\t\t\r\n");
      out.write("\t   setProperty(\"cellalias\",cell.getAlias()) ;\r\n");
      out.write("\t   setProperty(\"tip\",cell.getToolTip()) ;\r\n");
      out.write("\t   \r\n");
      out.write("\t   var vt=cell.getCellValueType();\r\n");
      out.write("\t   if( vt==null) vt=99;\r\n");
      out.write("\t   if(vt==0) vt=99;\r\n");
      out.write("\t   setProperty(\"cellvaluetype\",vt) ;\r\n");
      out.write("\t   \r\n");
      out.write("\t   $E('colname').innerText=col;\r\n");
      out.write("\t   $E('rowname').innerText=row+1;\r\n");
      out.write("\t   $E('columnscrollenabled').checked = sheet.getRowPropertyManage().isColumnScrollEnabled( row);\r\n");
      out.write("\t   \r\n");
      out.write("\t   \r\n");
      out.write("\t   setProperty(\"colwidth\", sheet.getColumnPropertyManage().getColumnWidth2(col)) ;\r\n");
      out.write("\t    \r\n");
      out.write("\t   \r\n");
      out.write("\t   var celltag= cell.getTag();\r\n");
      out.write("\t   if ( celltag==null)\r\n");
      out.write("\t   {\r\n");
      out.write("\t\t   setProperty(\"celltag\",\"\");\r\n");
      out.write("\t   }else\r\n");
      out.write("\t   {\r\n");
      out.write("\t   \t   setProperty(\"celltag\",celltag.toString());\r\n");
      out.write("\t   }\r\n");
      out.write("\t\t\r\n");
      out.write("\t   var cell= sheet.Cells(row,col);\r\n");
      out.write("\t  // 绑定\r\n");
      out.write("\t   var dbc=  cell.getBind();\r\n");
      out.write("\t\tif  ( dbc!=null)\r\n");
      out.write("\t\t{\r\n");
      out.write("\t\t\tsetProperty(\"dsn\", dbc.getDataSource());\r\n");
      out.write("\t\t\t//调取字段\r\n");
      out.write("\t\t\tReloadDBColumn();\r\n");
      out.write("\t\t\r\n");
      out.write("\t\t\tsetProperty(\"columnlist\", dbc.getDBCol().toLowerCase());\r\n");
      out.write("\t \t    var type= dbc.getDataSourceType();\r\n");
      out.write("\t \t    if( type!=4) type=0; // //如果不是强制为单行，那么就是自动，不然，数据源定义时如果类型搞错了，那么所有绑定都要重新改过\r\n");
      out.write("\t\t\tsetProperty(\"bindtype\",type);\r\n");
      out.write("\t\t}else\r\n");
      out.write("\t    {\r\n");
      out.write("\t\t\tsetProperty(\"dsn\", \"\");\r\n");
      out.write("\t\t\tsetProperty(\"columnlist\" ,\"\");\r\n");
      out.write("\t\t\tsetProperty(\"bindtype\",\"0\");\r\n");
      out.write("\t\t}\r\n");
      out.write("\t\t \r\n");
      out.write("\t\tLoadEditStyle(cell);\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("\t\tvar v=cell.getCustomValue(\"clickEventNeedVerify\");\r\n");
      out.write("\t\tif(v==null) v=\"false\";\r\n");
      out.write("\t\t$E('clickEventNeedVerify').checked= (v=='true' );\r\n");
      out.write("\r\n");
      out.write("\t\tv=cell.getCustomValue(\"clickEventTag\");\r\n");
      out.write("\t\tif( v==null) v=\"\";\r\n");
      out.write("\t\tsetProperty(\"clickEvent_name\",v) ;\r\n");
      out.write("\t\t\r\n");
      out.write("\t\tsetProperty(\"rowHeightStretch\",  sheet.getRowPropertyManage().getRowStretchHeight(row)) ;\r\n");
      out.write("\t\tv=sheet.getColumnPropertyManage().getColumnStretchWidth(col);\r\n");
      out.write("\t \r\n");
      out.write("\t\tsetProperty(\"columnWidthStretch\",  ''+v) ;\r\n");
      out.write("\t\t\r\n");
      out.write("\t\t\r\n");
      out.write("\t \r\n");
      out.write("\t \r\n");
      out.write("\t\t$E('theme').value= sheet.getWorkBook().getTheme(); \r\n");
      out.write("\t\t$E('showTabOnBottom').checked= sheet.getWorkBook().isShowTabOnBottom();\r\n");
      out.write("\t\t\r\n");
      out.write("\t}\r\n");
      out.write("\t\r\n");
      out.write("\tfunction clearProperty()\r\n");
      out.write("\t{\r\n");
      out.write("\t      \r\n");
      out.write("\t\t\r\n");
      out.write("\t}\r\n");
      out.write("\t\r\n");
      out.write("\t//清除字段中的数据\r\n");
      out.write("\tfunction clearData()\r\n");
      out.write("\t{\r\n");
      out.write("\t  try\r\n");
      out.write("\t  {\r\n");
      out.write("\t\tvar applet=getApplet();\r\n");
      out.write("\t\tvar guid= $E('sheetguid').value;\r\n");
      out.write("\t\t\r\n");
      out.write("\t\tvar dsn= $E('dsn').value;\r\n");
      out.write("\t\tvar col= $E('columnlist').value;\r\n");
      out.write("\t\t \r\n");
      out.write("\t\t\r\n");
      out.write("\t\tif ( dsn==null) dsn='';\r\n");
      out.write("\t\tif ( col==null) col='';\r\n");
      out.write("\t\t\r\n");
      out.write("\t\t\r\n");
      out.write("\t\tif ( !confirm(\"确信要清除本单元格的数据吗?\")) return;\r\n");
      out.write("\t\tvar sheet = applet.book.getWorkSheetByGuid(guid);\r\n");
      out.write("\t\tvar range= sheet.getSelection();\r\n");
      out.write("\t\tvar cell=sheet.Cells(range.getStartRow(), range.getStartCol());\r\n");
      out.write("\t\t\r\n");
      out.write("\t\tsetProperty(\"celldefine\",\"\");\r\n");
      out.write("\t\t\r\n");
      out.write("\t\tif ( col=='') \r\n");
      out.write("\t\t{\r\n");
      out.write("\t\t\tcell.setValue(\"\");\r\n");
      out.write("\t\t\treturn;\r\n");
      out.write("\t\t}\r\n");
      out.write("\t\t\r\n");
      out.write("\t\tcell.setValue(\"\");\r\n");
      out.write("\t\t\r\n");
      out.write("\t\t\r\n");
      out.write("\t\tvar ds=cell.getDataStore();\r\n");
      out.write("\t\tif ( ds!=null)\r\n");
      out.write("\t\t{\r\n");
      out.write("\t\t\tfor(i=0;i<ds.getRowCount();i++)\r\n");
      out.write("\t\t\t{\r\n");
      out.write("\t \t\t\tds.clearValue(i,col );\r\n");
      out.write(" \t\t\t}\r\n");
      out.write("\t\t}\r\n");
      out.write("\t\t\r\n");
      out.write("\t\t\r\n");
      out.write("\t  }catch(err)\r\n");
      out.write("\t  {\r\n");
      out.write("\t   //alert(err.description);\r\n");
      out.write("\t  }\r\n");
      out.write("\t\t\r\n");
      out.write("\t}\r\n");
      out.write("\t\r\n");
      out.write("\t\r\n");
      out.write("\t\r\n");
      out.write("\tfunction LoadEditStyle(cell)\r\n");
      out.write("\t{\r\n");
      out.write("\t\r\n");
      out.write(" \r\n");
      out.write("\t\tif ( cell==null) return;\r\n");
      out.write("\r\n");
      out.write("\t \r\n");
      out.write("\t\t \r\n");
      out.write("\t\tif ( !cell.isEditable())\r\n");
      out.write("\t\t{\r\n");
      out.write("\t\t\t$E('editable1').checked=true;\r\n");
      out.write("\t\t\t \r\n");
      out.write("\t\t}else\r\n");
      out.write("\t\t{\r\n");
      out.write("\t\t\t$E('editable2').checked=true;\r\n");
      out.write("\t\t}\r\n");
      out.write("\t\t \r\n");
      out.write("\t \r\n");
      out.write("\t\tvar es=cell.getEditStyle();\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("\t \r\n");
      out.write("\t\t//没有格式时\r\n");
      out.write("\t\tif ( es==undefined)\r\n");
      out.write("\t\t{\r\n");
      out.write("\t\t\t$E('edittype').value=0;\r\n");
      out.write("\t\t\tShowHideEditStylePane();\r\n");
      out.write("\t\t\treturn;\r\n");
      out.write("\t\t}\r\n");
      out.write("\t\t\r\n");
      out.write("\t\t\r\n");
      out.write("\t\t//normal\r\n");
      out.write("\t\tvar et=es.getEditType();\r\n");
      out.write("\t \r\n");
      out.write("\t\t\t \r\n");
      out.write("\t\t$E('edittype').value=et;\r\n");
      out.write("\t\tShowHideEditStylePane();\r\n");
      out.write("\t\t\r\n");
      out.write("\t\t\r\n");
      out.write("\t\t//normal\r\n");
      out.write("\t\tif ( et==0)\r\n");
      out.write("\t\t{\r\n");
      out.write("\t\t\treturn;\r\n");
      out.write("\t\t}\r\n");
      out.write("\t\t// numeric\r\n");
      out.write("\t\tif ( et==1)\r\n");
      out.write("\t\t{\r\n");
      out.write("\t\t     \r\n");
      out.write("\t\t\t var showComma=es.isShowComma();\r\n");
      out.write("\t\t\t \r\n");
      out.write("\t\t\tvar decimalCount=es.getDecimalCount();\r\n");
      out.write("\t\t\t \r\n");
      out.write("\t\t\t $E('showcomma').checked=showComma ;\r\n");
      out.write("\t\t\t$E('decimalcount').value=decimalCount ;\r\n");
      out.write("\t\t\t\r\n");
      out.write("\t\t\t$E('not_zerovisiblewheneditable').checked = ! es.isZeroVisibleWhenEditable();\r\n");
      out.write("\t\t\t$E('not_zerovisiblewhenuneditable').checked = ! es.isZeroVisibleWhenUneditable();\r\n");
      out.write("\t\t\t\r\n");
      out.write("\t\t\t\r\n");
      out.write("\t\t\treturn;\r\n");
      out.write("\t\t}\r\n");
      out.write("\t\t\r\n");
      out.write("\t\t // multiline\r\n");
      out.write("\t\tif( et==2)\r\n");
      out.write("\t\t{\r\n");
      out.write("\t\t\t\r\n");
      out.write("\t\t}\r\n");
      out.write("\t\t\r\n");
      out.write("\t\t// datetime \r\n");
      out.write("\t\tif( et==3)\r\n");
      out.write("\t\t{\r\n");
      out.write("\t\t\tvar df= es.getDatetimeFormat();\r\n");
      out.write("\t\t\t$E('datetimestyle').value=df ;\r\n");
      out.write("\t\t\treturn;\r\n");
      out.write("\t\t}\r\n");
      out.write("\t\t \r\n");
      out.write("\t\t// ddlb\r\n");
      out.write("\t\tif ( et==4)\r\n");
      out.write("\t\t{\r\n");
      out.write("             //2009.09.22 在设置时可能做了过滤，所以在调取单元格编辑格式，显示时，需要把ddlbcontainer还原还全部列表，不然列表中的项目可能不能显示当前Cell的ddlb\r\n");
      out.write(" \t\t\tvar ddlbcontainer= $E('ddlbcontainer');\r\n");
      out.write("\t\t    ddlbcontainer.innerHTML= gs_AllDDLBHTML ;\r\n");
      out.write("\t\t    \r\n");
      out.write("\t\t\tvar name= es.getDDLBName () ;\r\n");
      out.write("\r\n");
      out.write("\t\t\r\n");
      out.write("\t\t \r\n");
      out.write("\t\t\t var en= es.isDropDownListEditable();\r\n");
      out.write("\t\t  \t \r\n");
      out.write("\t\t\t $E('ddlbselect').value=name; \r\n");
      out.write("\t\t\t $E('ddlbeditable').checked=en;\r\n");
      out.write("\t\t\t $E('valuemustinddlb').checked=es.isValueMustInDDLB();\r\n");
      out.write("\t\t\t \r\n");
      out.write("\t\t\t \r\n");
      out.write("\t\t\t $E('ddlbstyle_ddlb').checked=true;\r\n");
      out.write(" \t\t\t $E('ddlbstyle_checkbox').checked= es.isListShowAsCheckBox();\r\n");
      out.write("\t\t\t $E('ddlbstyle_radio').checked= es.isListShowAsRadioButton();\r\n");
      out.write("\t\t\t $E('ddlbstyle_ddlbcheckbox').checked= es.isListShowAsDropdownCheckBox();\r\n");
      out.write("\r\n");
      out.write("\t\t\t $E('ddlb_columncount').value=es.getColumnCountOnRow();\r\n");
      out.write("\t\t\t \r\n");
      out.write("\t\t\t $E('ddlbwidth').value=es.getDDLBWidthPercent();\r\n");
      out.write("\t\t\t $E('ddlbshowrealdata').checked= es.isShowRealData();\r\n");
      out.write("\t\t\t  \r\n");
      out.write("\t\t}\r\n");
      out.write("\t\t\r\n");
      out.write("\t\t// checkbox\r\n");
      out.write("\t\tif ( et==5)\r\n");
      out.write("\t\t{\r\n");
      out.write("\t\t\tvar tip=es.getCheckBoxTipText();\r\n");
      out.write("\t\t\tvar on=es.getCheckOnValue();\r\n");
      out.write("\t\t\tvar off=es.getCheckOffValue() ;\r\n");
      out.write("\t\t\t\r\n");
      out.write("\t\t\t$E('checkboxonvalue').value=on ; \r\n");
      out.write("\t\t\t$E('checkboxoffvalue').value=off ; \r\n");
      out.write("\t\t\t$E('checkboxtip').value=tip ; \r\n");
      out.write("\t\t}\r\n");
      out.write("\t\t\t\r\n");
      out.write("\t\t//Radiobutton unsupport\t\r\n");
      out.write("\t\t// if  ( et==6) \r\n");
      out.write("\t\t\r\n");
      out.write("\t\t\r\n");
      out.write("\t\t// richedit\r\n");
      out.write("\t   \tif ( et==7 )\r\n");
      out.write("\t   \t{\r\n");
      out.write("\t   \t\t\t\r\n");
      out.write("\t   \t}\r\n");
      out.write("\t   \t\r\n");
      out.write("\t}\r\n");
      out.write("\t\r\n");
      out.write("\t  \r\n");
      out.write("\tfunction reloadDSN()\r\n");
      out.write("\t{\r\n");
      out.write("\t   //把数据源列表删除，重新构造\r\n");
      out.write("\t\ttry\r\n");
      out.write("\t\t{\r\n");
      out.write("\t\t\t$E('dsn').outerHTML=''; //删除\r\n");
      out.write("\t\t}catch(Err)\r\n");
      out.write("\t\t{\r\n");
      out.write("\t\t}\r\n");
      out.write("\t\t\r\n");
      out.write("\t\tcheckDSN();\r\n");
      out.write("\t}\r\n");
      out.write("\t\r\n");
      out.write("\t/*\r\n");
      out.write("\t 检查数据源列表是不是已经构造，如果没有构造，那么就构造它\r\n");
      out.write("\t */\r\n");
      out.write("\tfunction checkDSN()\r\n");
      out.write("\t{\r\n");
      out.write("\t \r\n");
      out.write("\t   \r\n");
      out.write("\t\tvar dsn =$E('dsn');\r\n");
      out.write("\t\tif( dsn!=null) return;\r\n");
      out.write("\t\t \r\n");
      out.write("\t\tvar applet=getApplet();\r\n");
      out.write("\t\tvar dsncontainer= $E('dsncontainer');\r\n");
      out.write(" \r\n");
      out.write("\t\tvar html= applet.getDataSourceList();\r\n");
      out.write("\t\tdsncontainer.innerHTML= html;\r\n");
      out.write(" \r\n");
      out.write("\t\t//批量修改数据源\r\n");
      out.write("\t\tvar html2= applet.getDataSourceList(\"dsn_pl\",false);\r\n");
      out.write("\t\t \r\n");
      out.write("\t\t$E('dsncontainer_pl').innerHTML= html2;\r\n");
      out.write("\r\n");
      out.write("\t\t//调取字段\r\n");
      out.write("\t\tReloadDBColumn();\r\n");
      out.write("\t\t$E('dsn').value='';\r\n");
      out.write("\t\t \r\n");
      out.write("\t\t \r\n");
      out.write("\t\t$E('analyse_table').outerHTML=\"<select  id= analyse_table >\"+ $E('dsn').innerHTML+\"</select> \";\r\n");
      out.write("\t \r\n");
      out.write("\t\t\r\n");
      out.write("\t}\r\n");
      out.write("\t\r\n");
      out.write("\t/*\r\n");
      out.write("\t检查DDLB列表有没有构造好\r\n");
      out.write("\t*/\r\n");
      out.write("\r\n");
      out.write("\tvar gs_AllDDLBHTML=\"\";  //记录下所有DDLB的HTML\r\n");
      out.write("\t\r\n");
      out.write("\tfunction checkDDLB(  )\r\n");
      out.write("\t{\r\n");
      out.write("\r\n");
      out.write("\t\t\r\n");
      out.write("\t\tvar ddlb =$E('ddlbselect');\r\n");
      out.write("\t\tif( ddlb!=null) return;\r\n");
      out.write("\t\t \r\n");
      out.write("\t\tvar applet=getApplet();\r\n");
      out.write("\t\tvar ddlbcontainer= $E('ddlbcontainer');\r\n");
      out.write("\r\n");
      out.write("\t\t \r\n");
      out.write("\t\tvar html= applet.getDDLBNameList();\r\n");
      out.write("\t \r\n");
      out.write("\t    ddlbcontainer.innerHTML=html;\r\n");
      out.write("\t    gs_AllDDLBHTML=html;\r\n");
      out.write("\t}\r\n");
      out.write("\r\n");
      out.write("\tfunction filterDDLB()\r\n");
      out.write("\t{\r\n");
      out.write("\t\tvar applet=getApplet();\r\n");
      out.write("\t\tvar ddlbcontainer= $E('ddlbcontainer');\r\n");
      out.write("\t\tvar key= $E('ddlbfilter').value;\r\n");
      out.write("\t\tvar html= applet.getDDLBNameList(key);\r\n");
      out.write("\t     ddlbcontainer.innerHTML=html;\r\n");
      out.write("\t     if( key=='')  gs_AllDDLBHTML=html; \r\n");
      out.write("\t}\r\n");
      out.write("\t\r\n");
      out.write("\t/*\r\n");
      out.write("\t当数据源选择改变时，刷新字段列表，该脚本在 FlowFormDesign这个Applet中\r\n");
      out.write("\t的 getDataSourceList函数中用到\r\n");
      out.write("\t*/\r\n");
      out.write("\tfunction ReloadDBColumn()\r\n");
      out.write("\t{\r\n");
      out.write("      \r\n");
      out.write("\t\tvar dsn =$E('dsn');\r\n");
      out.write("\t\tvar dsname= dsn.value;\r\n");
      out.write("\t\tvar applet=getApplet();\r\n");
      out.write("\t\tvar cc=$E('columncontainer');\r\n");
      out.write("\t\tcc.innerHTML= applet.getDBColumnList(dsname);\r\n");
      out.write("\t\t$E('columnlist').value='';\r\n");
      out.write(" \r\n");
      out.write("\t} \r\n");
      out.write("\t\r\n");
      out.write("\t \r\n");
      out.write("\t\r\n");
      out.write("\t\r\n");
      out.write("\t \r\n");
      out.write("</script>\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("<body scroll=\"no\" >\r\n");
      out.write("<iframe  style=\"display:none\" id=\"scriptedit\" src=\"\"></iframe>\r\n");
      out.write("<DIV class=menu  id=myMenu style=\"visible:hidden\"> </DIV>\r\n");
      out.write("<SCRIPT\ttype=\"text/javascript\" src=\"js/simplemenu.js\"></SCRIPT> \r\n");
      out.write("\r\n");
      out.write(" <script language=\"javascript\">\r\n");
      out.write("\t var t=new tab( 't');\r\n");
      out.write("\t \r\n");
      out.write("\t t.addTab('常规','nodetab1','',true );\r\n");
      out.write(" \t t.addTab('格式','nodetab2','',true );\r\n");
      out.write(" \t \r\n");
      out.write(" \t ");
      if (_jspx_meth_c_005fif_005f7(_jspx_page_context))
        return;
      out.write(" \r\n");
      out.write("\t \r\n");
      out.write("\t t.create();\r\n");
      out.write("\t \r\n");
      out.write("\tfunction afterShowTab(tabid)\r\n");
      out.write("    {\r\n");
      out.write("\t\t//如果是打开补全页面，发现没有列出补全，那么自动列出\r\n");
      out.write("    \tif( tabid=='nodetab4') \r\n");
      out.write("\t\t{\r\n");
      out.write("\t\t\tvar obj=$E('allAutoCompleteContainer');\r\n");
      out.write("\t\t\tif (obj.innerHTML=='') listAllAutoComplete();\r\n");
      out.write("\t\t}\r\n");
      out.write("\t\t//如果是打开相关取数页面，发现没有列出相关取数，那么自动列出\r\n");
      out.write("\t\tif( tabid=='nodetab5') \r\n");
      out.write("\t\t{\r\n");
      out.write("\t\t\tvar obj=$E('allRelativeContainer');\r\n");
      out.write("\t\t\tif (obj.innerHTML=='') listAllRelative();\r\n");
      out.write("\t\t}\r\n");
      out.write("\r\n");
      out.write("\t\tif( tabid=='nodetab6') \r\n");
      out.write("\t\t{\r\n");
      out.write("\t\t\tvar obj=$E('allCodeContainer');\r\n");
      out.write("\t\t\tif (obj.innerHTML=='') listAllCodeHelp();\r\n");
      out.write("\t\t}\r\n");
      out.write("\t\t\r\n");
      out.write("    }\r\n");
      out.write("\t\r\n");
      out.write("\tfunction CellBrickConfig()\r\n");
      out.write("\t{\r\n");
      out.write("\t\tvar cellname=  $E('cellname').value;\r\n");
      out.write("\t\tif ( cellname=='') \r\n");
      out.write("\t\t{\r\n");
      out.write("\t\t\talert(\"请先点击一个单元格\");\r\n");
      out.write("\t\t\treturn;\r\n");
      out.write("\t\t}\r\n");
      out.write("\t\t\r\n");
      out.write("\t\t\r\n");
      out.write("\t\t\r\n");
      out.write("\t\tvar applet=getApplet();\r\n");
      out.write("\t\tvar guid= $E('sheetguid').value;\r\n");
      out.write("\t\tvar sheet = applet.book.getWorkSheetByGuid(guid);\r\n");
      out.write("\t\tvar range= sheet.getSelection();\r\n");
      out.write("\t\t\r\n");
      out.write("\t\tvar row=range.getStartRow();\r\n");
      out.write("\t\tvar col=range.getStartCol();\r\n");
      out.write("\t\t\r\n");
      out.write("\t\tnavigate('workbook_config_cell_brick.jsp?sheet='+guid+\r\n");
      out.write("\t\t  '&cell='+//cellname +  2017.07.07 在一些旧的浏览器上， cellName中的中文，引起页面打不开\r\n");
      out.write("\t\t  '&row='+row+\r\n");
      out.write("\t\t  '&col='+col+\r\n");
      out.write("\t\t  '&type=");
      if (_jspx_meth_c_005fout_005f3(_jspx_page_context))
        return;
      out.write("'+ \r\n");
      out.write("\t\t  '&id=");
      if (_jspx_meth_c_005fout_005f4(_jspx_page_context))
        return;
      out.write("');\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("\tfunction \tCellDataConfig()\r\n");
      out.write("\t{\r\n");
      out.write("\t\tvar cellname=  $E('cellname').value;\r\n");
      out.write("\t\tif ( cellname=='') \r\n");
      out.write("\t\t{\r\n");
      out.write("\t\t\talert(\"请先点击一个单元格\");\r\n");
      out.write("\t\t\treturn;\r\n");
      out.write("\t\t}\r\n");
      out.write("\t\t\r\n");
      out.write("\t\tvar applet=getApplet();\r\n");
      out.write("\t\tvar guid= $E('sheetguid').value;\r\n");
      out.write("\t\tvar sheet = applet.book.getWorkSheetByGuid(guid);\r\n");
      out.write("\t\tvar range= sheet.getSelection();\r\n");
      out.write("\t\t\r\n");
      out.write("\t\tvar row=range.getStartRow();\r\n");
      out.write("\t\tvar col=range.getStartCol();\r\n");
      out.write("\t\t\r\n");
      out.write("\t\tnavigate('workbook_config_cell_tag.jsp?sheet='+guid+\r\n");
      out.write("\t\t  '&cell='+cellname +\r\n");
      out.write("\t\t  '&row='+row+\r\n");
      out.write("\t\t  '&col='+col+\r\n");
      out.write("\t\t  '&type=");
      if (_jspx_meth_c_005fout_005f5(_jspx_page_context))
        return;
      out.write("'+ \r\n");
      out.write("\t\t  '&id=");
      if (_jspx_meth_c_005fout_005f6(_jspx_page_context))
        return;
      out.write("');\r\n");
      out.write("\t\t\r\n");
      out.write("\t}\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("\tfunction openDocument()\r\n");
      out.write("\t{\r\n");
      out.write("\t\topen('workbook_document_edit.jsp");
      if (_jspx_meth_c_005fout_005f7(_jspx_page_context))
        return;
      out.write("');\r\n");
      out.write("\t}\r\n");
      out.write("\t\r\n");
      out.write("\t\r\n");
      out.write("\t \r\n");
      out.write("</script>\r\n");
      out.write("\r\n");
      out.write("<div  id=div2 style=\"width: 100%; height:400px;   overflow-y: auto; overflow-x: auto\">\r\n");
      out.write(" \t \r\n");
      out.write("<div id=nodetab1 style=\"padding-top:10px;\">\r\n");
      out.write(" \r\n");
      out.write("  <script>\r\n");
      out.write("   var tab_cell=new tab( 'tab_cell');\r\n");
      out.write("\t \r\n");
      out.write("\t tab_cell.addTab('单元格','tab_cell','',true );\r\n");
      out.write(" \t tab_cell.addTab('工作表','tab_sheet','',true );\r\n");
      out.write("     tab_cell.addTab('行','tab_row','',true );\r\n");
      out.write(" \t tab_cell.addTab('列','tab_col','',true );\r\n");
      out.write("\t ");
      if (_jspx_meth_c_005fif_005f8(_jspx_page_context))
        return;
      out.write("\r\n");
      out.write(" \t\r\n");
      out.write(" \t tab_cell.addTab('直接编辑配置','tab_editconfig','',true );\r\n");
      out.write("\t \r\n");
      out.write("\t \r\n");
      out.write(" \t tab_cell.create();\r\n");
      out.write(" \t</script>\r\n");
      out.write(" \r\n");
      out.write(" \r\n");
      out.write("<div id=tab_sheet  style=\"height:250px;padding-top:10px;\" >  <!--  ****************************** -->\t\r\n");
      out.write(" \r\n");
      out.write("<fieldset  style=\"width:100%; padding :3px;\"><legend>工作本：<input type=\"text\" name=\"sheetname\" id=\"sheetname\"    readonly   style=\"border:0;color:green;\" > </legend> \r\n");
      out.write("<div><input type=\"hidden\" id=\"sheetguid\"><input type=\"checkbox\"  id  =sheettag  onclick=\"setSheetIsDataSheet();\" name   =sheettag >是数据透视表&nbsp;&nbsp;&nbsp;\r\n");
      out.write("<span class='asbutton' id=crosswizard onclick=\"showCrossWizard();\" style=\"display:none;\">向导</span>  <span id  =st_sheetguid  style=\"display:none;\"></span>\r\n");
      out.write("</div>\r\n");
      out.write("<div><input type=\"checkbox\"  onclick=\"freezeOrNot( this);\" id  =sheetFreeze    >在单元格<input type=\"text\" class=\"flatbox\" readonly=true id=sheetFreezedCellName size=10>处冻结 \r\n");
      out.write("</div>\r\n");
      out.write("</fieldset>\r\n");
      out.write("\r\n");
      out.write("<script>\r\n");
      out.write("\tfunction setSheetIsDataSheet()\r\n");
      out.write("\t{\r\n");
      out.write("\r\n");
      out.write("\t    var applet=getApplet();\r\n");
      out.write("\t\tvar guid= $E('sheetguid').value;\r\n");
      out.write("\t    if ( guid=='') \r\n");
      out.write("\t    {\r\n");
      out.write("\t\t    alert(\"请先在表单上点击一下。\");\r\n");
      out.write("\t\t    return;\r\n");
      out.write("\t    }\r\n");
      out.write("\t\tvar sheet = applet.book.getWorkSheetByGuid(guid);\r\n");
      out.write("\t    \r\n");
      out.write("\t\t\r\n");
      out.write("\t\t　\t//如果sheet 的tag有其它数据，那么先取出来，这里仅设置需要设置的数据，这样就不会把其它数据冲掉\r\n");
      out.write("\t\t\t\tvar tag= {};\r\n");
      out.write("\t\t\t\ttry\r\n");
      out.write("\t\t\t\t{  \r\n");
      out.write("\t\t\t\t\ttag=JSON.parse( sheet.getTag().toString());\r\n");
      out.write("\t\t\t\t}catch(err)\r\n");
      out.write("\t\t\t\t{\r\n");
      out.write("\t\t\t\t\ttag={} ;\r\n");
      out.write("\t\t\t\t}\r\n");
      out.write("\r\n");
      out.write("\t\t       if ( typeof(tag)!='object') tag={};\r\n");
      out.write("\t\t\t\t\r\n");
      out.write("\t\t\t\ttag.crossdatasheet=$E('sheettag').checked;\r\n");
      out.write("\t\t\t\tvar v=$E('sheettag').checked?\"\":\"none\";\r\n");
      out.write("\t\t\t\t$E('cb_datasheet').style.display=v;\r\n");
      out.write("\t\t\t\t$E('crosswizard').style.display=v;\r\n");
      out.write("\t\t\t\t\r\n");
      out.write("\t\t\t\tvar s=JSON.toString(tag);\r\n");
      out.write("\t\t\t \r\n");
      out.write("\t\t\t\tsheet.setTag ( s);\r\n");
      out.write("\t　\r\n");
      out.write("\t\t\r\n");
      out.write("\t \r\n");
      out.write("\t}\r\n");
      out.write("\r\n");
      out.write("\t\r\n");
      out.write("function showCrossWizard()\r\n");
      out.write("{\r\n");
      out.write("\r\n");
      out.write("\tvar guid= $E('sheetguid').value;\r\n");
      out.write("\t  if ( guid=='') \r\n");
      out.write("\t    {\r\n");
      out.write("\t\t    alert(\"请先在表单上点击一下。\");\r\n");
      out.write("\t\t    return;\r\n");
      out.write("\t    }\r\n");
      out.write("\tvar applet = getApplet() ; \r\n");
      out.write(" \tvar sheet = applet.book.getWorkSheetByGuid(guid);\r\n");
      out.write("    var range= sheet.getSelection();\r\n");
      out.write("\tvar cell=sheet.Cells(range.getStartRow(), range.getStartCol());\r\n");
      out.write("        \r\n");
      out.write(" \t window.showModalDialog('workbook_config_cross_wizard.jsp', \r\n");
      out.write(" \t\t \t    {\r\n");
      out.write("\t \t          applet: applet  , \r\n");
      out.write("\t \t          sheet:sheet  ,\r\n");
      out.write("\t \t          guid:guid,\r\n");
      out.write("\t \t          cell: cell\r\n");
      out.write(" \t\t \t    },\r\n");
      out.write(" \t\t \t  \"dialogWidth:\" + 800  + \"px;dialogHeight:\" +400+  \"px;help:no;scroll:no;status:no\");\r\n");
      out.write(" \t  \r\n");
      out.write(" }\r\n");
      out.write("\r\n");
      out.write(" function freezeOrNot( chk)\r\n");
      out.write(" {\r\n");
      out.write("\t   var applet=getApplet();\r\n");
      out.write("\t\tvar guid= $E('sheetguid').value;\r\n");
      out.write("\t\t  \r\n");
      out.write("\t\tvar sheet = applet.book.getWorkSheetByGuid(guid);\r\n");
      out.write("\t\tif (chk.checked)\r\n");
      out.write("\t\t{    \r\n");
      out.write("\t\t\tvar range= sheet.getSelection();\r\n");
      out.write("\t\t\tvar name=sheet.Cells(range.getStartRow(), range.getStartCol()).getName()\r\n");
      out.write("\t\t\t$E(\"sheetFreezedCellName\" ).value = name;\r\n");
      out.write("\t\t\tsheet.freezeCell( name);\r\n");
      out.write("\t\t}else\r\n");
      out.write("\t\t{ \r\n");
      out.write("\t\t\t$E(\"sheetFreezedCellName\" ).value = \"\";\r\n");
      out.write("\t\t\tsheet.unFreezeCell( );\r\n");
      out.write("        }\r\n");
      out.write("       \r\n");
      out.write(" }\r\n");
      out.write("</script>\r\n");
      out.write("</div>\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("<div id='nodetab_click'  ");
      if (_jspx_meth_c_005fif_005f9(_jspx_page_context))
        return;
      out.write("  >\r\n");
      out.write("  <br>\r\n");
      out.write(" \r\n");
      out.write("  <div><input type=\"checkbox\" id=clickEventNeedVerify    onclick=\"setClickEventNeedVerify()\" >单元格点击需要进行权限控制</div>\r\n");
      out.write("  <div>权限控制说明：<br><input type=\"text\" id=clickEvent_name  size=30></input>\r\n");
      out.write("  </div>\r\n");
      out.write("  \r\n");
      out.write(" <script>\r\n");
      out.write(" function setClickEventNeedVerify( )\r\n");
      out.write(" {\r\n");
      out.write("\t    var b= $E('clickEventNeedVerify').checked;\r\n");
      out.write("\t    var applet=getApplet();\r\n");
      out.write("\t\tvar sheet = applet.book.getActiveSheet();\r\n");
      out.write("\t\tvar range= sheet.getSelection();\r\n");
      out.write("\t\tvar row= range.getStartRow();\r\n");
      out.write("\t\tvar col=  range.getStartCol();\r\n");
      out.write("\t\tvar cell=sheet.cells(row,col);\r\n");
      out.write("\t\tvar alias=''+cell.getAlias();\r\n");
      out.write("\t\tif( alias=='') alias= $E('cellalias').value;\r\n");
      out.write("\t\tif( alias=='' && b)\r\n");
      out.write("\t\t{\r\n");
      out.write("\t\t\talert(\"请先为单元格设置别名。\");\r\n");
      out.write("\t\t\t$E('clickEventNeedVerify').checked=false;\r\n");
      out.write("\t\t\treturn  ;\r\n");
      out.write("\t\t}\r\n");
      out.write("\t\t\r\n");
      out.write("\t\tvar tip=$E('clickEvent_name').value;\r\n");
      out.write("\t\t  \r\n");
      out.write("\t\t//如果需要控制，但没有输入一个说明\r\n");
      out.write("\t\tif( tip==''  && b) \r\n");
      out.write("\t\t{\r\n");
      out.write("\t\t\tvar dbc= cell.getBind();\r\n");
      out.write("\t\t\tif( dbc!=null)\r\n");
      out.write("\t\t\t{\r\n");
      out.write("\t\t\t    tip= dbc.getDataSource()+\".\"+ dbc.getDBCol() ;\r\n");
      out.write("\t\t\t    alert(\"建议设置一个中文提示，便于进行权限设置。\");\r\n");
      out.write("\t\t\t}else\r\n");
      out.write("\t\t\t{\r\n");
      out.write("\t\t\t\ttip=cell.getValue();\t\r\n");
      out.write("\t\t\t}\r\n");
      out.write("\t\t\t\t\r\n");
      out.write("\t\t\t$E('clickEvent_name').value=tip;\r\n");
      out.write("\t\t\t\r\n");
      out.write("\t\t}\r\n");
      out.write("\t\t\r\n");
      out.write("\t\tcell.setCustomValue(\"clickEventNeedVerify\" , b?\"true\":\"false\");\r\n");
      out.write("\t\tcell.setCustomValue(\"clickEventTag\" , tip );\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(" \r\n");
      out.write(" </script>\r\n");
      out.write("</div><!-- end of tab7 -->\r\n");
      out.write("\r\n");
      out.write("<div id=tab_editconfig style=\"height:250px;padding-top:10px;\">  <!--  ****************************** -->\t\r\n");
      out.write(" \r\n");
      out.write("\r\n");
      out.write(" <!--  input type=\"button\"  onclick=\"ConfigEdit();\" title=\"\"  value=\"直接修改配置\" -->\r\n");
      out.write("\r\n");
      out.write("   <ul style=\"line-height:21px;\">\r\n");
      out.write("   \t  <li><a href=\"javascript:EditFile('ui.xml')\">界面 (ui.xml)</a></li>\r\n");
      out.write("\t \t <li><a href=\"javascript:EditFile('brick.xml')\">界面扩展(brick.xml)</a></li> \r\n");
      out.write("\t\t <li><a href=\"javascript:EditFile('db.xml')\">数据库结构(db.xml)</a></li>\r\n");
      out.write("\t \t <li><a href=\"javascript:EditFile('bind.xml')\">数据库绑定(bind.xml)</a></li> \r\n");
      out.write("\t\t <li><a href=\"javascript:EditFile('editstyle.xml')\">编辑格式(editstyle.xml)</a></li>\r\n");
      out.write("\t \t <li><a href=\"javascript:EditFile('script.js')\">脚本(script.js)</a></li>\r\n");
      out.write("\t \t <li><a href=\"javascript:EditFile('autocomplete.xml')\">自动补全(autocomplete.xml)</a></li>\r\n");
      out.write("\t\t <li><a href=\"javascript:EditFile('relative.xml')\">相关取数(relative.xml)</a></li>\r\n");
      out.write("\t\t <li><a href=\"javascript:EditFile('include.xml')\">脚本包含(include.xml)</a></li>\r\n");
      out.write("\t\t \r\n");
      out.write("\t\t \r\n");
      out.write("\t<!--   \t <li><a href=\"javascript:EditFile('cellclick.xml')\">需控制点击权限的单元格(cellclick.xml)</a></li> \r\n");
      out.write("\t -->\r\n");
      out.write("\t\t \r\n");
      out.write("\t\t <li><a href=\"javascript:EditFile('attachmenttype.json')\">附件类型(attachmenttype.json)</a></li>\r\n");
      out.write("\t\t <li><a href=\"javascript:EditFile('morecolumnshowinflowlist.json')\">在流程列表中需要显示的字段</a></li>\t\r\n");
      out.write("\t\t </ul>\r\n");
      out.write("\t\t \r\n");
      out.write("</div>\r\n");
      out.write("\r\n");
      out.write("<div id=tab_row style=\"height:250px;padding-top:10px;\">  <!--  ****************************** -->\t\r\n");
      out.write(" \r\n");
      out.write(" <div>&nbsp;<input type=checkbox id=columnscrollenabled> 第<b>[ <span id=rowname style='color:red'></span> ]</b>行允许水平滚动</div>\r\n");
      out.write(" <div style=\"padding-top:10px;\">● 弹性权重：<select id=rowHeightStretch -onchange=\"setRowHeightStretch();\">\r\n");
      out.write(" <option value=\"0\">非弹性行</option>\r\n");
      out.write(" <option value=\"10\">10%</option>\r\n");
      out.write(" <option value=\"20\">20%</option>\r\n");
      out.write(" <option value=\"30\">30%</option>\r\n");
      out.write(" <option value=\"40\">40%</option>\r\n");
      out.write(" <option value=\"50\">50%</option>\r\n");
      out.write(" <option value=\"60\">60%</option>\r\n");
      out.write(" <option value=\"70\">70%</option>\r\n");
      out.write(" <option value=\"80\">80%</option>\r\n");
      out.write(" <option value=\"90\">90%</option>\r\n");
      out.write(" <option value=\"100\">100%</option>\r\n");
      out.write("  \r\n");
      out.write(" </select><br>\r\n");
      out.write(" <div style=\"padding:10px; color:green;\">\r\n");
      out.write("&nbsp;&nbsp;&nbsp;&nbsp;当界面高度变化时，具有弹性高度的行的高度将自动调整，当只有一个弹性行时，\r\n");
      out.write(" 弹性行将占据排除固定行高度之后的剩余高度．当有多个弹性行时，它们的高度将根据弹性权重瓜分剩余高度．\r\n");
      out.write(" <br><font color=red>注意：设计状态并不生效</font>\r\n");
      out.write(" </div>\r\n");
      out.write(" </div>\r\n");
      out.write(" \r\n");
      out.write("</div>\r\n");
      out.write("\r\n");
      out.write("<div id=tab_col style=\"height:250px;padding-top:10px;\">  <!--  ****************************** -->\t\r\n");
      out.write("\r\n");
      out.write("<div>&nbsp;列<b>[ <span id=colname style='color:red'></span> ]</b>在运行时的宽度：<input type=\"text\"  id  =colWidth   class=\"flatbox\"  size=8 ><br>&nbsp;(-1表示运行时宽度与设计时宽度相同)</div>\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("<div style=\"padding-top:10px;\">● 弹性权重：<select id=columnWidthStretch -onchange=\"setColumnWidthStretch();\">\r\n");
      out.write(" <option value=\"0\">非弹性列</option>\r\n");
      out.write(" <option value=\"10\">10%</option>\r\n");
      out.write(" <option value=\"20\">20%</option>\r\n");
      out.write(" <option value=\"30\">30%</option>\r\n");
      out.write(" <option value=\"40\">40%</option>\r\n");
      out.write(" <option value=\"50\">50%</option>\r\n");
      out.write(" <option value=\"60\">60%</option>\r\n");
      out.write(" <option value=\"70\">70%</option>\r\n");
      out.write(" <option value=\"80\">80%</option>\r\n");
      out.write(" <option value=\"90\">90%</option>\r\n");
      out.write(" <option value=\"100\">100%</option>\r\n");
      out.write("  \r\n");
      out.write(" </select><br>\r\n");
      out.write(" <div style=\"padding:10px; color:green;\">\r\n");
      out.write("&nbsp;&nbsp;&nbsp;&nbsp;当界面宽度变化时，具有弹性宽度的列的宽度将自动调整，当只有一个弹性列时，\r\n");
      out.write(" 弹性列将占据排除固定列宽度之后的剩余宽度．当有多个弹性列时，它们的宽度将根据弹性权重瓜分剩余宽度．\r\n");
      out.write("  <br><font color=red>注意：设计状态并不生效</font>\r\n");
      out.write(" </div>\r\n");
      out.write(" </div>\r\n");
      out.write(" \r\n");
      out.write("</div>\r\n");
      out.write("<div id=tab_cell style=\"padding-top:1px; \">\r\n");
      out.write("\r\n");
      out.write("<table border=0 width=100%><tr><td nowrap>\r\n");
      out.write("<input type=\"text\"     class=\"flatbutton\" disabled  style=\"color:0;\" name=\"cellname\" id=\"cellname\"  class='flatbox'  size=19 style=\"border:0\" >\r\n");
      out.write("<input type=\"button\"  id=cb_datasheet   onClick=\"CellDataConfig();\" title=\"定义单元格中的数据透视规则\" value=\"透视规则\">\r\n");
      out.write("</td><td align=right nowrap>\r\n");
      out.write("<input type=\"button\"  onclick=\"CellBrickConfig();\" title=\"在单元格内增加按钮，线条等\"  value=\"内嵌对象\">\r\n");
      out.write("</td></tr></table>\r\n");
      out.write("\r\n");
      out.write("<table  width=\"100%\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">\r\n");
      out.write("  <tr  >\r\n");
      out.write("    <td><table border=0 cellspacing=0 cellpadding=0 ><tr><td nowrap width=80>数据类型：</td>\r\n");
      out.write("    <td width=99%>\r\n");
      out.write("    <select id=cellvaluetype name=cellvaluetype>\r\n");
      out.write("    <option value=1>整数</option>\r\n");
      out.write("    <option value=2>小数</option>\r\n");
      out.write("    <option value=3>文本</option>\r\n");
      out.write("    <option value=4>日期</option>\r\n");
      out.write("   <!--  <option value=5>二进制</option>\r\n");
      out.write("    <option value=6>其它</option>\r\n");
      out.write("     -->\r\n");
      out.write("    <option value=99>自动识别</option></select>\r\n");
      out.write("    </td>\r\n");
      out.write("    <td nowrap title=\"在运行时，单元格内容是否可见\"><input type=checkbox checked  id=cellvisible >单元格可见</td>\r\n");
      out.write("    </tr></table></td>\r\n");
      out.write("   </tr>\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("  <tr  >\r\n");
      out.write("\r\n");
      out.write("    <td><table border=0 cellspacing=0 cellpadding=0 ><tr><td nowrap width=80>别名[<span class=asbutton onclick=\"$E('cellalias').value= $E('columnlist').value;\"  title=\"自动以绑定的字段做别名\">自动</span>]：</td><td width=99%><input type=\"text\"   name=\"cellalias\" id=\"cellalias\"  class='textbox'   onkeyup=\"if( event.keyCode==13) cb_commit_onclick();\" ></td></tr></table></td>\r\n");
      out.write("   </tr>\r\n");
      out.write("  <tr   style=\"display:none1;\">\r\n");
      out.write("    <td><table border=0 cellspacing=0 cellpadding=0 ><tr><td nowrap width=80>附加数据：</td><td width=99%><input type=\"text\"   name=\"celltag\" id=\"celltag\"  class='textbox'   onkeyup=\"if( event.keyCode==13) cb_commit_onclick();\"  ></td></tr></table></td>\r\n");
      out.write("   </tr>\r\n");
      out.write("　　<tr>\r\n");
      out.write("    <td><table border=0 cellspacing=0 cellpadding=0 ><tr><td nowrap width=80>提示信息：</td>\r\n");
      out.write("    <td width=99%><input type=\"text\"   name=\"tip\" id=\"tip\"  class='textbox'   onkeyup=\"if( event.keyCode==13) cb_commit_onclick();\" ></td></tr></table></td>\r\n");
      out.write("   </tr>\r\n");
      out.write("　<tr>\r\n");
      out.write("    <td><table border=0 cellspacing=0 cellpadding=0 ><tr><td nowrap width=80>动态可见：<img src=\"image/function.gif\" class=\"asbutton\" align=absmiddle width=\"16\" height=\"16\" onClick=\"function_help();\"></td>\r\n");
      out.write("    <td width=99%><input type=\"text\"   name=\"visibleexpression\" id=\"visibleexpression\"  title=\"可以使用一个表达式来定义本单元格是否可见，示例：=if(je>10,true, false)\" class='textbox'  ></td></tr></table></td>\r\n");
      out.write("   </tr>\r\n");
      out.write("    <td><table border=0 cellspacing=0 cellpadding=0 ><tr><td nowrap width=80>动态颜色：<img src=\"image/function.gif\" class=\"asbutton\" align=absmiddle width=\"16\" height=\"16\" onClick=\"function_help();\"></td>\r\n");
      out.write("    <td width=99%><input type=\"text\"   name=\"fontcolorexpression\" id=\"fontcolorexpression\"  title=\"可以使用一个表达式来定义本单元格的文字颜色，示例：=if(je>10,rgb(255,0,0),rgb(0,0,255))\" class='textbox'  ></td></tr></table></td>\r\n");
      out.write("   </tr>\r\n");
      out.write("    <td><table border=0 cellspacing=0 cellpadding=0 ><tr><td nowrap width=80>动态背景：<img src=\"image/function.gif\" class=\"asbutton\" align=absmiddle width=\"16\" height=\"16\" onClick=\"function_help();\"></td>\r\n");
      out.write("    <td width=99%><input type=\"text\"   name=\"backgroundexpression\" id=\"backgroundexpression\"  title=\"可以使用一个表达式来定义本单元格的背景颜色，示例：=if(je>10,rgb(255,0,0),rgb(0,0,255))\" class='textbox'  ></td></tr></table></td>\r\n");
      out.write("   </tr>\r\n");
      out.write("  </table>\r\n");
      out.write(" \r\n");
      out.write("\r\n");
      out.write("<fieldset  style=\"width:100%; padding :3px;\"><legend><b>定 义：</b>&nbsp;<img src=\"image/sum3.gif\" align=\"absmiddle\"  class=asbutton  title=\"=sum()\" onclick=\"var v=$E('celldefine').value; $E('celldefine').value='=sum('+v+')';\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\r\n");
      out.write("<input type=\"button\" class=\"flatbutton\" onClick=\"clearData()\" title=\"如果绑定到字段上，同时在单元格中也录入了数据，那么此数据将作为字段的缺省数据。如果不需要缺省数据，请点击这里\" value=\"清除定义\">\r\n");
      out.write("<select  id=formulaIsPriority   title=\"当单元格即定义了公式，也绑定到数据库时: \r\n");
      out.write("    ●如果设置为公式优先，这表示始终以公式的结果做为有效数据并同步保存到数据库 。\r\n");
      out.write("    ●如果设置为数据库优先，这表示当数据库中的数据为空时，将公式的结果回填到数据库，当数据库中有数据时，忽略公式的计算结果，以数据库中的数据为准。\r\n");
      out.write("    ●如果定义为优先级自动，这表示当公式中不包含对其它单元格的引用时，数据库优先，如果有对其它单元格的引用，则公式优先      \">\r\n");
      out.write("            <option value=\"0\">优先级自动</option>\r\n");
      out.write("            <option value=\"1\">公式优先</option>\r\n");
      out.write("            <option value=\"2\">数据库优先</option></select>\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("</legend>\r\n");
      out.write("<table  width=\"100%\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">\r\n");
      out.write("  <tr   style=\"display:none\">\r\n");
      out.write("\r\n");
      out.write("  <td colspan=2 >(当同时在此定义了计算公式，并指定了数据绑定时，表示将公式计算结果回填到指定的数据库中)</td>\r\n");
      out.write("  </tr>\r\n");
      out.write("  <tr  >\r\n");
      out.write("  <script>\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("    <td  height=\"32\" align=\"right\"><img src=\"image/function.gif\" class=\"asbutton\" width=\"16\" height=\"16\" onClick=\"function_help();\"></td>\r\n");
      out.write("    <td width=99%><input type=\"text\" name=\"celldefine\" id=\"celldefine\"  class='textbox95'  onkeyup=\"if( event.keyCode==13)   cb_commit_onclick();\"></td>\r\n");
      out.write("  </tr>\r\n");
      out.write("</table>\r\n");
      out.write("</fieldset>\r\n");
      out.write("\r\n");
      out.write("<fieldset  style=\"width:100%; padding :3px;\"><legend><b>数据源：</b>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\r\n");
      out.write("<input type=\"button\"   class=\"flatbutton\" onclick=\"cb_cleardb_onclick();\"  value=\"取消绑定\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\r\n");
      out.write(" <img align=absmiddle src=\"image/expand.gif\" title=\"弹出绑定窗口\" class=asbutton2 onclick=\"getApplet().showBindDialog(); \">&nbsp;&nbsp;\r\n");
      out.write(" <img align=absmiddle src=\"image/COPY.gif\" title=\"复制绑定信息\" class=asbutton2 onclick=\" clipboardData.setData('Text',  buildBindTipInfo() );alert('绑定信息已经复制到剪贴板'); \">&nbsp;&nbsp;\r\n");
      out.write("</legend>\r\n");
      out.write("<table  width=\"100%\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">\r\n");
      out.write("  <tr>\r\n");
      out.write("    <td  nowrap >数据源：</td>\r\n");
      out.write("    <td  width=99% id=dsncontainer><select class='textbox' ></select>    </td>\r\n");
      out.write("  </tr>\r\n");
      out.write(" 　\r\n");
      out.write("  <tr>\r\n");
      out.write("    <td nowrap height=24>字段<span class=asbutton onclick=\"autoSetTitle();\" title=\"点击则复制字段名称及字段含义信息到剪贴板\">[!]</span>：</td>\r\n");
      out.write("    <td   id=columncontainer> <select class='textbox' ></select></td>\r\n");
      out.write("  </tr>\r\n");
      out.write("  <tr>\r\n");
      out.write("    <td nowrap height=24>模&nbsp;&nbsp;式：</td>\r\n");
      out.write("    <td   id=columncontainer> <select class='textbox'  id=bindType >\r\n");
      out.write("    <option value=\"0\">自动</option>\r\n");
      out.write("   \r\n");
      out.write("    <option value=\"4\"  title=\"当数据源是多行时，在本模式下，本单元格绑定是多行数据源中的当前行，类似单行绑定\">绑定多行数据源的当前行</option>\r\n");
      out.write("    \r\n");
      out.write("    </select></td>\r\n");
      out.write("  </tr>\r\n");
      out.write("  \r\n");
      out.write("</table>\r\n");
      out.write("</fieldset>\r\n");
      out.write("\r\n");
      out.write("</div> <!-- end of tab_cell --> \r\n");
      out.write("\r\n");
      out.write("<table border =0 width=100% align=center><tr><td align=\"center\"><input type=\"button\" onclick=\"cb_commit_onclick();\" value=\" 提    交 \"></td></tr></table>\r\n");
      out.write(" \r\n");
      out.write("\t<SCRIPT language=\"javascript\">\r\n");
      out.write("\r\n");
      out.write("\ttab_cell.showTab(\"tab_cell\"); \r\n");
      out.write("\t\r\n");
      out.write("\t\r\n");
      out.write("\tfunction  buildBindTipInfo()\r\n");
      out.write("\t{\r\n");
      out.write("\t\tvar dsn= $E('dsn').value;\r\n");
      out.write("\t\tvar col= $E('columnlist').value;\r\n");
      out.write("\r\n");
      out.write("\t\tvar s= \"\";\r\n");
      out.write("\t\ttry\r\n");
      out.write("\t\t{\r\n");
      out.write("\t\t\ts=$E('dsn').options[$E('dsn').selectedIndex].text + $E('columnlist').options[$E('columnlist').selectedIndex].text\r\n");
      out.write("\t\t}catch(err)\r\n");
      out.write("\t\t{\r\n");
      out.write("\t\t\ts=\"\";\r\n");
      out.write("\t\t}\r\n");
      out.write("\r\n");
      out.write("\t\treturn dsn+\".\"+col+\"  \"+s;\r\n");
      out.write("\t\t\r\n");
      out.write("\t}\r\n");
      out.write("\t\r\n");
      out.write("\tfunction cb_commit_onclick()\r\n");
      out.write("\t{\r\n");
      out.write("\t   try\r\n");
      out.write("\t   {\r\n");
      out.write("\t\tshowTipInfo( \"<p style='font-size:12px' align='center'>让设置生效中...</p>\");\r\n");
      out.write("\r\n");
      out.write("\t\tsetSheetIsDataSheet() ;\r\n");
      out.write("\t\t\r\n");
      out.write("\t    var applet=getApplet();\r\n");
      out.write("\t\tvar guid= $E('sheetguid').value;\r\n");
      out.write("\t\tvar dsn= $E('dsn').value;\r\n");
      out.write("\t\tvar col= $E('columnlist').value;\r\n");
      out.write("\t\tvar alias= $E('cellalias').value;\r\n");
      out.write("\t\tvar tip=$E('tip').value;\r\n");
      out.write("\t\tvar cellvaluetype =$E('cellvaluetype').value;\r\n");
      out.write("\t\tvar tag= $E('celltag').value;\r\n");
      out.write("\t\tvar dstype= $E('bindtype').value;\r\n");
      out.write("\t\tif ( dsn==null) dsn='';\r\n");
      out.write("\t\tif ( col==null) col='';\r\n");
      out.write("\t\tif( dstype=='') dstype='0';\r\n");
      out.write("\t\t\r\n");
      out.write("\t\tdstype= parseInt(dstype,10);\r\n");
      out.write("\t\t//提交字段绑定\r\n");
      out.write("\t\tvar sheet = applet.book.getWorkSheetByGuid(guid);\r\n");
      out.write("\t\t\r\n");
      out.write("\t\t \r\n");
      out.write("\t\t//冻结\r\n");
      out.write("\t\t\r\n");
      out.write("\t\t \r\n");
      out.write("\t\tif (\t$E('sheetFreeze').checked )\r\n");
      out.write("\t\t{\r\n");
      out.write("    \t\tvar cellName= $E(\"sheetFreezedCellName\" ).value;\r\n");
      out.write("    \t\tsheet.freezeCell( cellName);\r\n");
      out.write("         }else\r\n");
      out.write("         {\r\n");
      out.write("             sheet.unFreezeCell();\r\n");
      out.write("         }\r\n");
      out.write("        \r\n");
      out.write("\t\t\r\n");
      out.write("\t\tvar range= sheet.getSelection();\r\n");
      out.write("\t\tvar cell= \tsheet.Cells(range.getStartRow(), range.getStartCol());\r\n");
      out.write("\t\r\n");
      out.write("\t\tcell.setBind( dsn, col , dstype); //dsn==''  col=='' 传入setBind后，出现　dsn='' , col=null 所以需要在setBind中对参数做判断\r\n");
      out.write("\t\tif ( tag=='') tag=null;\r\n");
      out.write("\r\n");
      out.write("\t\tvar s2=$E('colWidth').value;\r\n");
      out.write("\t \r\n");
      out.write("\t\ttry\r\n");
      out.write("\t\t{\r\n");
      out.write("\t\t\t \r\n");
      out.write("\t\t\t s2=parseInt( s2 ,10);\r\n");
      out.write("\t\t}catch(err)\r\n");
      out.write("\t\t{\r\n");
      out.write("\t\t\ts2=-1;\t\r\n");
      out.write("\t\t}\r\n");
      out.write("\r\n");
      out.write("\t\tif ( isNaN(s2)) s2=-1;\r\n");
      out.write("\t\t\r\n");
      out.write("\t\t \r\n");
      out.write("\t\tsheet.getColumnPropertyManage().setColumnWidth2( range.getStartCol(), s2);\r\n");
      out.write("\t\t \r\n");
      out.write("\t\tsheet.getRowPropertyManage().setColumnScrollEnable(range.getStartRow(),  $E('columnscrollenabled').checked);  \r\n");
      out.write("\t\t\r\n");
      out.write("\t \t   \r\n");
      out.write("\t\t\r\n");
      out.write("\t\tsheet.Cells(range.getStartRow(), range.getStartCol()).setTag(  tag);\r\n");
      out.write("\t\tvar err=''+sheet.Cells(range.getStartRow(), range.getStartCol()).setAlias(alias);\r\n");
      out.write("\t\t\r\n");
      out.write("\t\tvar currentCell=sheet.Cells(range.getStartRow(), range.getStartCol());\r\n");
      out.write("\t\tcurrentCell.setToolTip(tip);\r\n");
      out.write("\t\tcurrentCell.setCellValueType(cellvaluetype );\r\n");
      out.write("\t\t\r\n");
      out.write("\t\tcurrentCell.setVisible (  $E(\"cellvisible\").checked );\r\n");
      out.write("\t\t   \r\n");
      out.write("\t\tcurrentCell.setProperty(\"display-expression\" , $E( \"visibleexpression\").value );\r\n");
      out.write("\t\tcurrentCell.setProperty(\"font-color-expression\",$E( \"fontcolorexpression\").value );\r\n");
      out.write("\t\tcurrentCell.setProperty(\"background-color-expression\", $E(\"backgroundexpression\").value);\r\n");
      out.write("\t  \t \r\n");
      out.write(" \r\n");
      out.write("\t\tvar formulaIsPriority =parseInt( $E('formulaIsPriority').value ,10);\r\n");
      out.write("\t\t //公式和数据库的优先级\r\n");
      out.write("\t\tsheet.Cells(range.getStartRow(), range.getStartCol()).setFormulaIsPriority ( formulaIsPriority );\r\n");
      out.write("\t\t\t\t\r\n");
      out.write("\t\tif( err!='') alert ( err);\r\n");
      out.write("\t\tsheet.Cells(range.getStartRow(), range.getStartCol()).setValue( $E('celldefine').value );\r\n");
      out.write("\t\t\r\n");
      out.write("\t\t//点击权限控制\r\n");
      out.write("\t\tsetClickEventNeedVerify();\r\n");
      out.write("\t\t\r\n");
      out.write("\t\tsetRowHeightStretch();\r\n");
      out.write("\t\tsetColumnWidthStretch();\r\n");
      out.write("\t\t\r\n");
      out.write("\t\tsleep(500);\r\n");
      out.write("\t\t\r\n");
      out.write("\t\t\r\n");
      out.write("\t\thideTipInfo();\r\n");
      out.write("\t  }catch(err)\r\n");
      out.write("\t  {\r\n");
      out.write("\t   //alert(err.description);\r\n");
      out.write("\t   hideTipInfo();\r\n");
      out.write("\t  }\r\n");
      out.write("\t}\r\n");
      out.write("\r\n");
      out.write("\tfunction autoSetTitle()\r\n");
      out.write("\t{\r\n");
      out.write("\t\tvar  obj = $E('columnlist');\r\n");
      out.write("\t\tvar t=obj.options[obj.selectedIndex].text;\r\n");
      out.write("\t\tclipboardData.setData('Text',t);\r\n");
      out.write("\t\t \r\n");
      out.write("\t\t\r\n");
      out.write("\t}\r\n");
      out.write("\t\r\n");
      out.write("       \r\n");
      out.write("\tfunction cb_cleardb_onclick()\r\n");
      out.write("\t{\r\n");
      out.write("\t   try\r\n");
      out.write("\t   {\r\n");
      out.write("\t\tif ( !confirm('确信要取消数据绑定吗')) return;\r\n");
      out.write("\t    var applet=getApplet();\r\n");
      out.write("\t\tvar guid= $E('sheetguid').value;\r\n");
      out.write(" \r\n");
      out.write("\t\t//清除字段绑定\r\n");
      out.write("\t\tvar sheet = applet.book.getWorkSheetByGuid(guid);\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()).setBind(\"\",\"\"); \r\n");
      out.write("\t\tsetProperty('dsn','');\r\n");
      out.write("\t\tsetProperty('columnlist','');\r\n");
      out.write("\t\tsetProperty(\"bindtype\",'');\r\n");
      out.write("\t\t}catch(err)\r\n");
      out.write("\t\t{\r\n");
      out.write("\t\t}\r\n");
      out.write("\t}\r\n");
      out.write(" \r\n");
      out.write("\t \r\n");
      out.write("\t\r\n");
      out.write("    </SCRIPT>\t \r\n");
      out.write("\r\n");
      out.write("</div>\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("<div id=nodetab2>\r\n");
      out.write(" <p>&nbsp;</p>\r\n");
      out.write("  <p>\r\n");
      out.write("    <input name=\"edit_able\" id=editable1   type=\"radio\" value=\"0\" checked  onclick =\"setMoreEditable(false);\">\r\n");
      out.write("    不允许编辑 \r\n");
      out.write("    <input name=\"edit_able\"  id=editable2    type=\"radio\" value=\"1\"   onclick =\"setMoreEditable(true);\">\r\n");
      out.write("    允许编辑</p>\r\n");
      out.write("<script>\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("\t\r\n");
      out.write("\t\r\n");
      out.write("<div id=\"editstylepane\">\r\n");
      out.write("  \r\n");
      out.write("  <p>编辑/显示格式：<br>\r\n");
      out.write("    <select id=\"edittype\"   class='textbox' onChange=\"ShowHideEditStylePane();\">\r\n");
      out.write("      <option value=\"0\">普通</option>\r\n");
      out.write("\t  <option value=\"1\">数字</option>\r\n");
      out.write("\t  <option value=\"2\">多行文本</option>\r\n");
      out.write("      <option value=\"3\">日期</option>\r\n");
      out.write("      <option value=\"4\">列表</option>\r\n");
      out.write("      <option value=\"5\">复选按钮</option>\r\n");
      out.write("      <option value=\"7\">格式文本</option>\r\n");
      out.write("      \r\n");
      out.write("    </select>\r\n");
      out.write("</p>\r\n");
      out.write("\r\n");
      out.write("<script>\r\n");
      out.write("\r\n");
      out.write("function ShowHideEditStylePane()\r\n");
      out.write("{\r\n");
      out.write("\tvar v= $E('edittype').value;\r\n");
      out.write("\t$E('editstylepane0' ).style.display='none';\r\n");
      out.write("\t$E('editstylepane1' ).style.display='none';\r\n");
      out.write("\t$E('editstylepane2' ).style.display='none';\r\n");
      out.write("\t$E('editstylepane3' ).style.display='none';\r\n");
      out.write("\t$E('editstylepane4' ).style.display='none';\r\n");
      out.write("\t$E('editstylepane5' ).style.display='none';\r\n");
      out.write("\t\r\n");
      out.write("\t$E('editstylepane7' ).style.display='none';\r\n");
      out.write("\t\r\n");
      out.write("    \r\n");
      out.write("\t$E('editstylepane'+v).style.display='';\r\n");
      out.write(" }\r\n");
      out.write("\r\n");
      out.write("</script>\r\n");
      out.write("\r\n");
      out.write("<p id=editstylepane0>\r\n");
      out.write("\r\n");
      out.write("</p> \r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("  <p id=editstylepane1>\r\n");
      out.write("    <label>\r\n");
      out.write("    <input type=\"checkbox\" name=\"showcomma\" id=\"showcomma\" value=\"checkbox\">\r\n");
      out.write("    显示千分位</label>\r\n");
      out.write("  ，小数位数\r\n");
      out.write("  <input type=\"text\" size=\"6\" name=\"decimalcount\" id=\"decimalcount\" onkeydown='KeyDownFilterLong();'><br>\r\n");
      out.write("  \r\n");
      out.write("    <label>\r\n");
      out.write("    <input type=\"checkbox\" name=\"not_zerovisiblewheneditable\" id=\"not_zerovisiblewheneditable\" value=\"checkbox\">\r\n");
      out.write("    允许编辑时，如果值为0则不显示</label><br>\r\n");
      out.write("    <label>\r\n");
      out.write("    <input type=\"checkbox\" name=\"not_zerovisiblewhenuneditable\" id=\"not_zerovisiblewhenuneditable\" value=\"checkbox\">\r\n");
      out.write("    不允许编辑时，如果值为0则不显示</label><br>\r\n");
      out.write("    \r\n");
      out.write("    \r\n");
      out.write("  </p>\r\n");
      out.write("  \r\n");
      out.write("  \r\n");
      out.write("  <p id=editstylepane2>\r\n");
      out.write("\r\n");
      out.write("  </p> \r\n");
      out.write("\r\n");
      out.write("  <p id=editstylepane3 >日期格式：<br>\r\n");
      out.write("    <select name=\"datetimestyle\" id=\"datetimestyle\"   class='textbox' >\r\n");
      out.write("      <option value=\"YYYY.MM.DD\">YYYY.MM.DD</option>\r\n");
      out.write("      <option value=\"YYYY/MM/DD\">YYYY/MM/DD</option>\r\n");
      out.write("      <option value=\"YYYY-MM-DD\">YYYY-MM-DD</option>\r\n");
      out.write("      <option value=\"YYYY年MM月DD日\">YYYY年MM月DD日</option>\r\n");
      out.write("      <option value=\"YYYY.MM.DD hh:mm:ss\">YYYY.MM.DD hh:mm:ss</option>\r\n");
      out.write("      <option value=\"YYYY.MM.DD hh:mm\">YYYY.MM.DD hh:mm</option>\r\n");
      out.write("      <option value=\"MM月DD日\">MM月DD日</option>\r\n");
      out.write("      <option value=\"MM.DD\">MM.DD</option>\r\n");
      out.write("      <option value=\"MM.DD hh:mm\">MM.DD hh:mm</option>\r\n");
      out.write("      <option value=\"hh:mm:ss\">hh:mm:ss</option>\r\n");
      out.write("      <option value=\"YYYY.MM\">YYYY.MM</option>\r\n");
      out.write("      <option value=\"YYYY年MM月\">YYYY年MM月</option>\r\n");
      out.write("      <option value=\"hh:mm\">hh:mm</option>\r\n");
      out.write("      <option value=\"hh时mm分\">hh时mm分</option>\r\n");
      out.write("      \r\n");
      out.write("      <option value=\"MMM DD YYYY\">MMM DD YYYY</option>\r\n");
      out.write("      \r\n");
      out.write("    </select>\r\n");
      out.write("</p>\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("  <div  id=\"editstylepane4\" >列表：  [<a href=\"javascript:editDDLB(); \">修改</a>]\r\n");
      out.write("  &nbsp; [<a href=\"javascript:newDDLB()\"  >新建</a>]\r\n");
      out.write("  &nbsp;[<span class=asbutton onclick= \"javascript: if($E('ddlbselect')) { var v=$E('ddlbselect').value ;  $E('ddlbfilter').value=''; filterDDLB(); $E('ddlbselect').value=v; }\"   >刷新</span>]<br>\r\n");
      out.write("    <label>\r\n");
      out.write("    <input type=\"checkbox\" name=\"ddlbeditable\" id=\"ddlbeditable\" value=\"checkbox\">\r\n");
      out.write("    允许编辑\r\n");
      out.write("    <input type=\"checkbox\" name=\"valuemustinddlb\" id=\"valuemustinddlb\" value=\"checkbox\">\r\n");
      out.write("    数据必须在列表中</label>&nbsp;&nbsp;&nbsp;\r\n");
      out.write("    <img align=absmiddle src=\"image/COPY.gif\" title=\"复制列表名称\" class=asbutton2 onclick=\" clipboardData.setData('Text',   $E('ddlbselect').value );alert('列表名称已经复制到剪贴板'); \">&nbsp;&nbsp;\r\n");
      out.write("    <img src=\"image/PASTE.gif\" title=\"复制剪贴板的数据到列表名称\" align=absmiddle class=asbutton2  onclick=\" $E('ddlbselect').value = clipboardData.getData('Text') ; \">\r\n");
      out.write("     \r\n");
      out.write("    <br>\r\n");
      out.write("\t<span id=\"ddlbcontainer\"><font color=\"#FF0000\">如果这里没有可供选择的列表，请在左面设计界面上点击一下某个单元格</font></span>\r\n");
      out.write("\t<ul>\r\n");
      out.write("\t<li >\r\n");
      out.write("    <input type=\"radio\" name=ddlbstyle  id=ddlbstyle_ddlb value=\"ddlb\">列表</input>&nbsp;&nbsp;\r\n");
      out.write("    <input type=\"radio\" name=ddlbstyle  id=ddlbstyle_radio value=\"radio\">单选</input>&nbsp;&nbsp;\r\n");
      out.write("    <input type=\"radio\" name=ddlbstyle  id=ddlbstyle_checkbox  value=\"checkbox\">复选</input>\r\n");
      out.write("    <input type=\"radio\" name=ddlbstyle  id=ddlbstyle_ddlbcheckbox  value=\"ddlbcheckbox\">下拉复选</input>\r\n");
      out.write("    \r\n");
      out.write("    </li>\r\n");
      out.write("  <li>列表显示宽度\r\n");
      out.write("  <select id=ddlbwidth><option value=\"100\">100%</option><option value=\"150\">150%</option>\r\n");
      out.write("  <option value=\"200\">200%</option><option value=\"300\">300%</option><option value=\"400\">400%</option></select>\r\n");
      out.write("  </li>\r\n");
      out.write("  <li>  \r\n");
      out.write("  <span title=\"单元格直接显示真实的数据，而不是对应的显示值，但列表中显示的是显示值\"><input id= ddlbshowrealdata type=\"checkbox\">单元格显示数据值而不是显示值</input></span>\r\n");
      out.write("  </li>\r\n");
      out.write("  \r\n");
      out.write("  <li>显示风格为单选/复选时，分<input type=\"text\" id=ddlb_columncount value=\"1\" size=1>列显示 \r\n");
      out.write("    \r\n");
      out.write("\t<br><br><input id=ddlbfilter size=10 class='flatbox' type=\"text\"  onkeyup=\"if( event.keyCode==13) filterDDLB();\"><input onclick=\"filterDDLB();\" type=button value=\"过滤列表名称\"></input>\r\n");
      out.write("\t</li>\r\n");
      out.write("\t</ul>\r\n");
      out.write("\t\r\n");
      out.write("  </div>\r\n");
      out.write("  \r\n");
      out.write("  \r\n");
      out.write("  <div id=editstylepane5>\r\n");
      out.write("  <p>复选框：</p>\r\n");
      out.write("   提 示 &nbsp;文 字：\r\n");
      out.write("    <input type=\"text\" col=20  id=\"checkboxtip\">\r\n");
      out.write("    <br>\r\n");
      out.write("    选中 时 的值：\r\n");
      out.write("    <input type=\"text\" col=20 id=\"checkboxonvalue\">\r\n");
      out.write("    <br>\r\n");
      out.write("    不选中时的值：\r\n");
      out.write("    <input type=\"text\" col=20 id=\"checkboxoffvalue\">\r\n");
      out.write("  </div>\r\n");
      out.write("   \r\n");
      out.write("</div>\r\n");
      out.write("  \r\n");
      out.write("  \r\n");
      out.write(" <!--         Richedit     no more property --> \r\n");
      out.write(" <p id=editstylepane7>\r\n");
      out.write("\r\n");
      out.write("</p> \r\n");
      out.write("  \r\n");
      out.write("  \r\n");
      out.write("  \r\n");
      out.write("  <table width=\"100%\" border=\"0\">\r\n");
      out.write("  \r\n");
      out.write("  <tr>\r\n");
      out.write("    <td align=\"center\">&nbsp;\r\n");
      out.write("\t<SCRIPT language=\"javascript\">\r\n");
      out.write("\t \r\n");
      out.write("\t\r\n");
      out.write("\tfunction cb_editstylecommit_onclick()\r\n");
      out.write("\t{\r\n");
      out.write("\t    var applet=getApplet();\r\n");
      out.write("\t\tvar editable= $E('editable2').checked ;\r\n");
      out.write("\t\t \r\n");
      out.write("\t\tapplet.SetEditStyleNormal(editable);\r\n");
      out.write("\t\t \r\n");
      out.write("\t\tvar edittype= $E('edittype').value;\r\n");
      out.write("\t\tif ( edittype==0) applet.SetEditStyleNormal(editable);\r\n");
      out.write("\t\tif ( edittype==1) applet.SetEditStyleNumeric(\r\n");
      out.write("\t\t           $E('showcomma').checked , \r\n");
      out.write("\t\t\t\t   parseInt( $E('decimalcount').value),editable , \t\r\n");
      out.write("\t\t\t\t   !$E('not_zerovisiblewheneditable').checked ,\r\n");
      out.write("\t\t\t\t   !$E('not_zerovisiblewhenuneditable').checked  \r\n");
      out.write("\t\t\t\t\t );\r\n");
      out.write("\t\t\r\n");
      out.write("\t\tif ( edittype==2) applet.SetEditStyleMultiLine(editable);\r\n");
      out.write("\t\t\r\n");
      out.write("\t\tif ( edittype==3) applet.SetEditStyleDateTime(\r\n");
      out.write("\t\t           $E('datetimestyle').value ,editable);\r\n");
      out.write("\t\t\r\n");
      out.write("\t\tif ( edittype==4) \r\n");
      out.write("\t\t{\r\n");
      out.write("\t\t\r\n");
      out.write("\t\t\r\n");
      out.write("\t\t\tvar s=$E('ddlbselect').value;\r\n");
      out.write("\t\t\tvar ddlbeditable=$E('ddlbeditable').checked;\r\n");
      out.write("\t\t\tvar valuemustinddlb=$E('valuemustinddlb').checked;\r\n");
      out.write("\t\t\tif ( s=='') \r\n");
      out.write("\t\t\t{\r\n");
      out.write("\t\t\t\talert('请选择一个列表');\r\n");
      out.write("\t\t\t\treturn;\r\n");
      out.write("\t\t\t}\r\n");
      out.write("\r\n");
      out.write("\t\t\tvar style=\"ddlb\";\r\n");
      out.write("\t\t\tif( $E('ddlbstyle_ddlbcheckbox').checked ) style=\"ddlbcheckbox\";\r\n");
      out.write("\t\t\tif( $E('ddlbstyle_checkbox').checked ) style=\"checkbox\";\r\n");
      out.write("\t\t\tif( $E('ddlbstyle_radio').checked) style=\"radio\";\r\n");
      out.write("\t\t\t\r\n");
      out.write("\t\t\t\r\n");
      out.write("\t  \t\tapplet.SetEditStyleDDLB(s ,ddlbeditable ,editable, style , $E('ddlb_columncount').value , $E('ddlbwidth').value ,$E('ddlbshowrealdata').checked ,valuemustinddlb);\r\n");
      out.write("\t\t}\r\n");
      out.write("\t\t\r\n");
      out.write("\t\tif ( edittype==5) \r\n");
      out.write("\t\t{\r\n");
      out.write("\t\t\tvar on=$E('checkboxonvalue').value ; \r\n");
      out.write("\t\t\tvar off=$E('checkboxoffvalue').value ; \r\n");
      out.write("\t\t\tvar tip=$E('checkboxtip').value ; \r\n");
      out.write("\t\t\t\r\n");
      out.write("\t\t\tif ( on=='') \r\n");
      out.write("\t\t\t{\r\n");
      out.write("\t\t\t\talert('请指定选中时的值');\r\n");
      out.write("\t\t\t\treturn;\r\n");
      out.write("\t\t\t}\r\n");
      out.write("\t\t\tif ( off=='') \r\n");
      out.write("\t\t\t{\r\n");
      out.write("\t\t\t\talert('请指定不选中时的值');\r\n");
      out.write("\t\t\t\treturn;\r\n");
      out.write("\t\t\t}\r\n");
      out.write("\t\t\t \r\n");
      out.write("\t\t\tapplet.SetEditStyleCheckBox(tip , on,off,editable);\r\n");
      out.write("\t\t}\r\n");
      out.write("\t\t\r\n");
      out.write("\t\tif ( edittype==7) applet.SetEditStyleRichEdit(editable);\r\n");
      out.write("\t\t \r\n");
      out.write("\t}\r\n");
      out.write("\r\n");
      out.write("    var cb =new zbutton('cb_editstylecommit','生效','image/backto16.gif');\r\n");
      out.write("\t \r\n");
      out.write("\t // 初始化显示\r\n");
      out.write("\tShowHideEditStylePane();\r\n");
      out.write("\t\r\n");
      out.write("\t\r\n");
      out.write("    </SCRIPT>\t</td>\r\n");
      out.write("\t\r\n");
      out.write("\t \r\n");
      out.write("\t\r\n");
      out.write("  </tr>\r\n");
      out.write("</table>\r\n");
      out.write("  \r\n");
      out.write("</div>\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("<script language=\"javascript\">\r\n");
      out.write("//自动分析字段\r\n");
      out.write("\r\n");
      out.write("var analyseBindCell=null;\r\n");
      out.write("var analyseSheet=null;\r\n");
      out.write("var analyseTable=null;\r\n");
      out.write("\r\n");
      out.write("var analysing=false;\r\n");
      out.write("\r\n");
      out.write("var lastTable=\"\";//上一次分析时，选择的表\r\n");
      out.write("function autoBindAnalyse(sheet, textCell, bindCell,table, caption,colName )\r\n");
      out.write("{\r\n");
      out.write("\t");
      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 editDDLB()\r\n");
      out.write("{\r\n");
      out.write("\tvar name=$E('ddlbselect').value;\r\n");
      out.write("\t//lert(name);\r\n");
      out.write("\tif( name=='' || name=='selfvalue' || name=='自已的值') \r\n");
      out.write("\t{\r\n");
      out.write("\t\t\topen(\"workbook_config_ddlblist.jsp\");\r\n");
      out.write("\t\t\treturn;\r\n");
      out.write("\t}\r\n");
      out.write("\t\r\n");
      out.write("\tjsrsExecute(\"servlet/wiseoa.formdesign.rpc.SQLDDLBManage\", callback_editddlb, \"getDDLBEditURL\", name,false);\r\n");
      out.write("}\r\n");
      out.write("\r\n");
      out.write(" function  callback_editddlb(msg)\r\n");
      out.write(" {\r\n");
      out.write("\t\tif (extractValue(msg ,\"ok\")==\"true\") \r\n");
      out.write("\t\t{\r\n");
      out.write("\t\t\t open ( \"");
      if (_jspx_meth_c_005fout_005f8(_jspx_page_context))
        return;
      out.write("/\"+extractValue(msg ,\"url\" ));\r\n");
      out.write("\t\t}else\r\n");
      out.write("\t\t{\r\n");
      out.write("\t\t  alert ( extractValue(msg, \"error\"));\r\n");
      out.write("\t\t}\r\n");
      out.write(" }\r\n");
      out.write(" \r\n");
      out.write("\tfunction newDDLB()\r\n");
      out.write("\t{\r\n");
      out.write("\t \tif( confirm(\"新建动态列表，请点击“是”，新建静态列表，请点击“否”\"))\r\n");
      out.write("\t \t\t{\r\n");
      out.write("\t \t\t\t$NewDDLB(\"sql\" ,\"");
      out.print(unitLevelPath);
      out.write("\" );  \r\n");
      out.write("\t \t\t}else\r\n");
      out.write("\t \t\t{\r\n");
      out.write("\t \t\t\t$NewDDLB( \"static\",\"");
      out.print(unitLevelPath);
      out.write("\");\r\n");
      out.write("\t \t\t}\r\n");
      out.write("\t\t \r\n");
      out.write("\t}\r\n");
      out.write("\t\r\n");
      out.write("\t function $NewDDLB(type ,path_)\r\n");
      out.write("\t {\r\n");
      out.write("\t\t var url='workbook_config_ddlb_'+type+'.jsp?action=new&path='+path_;\r\n");
      out.write("\t\t open(url);\r\n");
      out.write("\t    \r\n");
      out.write("\t }\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 guessColType(caption)\r\n");
      out.write("{\r\n");
      out.write("    var  int_key=\"\";\r\n");
      out.write("\tvar  decimal_key=[[\"数\",20,0],[\"数量\",20,4],[\"额\",20,4],[\"金额\",20,4],\r\n");
      out.write("\t                   [\"税率\",10,6],[\"率\",10,6],[\"款\",10,6],[\"单价\",20,4]\r\n");
      out.write("\t                  ];\r\n");
      out.write(" \tvar  datetime_key=[\"日期\", \"时间\"];\r\n");
      out.write("\tvar  varchar_key=[[\"说明\",100],[\"备注\",100],[\"意见\",100],[\"结论\",255],\r\n");
      out.write("\t                   [\"结果\",255],[\"建议\",255],[\"指示\",100]\r\n");
      out.write("\t\t\t\t\t  ];\r\n");
      out.write("\t\r\n");
      out.write("\tvar  text_key=\"\";\r\n");
      out.write("\t \r\n");
      out.write(" //如果匹配到整数\r\n");
      out.write("\t for ( i=0;i< int_key.length ;i++) \r\n");
      out.write("\t {\r\n");
      out.write("\t \tif ( caption.indexOf( int_key[i])>=0) \r\n");
      out.write("\t\t{\r\n");
      out.write("\t\t\t$E('analyse_type').value='int';\r\n");
      out.write("　\t\t\treturn;\r\n");
      out.write("\t\t\t\r\n");
      out.write("\t\t}\r\n");
      out.write("\t }\r\n");
      out.write("\t//如果匹配到数字\t \r\n");
      out.write("\t for ( i=0;i< decimal_key.length ;i++) \r\n");
      out.write("\t {\r\n");
      out.write("\t \tif ( caption.indexOf( decimal_key[i][0])>=0) \r\n");
      out.write("\t\t{\r\n");
      out.write("\t\t\t$E('analyse_type').value='decimal';\r\n");
      out.write("\t\t\t$E('analyse_size').value=decimal_key[i][1];\r\n");
      out.write("\t\t\t$E('analyse_decimalcount').value=decimal_key[i][2];\r\n");
      out.write("\t\t\treturn;\r\n");
      out.write("\t\t\t\r\n");
      out.write("\t\t}\r\n");
      out.write("\t }\r\n");
      out.write("\t\r\n");
      out.write("\t//如果匹配到字符\t \r\n");
      out.write("\t for ( i=0;i< varchar_key.length ;i++) \r\n");
      out.write("\t {\r\n");
      out.write("\t \tif ( caption.indexOf( varchar_key[i][0])>=0) \r\n");
      out.write("\t\t{\r\n");
      out.write("\t\t\t$E('analyse_type').value='varchar';\r\n");
      out.write("\t\t\t$E('analyse_size').value=varchar_key[i][1];\r\n");
      out.write("\t\t\treturn;\r\n");
      out.write("\t\t\t\r\n");
      out.write("\t\t}\r\n");
      out.write("\t }\r\n");
      out.write("\t \r\n");
      out.write(" //如果匹配到日期\t \r\n");
      out.write("\t for ( i=0;i< datetime_key.length ;i++) \r\n");
      out.write("\t {\r\n");
      out.write("\t \tif ( caption.indexOf( datetime_key[i])>=0) \r\n");
      out.write("\t\t{\r\n");
      out.write("\t\t\t$E('analyse_type').value='datetime';\r\n");
      out.write("　\t\t\treturn;\r\n");
      out.write("\t\t\t\r\n");
      out.write("\t\t}\r\n");
      out.write("\t }\r\n");
      out.write("\t \r\n");
      out.write("\t\r\n");
      out.write("\t  //如果匹配到文本\r\n");
      out.write("\t for ( i=0;i< text_key.length ;i++) \r\n");
      out.write("\t {\r\n");
      out.write("\t \tif ( caption.indexOf( text_key[i])>=0) \r\n");
      out.write("\t\t{\r\n");
      out.write("\t\t\t$E('analyse_type').value='text';\r\n");
      out.write("　\t\t\treturn;\r\n");
      out.write("\t\t\t\r\n");
      out.write("\t\t}\r\n");
      out.write("\t }\r\n");
      out.write("\t \r\n");
      out.write("\t  \r\n");
      out.write("\t\r\n");
      out.write("\t\r\n");
      out.write("\t\r\n");
      out.write("}\r\n");
      out.write("\r\n");
      out.write("</script>\r\n");
      out.write("\r\n");
      out.write("<div id='nodetab3'  ");
      if (_jspx_meth_c_005fif_005f11(_jspx_page_context))
        return;
      out.write(" >\r\n");
      out.write("  <p>&nbsp;</p>\r\n");
      out.write("  <p class=\"px14\"> 增加字段：</p>\r\n");
      out.write("\r\n");
      out.write("<table width=\"100%\"  border=\"0\" cellspacing=\"2\" cellpadding=\"0\">\r\n");
      out.write("     <tr>\r\n");
      out.write("       <td nowrap>表的名称：</td>\r\n");
      out.write("       <td colspan=\"3\"><select  id=\"analyse_table\" ></select></td>\r\n");
      out.write("     </tr>\r\n");
      out.write("     <tr>\r\n");
      out.write("       <td width=\"9%\">字段含义：</td>\r\n");
      out.write("       <td colspan=\"3\"><input type=\"text\" class='textbox'  id=\"analyse_caption\"></td>\r\n");
      out.write("     </tr>\r\n");
      out.write("     <tr>\r\n");
      out.write("       <td>字段名称：</td>\r\n");
      out.write("       <td colspan=\"3\"><input type=\"text\" class='textbox'  id=\"analyse_col\"></td>\r\n");
      out.write("     </tr>\r\n");
      out.write("     <tr>\r\n");
      out.write("       <td>字段类型：</td>\r\n");
      out.write("       <td colspan=\"3\"><select name=\"analyse_type\" id=\"analyse_type\"  onChange=\"colTypeChange()\">\r\n");
      out.write("         <option value=\"int\">整数</option>\r\n");
      out.write("         <option value=\"decimal\">小数</option>\r\n");
      out.write("         <option value=\"datetime\">日期</option>\r\n");
      out.write("         <option value=\"varchar\" >字符串</option>\r\n");
      out.write("         <option value=\"text\" title=\"对于较多的文字、需要格式化编辑的内容、图片等大数据需要存放在大文本字段里\">大文本</option>\r\n");
      out.write("       </select></td>\r\n");
      out.write("     </tr>\r\n");
      out.write("     <tr id= sizecontainer>\r\n");
      out.write("       <td>字段精度：</td>\r\n");
      out.write("       <td colspan=\"3\"><input type=\"text\" class='flatbox' size=7 id=\"analyse_size\" onkeydown='KeyDownFilterLong();'>\r\n");
      out.write("         <span id=decimalcontainer>小数位数：\r\n");
      out.write("           <input type=\"text\" class='flatbox' size=7 id=\"analyse_decimalcount\" onkeydown='KeyDownFilterLong();'></span></td>\r\n");
      out.write("     </tr>\r\n");
      out.write("     <tr>\r\n");
      out.write("       <td>&nbsp;</td>\r\n");
      out.write("       <td colspan=\"3\">&nbsp;</td>\r\n");
      out.write("     </tr>\r\n");
      out.write("     <tr>\r\n");
      out.write("       <td>&nbsp;</td>\r\n");
      out.write("       <td width=\"30%\">\r\n");
      out.write("\t   <script>\r\n");
      out.write("\t     \r\n");
      out.write("\t   \t\tfunction cb_analyse_reset_onclick()\r\n");
      out.write("\t\t\t{\r\n");
      out.write("\t\t\t\tif( !confirm('确信要清除这些信息吗?')) return; \r\n");
      out.write("\t\t\t\t$E('analyse_table').value='';\r\n");
      out.write("\t\t\t\t$E('analyse_col').value='';\r\n");
      out.write("\t\t\t\t$E('analyse_caption').value='';\r\n");
      out.write("\t\t\t\t$E('analyse_type').value='';\r\n");
      out.write("\t\t\t\t$E('analyse_size').value='';\r\n");
      out.write("\t\t\t\t$E('analyse_decimalcount').value='';\r\n");
      out.write("\t\t\t}\r\n");
      out.write("\t\t\t\r\n");
      out.write("\t\t\t\r\n");
      out.write("\t   \t\t \r\n");
      out.write("\t\t\t\t\r\n");
      out.write("\t       var cb =new zbutton('cb_analyse_reset','<span title=\"清除上面的配置信息\">清空</span>','image/del16.gif');\r\n");
      out.write("\t   </script>\r\n");
      out.write("\t   </td>\r\n");
      out.write("       <td width=\"30%\">\r\n");
      out.write("\t   <script>\r\n");
      out.write("\t     \r\n");
      out.write("\t   \t\tfunction cb_analyse_redo_onclick()\r\n");
      out.write("\t\t\t{\r\n");
      out.write("\t\t\t\tif( !confirm('确信要进行重新分析吗?')) return; \r\n");
      out.write("\t\t\t\tvar applet=getApplet();\r\n");
      out.write("\t\t\t\tapplet.autoBindAnalyse();\r\n");
      out.write("\t\t\t}\r\n");
      out.write("\t\t\t\t\r\n");
      out.write("\t       var cb =new zbutton('cb_analyse_redo','<span title=\"对选中区域进行字段分析\">分析</span>','image/th_horizontal.gif');\r\n");
      out.write("\t   </script>\r\n");
      out.write("\t   </td>\r\n");
      out.write("       <td width=\"43%\">\r\n");
      out.write("\t    <script>\r\n");
      out.write("\t   \r\n");
      out.write("\t   \t\t$E('analyse_type').value='';\r\n");
      out.write("\t\t\t\r\n");
      out.write("\t   \t\tfunction colTypeChange()\r\n");
      out.write("\t\t\t{\r\n");
      out.write("\t\t\t\tvar colType=$E('analyse_type').value;\r\n");
      out.write("\t\t\t\tif ( colType=='int'||colType=='datetime' ||colType=='text')\r\n");
      out.write("\t\t\t\t{\r\n");
      out.write("\t\t\t\t\t$E('sizecontainer').style.display=\"none\";\r\n");
      out.write("\t\t\t\t}else\r\n");
      out.write("\t\t\t\t{\r\n");
      out.write("\t\t\t\t\t$E('sizecontainer').style.display=\"\";\r\n");
      out.write("\t\t\t\t\t$E('decimalcontainer').style.display=\"none\";\r\n");
      out.write("\t\t\t\t\tif (colType=='decimal')  $E('decimalcontainer').style.display=\"\";\r\n");
      out.write("\t\t\t\t\t\r\n");
      out.write("\t\t\t\t}\r\n");
      out.write("\t\t\t\t\r\n");
      out.write("\t\t\t}\r\n");
      out.write("\t\t\t\r\n");
      out.write("\t        //提交新字段\r\n");
      out.write("\t   \t\tfunction cb_analyse_onclick()\r\n");
      out.write("\t\t\t{\r\n");
      out.write("\t\t\t    if( !confirm('提交操作将按上述配置创建新字段，自动进行绑定和设置别名，并自动保存当前的所有设置，确信吗?')) return;  \r\n");
      out.write("\t\t\t\t\r\n");
      out.write("\t\t\t\t\r\n");
      out.write("\t\t\t\tvar applet=getApplet();\r\n");
      out.write("\t\t\t\tvar table=$E('analyse_table').value;\r\n");
      out.write("\t\t\t\tlastTable=table; //记下来，下次再分析，就使用这个表做缺省值\r\n");
      out.write("\t\t\t\tvar col=$E('analyse_col').value;\r\n");
      out.write("\t\t\t\tvar caption=$E('analyse_caption').value;\r\n");
      out.write("\t\t\t\tvar colType=$E('analyse_type').value;\r\n");
      out.write("\t\t\t\tvar size=$E('analyse_size').value;\r\n");
      out.write("\t\t\t\tvar decimalCount=$E('analyse_decimalcount').value;\r\n");
      out.write("\t\t\t\t\r\n");
      out.write("\t\t\t\tif ( !confirm(\"您选择的是向表 \"+table+\" 中增加字段, 确信是这张表吗?\")) return ;\r\n");
      out.write("\t\t\t\t\r\n");
      out.write("\t\t\t\tanalysing=false;//分析结束\r\n");
      out.write("\t\t\t\t\r\n");
      out.write("\t\t\t\tif( !applet.newColumn( table,col,caption,colType ,size,decimalCount)) return ;\r\n");
      out.write("\t\t\t\t\r\n");
      out.write("\t\t\t\tshowTipInfo( \"<p style='font-size:16px' align='center'>正在处理中...</p>\");\r\n");
      out.write("\t   \r\n");
      out.write("\t   \r\n");
      out.write("\t\t\t\t//重新调取表和字段信息\r\n");
      out.write("\t\t\t\treloadDSN();\r\n");
      out.write("\t\t\t\t\r\n");
      out.write("\t\t\t\tt.showTab(\"nodetab1\"); \r\n");
      out.write("\t\t\t\tif (analyseBindCell!=null)\r\n");
      out.write("\t\t\t\t{\r\n");
      out.write("\t\t\t\t     //将作绑定的单元格单独选中\r\n");
      out.write("\t\t\t\t\tanalyseSheet.setSelection( analyseBindCell);\r\n");
      out.write("\t\t\t\t\t\r\n");
      out.write("\t\t\t\t\t//绑定\r\n");
      out.write("\t\t\t\t\tanalyseBindCell.setBind(table, col);\r\n");
      out.write("\t\t\t\t\tvar err=''+analyseBindCell.setAlias(col);\r\n");
      out.write("\t\t\t\t\tif( err!='') alert ( err);\r\n");
      out.write("\t\t\t\t\t\r\n");
      out.write("\t\t\t\t\t//直接修改编辑格式\r\n");
      out.write("\t\t\t\t\tapplet.SetEditStyleNormal(true);//至少设置成可编辑\r\n");
      out.write("\t\t\t\t\t\r\n");
      out.write("\t\t\t\t\tif(colType=='int') applet.SetEditStyleNumeric(false,0,true,true,true);\r\n");
      out.write("\t\t\t\t\tif(colType=='decimal') applet.SetEditStyleNumeric(true,decimalCount,true,true,true);\r\n");
      out.write("\t\t\t\t\tif(colType=='datetime') applet.SetEditStyleDateTime(\"YYYY.MM.DD\" ,true);\r\n");
      out.write("\t\t\t\t\tif(colType=='varchar')\r\n");
      out.write("\t\t\t\t\t{   //如果高度>20表示是需要多行编辑\r\n");
      out.write("\t\t\t\t\t   if( analyseSheet.getRowPropertyManage().getRowHeight(analyseBindCell.getRowIndex())<20)\r\n");
      out.write("\t\t\t\t\t    {\r\n");
      out.write("\t\t\t\t\t\t  applet.SetEditStyleNormal(true);\r\n");
      out.write("\t\t\t\t\t\t }\r\n");
      out.write("\t\t\t\t\t   else\r\n");
      out.write("\t\t\t\t\t    {\r\n");
      out.write("\t\t\t\t\t\t\tapplet.SetEditStyleNormal(true); //可能是多行数据，所以简化处理了\r\n");
      out.write("\t\t\t\t\t\t  //applet.SetEditStyleMultiLine(true);\r\n");
      out.write("\t\t\t\t\t\t }\r\n");
      out.write("\t\t\t\t\t}\r\n");
      out.write("\t\t\t\t\tif(colType=='text') applet.SetEditStyleMultiLine(true);\r\n");
      out.write("\t\t\t\t\t   \r\n");
      out.write("\t\t\t\t\t//调取属性\r\n");
      out.write("\t\t\t\t\tloadCellProperty(analyseSheet , analyseBindCell.getRowIndex(), analyseBindCell.getColumnIndex());\r\n");
      out.write("\t\t\t\t\t//自动保存\r\n");
      out.write("\t\t\t\t\tapplet.Save();\r\n");
      out.write("\t\t\t\t\tshowTipInfo( \"<p style='font-size:16px' align='center'>字段增加成功</p>\");\r\n");
      out.write("\t\t\t\t\tsleep(500);\r\n");
      out.write("\t\t\t\t\thideTipInfo();\r\n");
      out.write("\t   \r\n");
      out.write("\t\t\t\t}\r\n");
      out.write("\t\t\t\t\r\n");
      out.write("\t\t\t}\r\n");
      out.write("\t\t\t\r\n");
      out.write("\t       var cb =new zbutton('cb_analyse','<span title=\"按上面的配置信息增加字段\">提交</span>','image/verify.gif');\r\n");
      out.write("\t   </script>\r\n");
      out.write("\t   </td>\r\n");
      out.write("     </tr>\r\n");
      out.write("   </table>\r\n");
      out.write("   <p><a href=\"workbook_db_frame.jsp?type=");
      if (_jspx_meth_c_005fout_005f9(_jspx_page_context))
        return;
      out.write("&id=");
      if (_jspx_meth_c_005fout_005f10(_jspx_page_context))
        return;
      out.write("\" target=\"_blank\">数据库高级管理</a></p>\r\n");
      out.write("   <p>&nbsp;   </p>\r\n");
      out.write("</div>\r\n");
      out.write("\t \r\n");
      out.write(" \r\n");
      out.write("\r\n");
      out.write("<div id='nodetab4'  ");
      if (_jspx_meth_c_005fif_005f12(_jspx_page_context))
        return;
      out.write("  >\r\n");
      out.write("  <br>\r\n");
      out.write("  <p>&nbsp;&nbsp;&nbsp;&nbsp;当输入部分数据后，根据预定义的规则将数据自动补全，简化录入操作。\r\n");
      out.write("</p>\r\n");
      out.write("  <p>[<span class=\"asbutton\" onClick=\"listAllAutoComplete();\">刷新</span>]&nbsp;[<span class=\"asbutton\" onClick=\"newAutoComplete();\">增加新规则</span>]　[<a href=\"help/flowform/manual/m7.htm\" target=\"_blank\">帮助</a>]</p>\r\n");
      out.write("  <p id=allAutoCompleteContainer></p>\r\n");
      out.write("  <script language=\"javascript\">\r\n");
      out.write("  //被iframe回调\r\n");
      out.write("  function closeAutoComplete()\r\n");
      out.write("  {\r\n");
      out.write("  \tvar f=$E('newautocompleteframe');\r\n");
      out.write("\tf.height=0;\r\n");
      out.write("\tlistAllAutoComplete();\r\n");
      out.write("  }\r\n");
      out.write("  \r\n");
      out.write("  //列出所有的自动补全\r\n");
      out.write("  function listAllAutoComplete()\r\n");
      out.write("  {\r\n");
      out.write("    //关闭查看的iframe\r\n");
      out.write("  \tvar f=$E('newautocompleteframe');\r\n");
      out.write("\tf.height=0;\r\n");
      out.write("\tvar url='");
      if (_jspx_meth_c_005fout_005f11(_jspx_page_context))
        return;
      out.write("/servlet/wiseoa.formdesign.rpc.AutoCompleteManage';\r\n");
      out.write(" \r\n");
      out.write("  \tjsrsExecute(url, callback_AutoComplete, \"getAllAutoCompleteHTML\", [\"");
      if (_jspx_meth_c_005fout_005f12(_jspx_page_context))
        return;
      out.write('"');
      out.write(',');
      out.write('"');
      if (_jspx_meth_c_005fout_005f13(_jspx_page_context))
        return;
      out.write("\"],false);\r\n");
      out.write("  }\r\n");
      out.write("\t   \r\n");
      out.write("\t      \r\n");
      out.write("  function  callback_AutoComplete(msg)\r\n");
      out.write("  {\r\n");
      out.write("\t $E('allAutoCompleteContainer').style.display=\"\";\r\n");
      out.write("\t  \r\n");
      out.write("\tif (extractValue(msg ,\"ok\")==\"true\") \r\n");
      out.write("\t{\r\n");
      out.write("\t    var html=extractValue(msg,\"html\");\r\n");
      out.write("\t\thtml=unescape(html);\r\n");
      out.write("\t\t$E('allAutoCompleteContainer').innerHTML=html;\r\n");
      out.write("\t}else\r\n");
      out.write("\t{\r\n");
      out.write("\t  alert ( extractValue(msg, \"error\"));\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 somethingAutoComplete(action,id)\r\n");
      out.write("  {\r\n");
      out.write("\t$E('allAutoCompleteContainer').style.display=\"none\";\r\n");
      out.write("  \tvar f=$E('newautocompleteframe');\r\n");
      out.write("\tf.src=\"workbook_config_autocomplete.jsp?action=\"+action+\"&ttype=");
      if (_jspx_meth_c_005fout_005f14(_jspx_page_context))
        return;
      out.write("&id=");
      if (_jspx_meth_c_005fout_005f15(_jspx_page_context))
        return;
      out.write("&id2=\"+id;\r\n");
      out.write("\tf.height=350;\r\n");
      out.write("  }\r\n");
      out.write("  \r\n");
      out.write("  function editAutoComplete(id)\r\n");
      out.write("  {\r\n");
      out.write(" \tsomethingAutoComplete(\"edit\",id);\r\n");
      out.write("  }\r\n");
      out.write("  function newAutoComplete( )\r\n");
      out.write("  {\r\n");
      out.write(" \tsomethingAutoComplete(\"new\",'');\r\n");
      out.write("  }\r\n");
      out.write("  //查看\r\n");
      out.write("  function viewAutoComplete(id)\r\n");
      out.write("  {\r\n");
      out.write(" \tsomethingAutoComplete(\"view\",id);\r\n");
      out.write("  }\r\n");
      out.write("  //删除\r\n");
      out.write("  function deleteAutoComplete(id)\r\n");
      out.write("  {\r\n");
      out.write(" \tif ( !confirm(\"确信要删除吗?\")) return;\r\n");
      out.write("\tjsrsExecute('servlet/wiseoa.formdesign.rpc.AutoCompleteManage', callback_deleteAutoComplete, \"Delete\", [\"");
      if (_jspx_meth_c_005fout_005f16(_jspx_page_context))
        return;
      out.write('"');
      out.write(',');
      out.write('"');
      if (_jspx_meth_c_005fout_005f17(_jspx_page_context))
        return;
      out.write("\" , id ],false);\r\n");
      out.write("  }\r\n");
      out.write("  \r\n");
      out.write("   function  callback_deleteAutoComplete(msg)\r\n");
      out.write("   {\r\n");
      out.write("\t\tif (extractValue(msg ,\"ok\")==\"true\") \r\n");
      out.write("\t\t{\r\n");
      out.write("\t\t\tlistAllAutoComplete();\r\n");
      out.write("\t\t}else\r\n");
      out.write("\t\t{\r\n");
      out.write("\t\t  alert ( extractValue(msg, \"error\"));\r\n");
      out.write("\t\t}\r\n");
      out.write("   }\r\n");
      out.write("  \r\n");
      out.write("  \r\n");
      out.write("  </script>\r\n");
      out.write("  <iframe id=\"newautocompleteframe\" width=\"100%\" height=\"0\" src=\"\"  frameborder=0></iframe>\r\n");
      out.write("  \r\n");
      out.write("</div><!-- end of tab4 -->\r\n");
      out.write(" \r\n");
      out.write(" <!-- ************************************************************* -->\r\n");
      out.write(" <div id=nodetab7   ");
      if (_jspx_meth_c_005fif_005f13(_jspx_page_context))
        return;
      out.write("  >\r\n");
      out.write(" <br>\r\n");
      out.write("  <div style=\"padding-botton:10px; background-color:white\">●批量设置编辑属性:<br>\r\n");
      out.write(" <input type=\"button\" value=\"不可编辑\"  onclick=\"setMoreEditable(false)\">\r\n");
      out.write(" <input type=\"button\" value=\"可编辑\"  onclick=\"setMoreEditable(true)\">\r\n");
      out.write("<br><br>\r\n");
      out.write(" \r\n");
      out.write(" </div>\r\n");
      out.write(" <div  style=\"padding-botton:10px; background-color:white;\">\r\n");
      out.write(" ●批量修改数据源绑定为：\r\n");
      out.write("<br>\r\n");
      out.write(" <div id=dsncontainer_pl><select class='textbox' ></select></Div>\r\n");
      out.write(" <input type=\"button\" value=\"调整数据源\"  onclick=\"setMoreDataSource( )\">\r\n");
      out.write("  \r\n");
      out.write(" <br><br>\r\n");
      out.write(" </div>\r\n");
      out.write(" \r\n");
      out.write(" <script>\r\n");
      out.write(" function setMoreEditable( b)\r\n");
      out.write(" {  \r\n");
      out.write(" \tvar applet=getApplet();\r\n");
      out.write("\t \r\n");
      out.write("\tvar sheet = applet.book.getActiveSheet();\r\n");
      out.write("\t\r\n");
      out.write("\tvar range= sheet.getSelection();\r\n");
      out.write(" \tfor( var row=range.getStartRow();row<=range.getEndRow();row++)\r\n");
      out.write(" \t{\r\n");
      out.write(" \t\tfor(var  col=range.getStartCol();col<=range.getEndCol();col++)\r\n");
      out.write(" \t\t{\r\n");
      out.write(" \t\t\tvar cell=sheet.cells(row,col);\r\n");
      out.write(" \t\t\tcell.setEditable(b);\r\n");
      out.write(" \t\t\t \r\n");
      out.write(" \t\t}\r\n");
      out.write(" \t}\r\n");
      out.write(" }\r\n");
      out.write(" \r\n");
      out.write(" function setMoreDataSource( )\r\n");
      out.write(" {  \r\n");
      out.write("\t \r\n");
      out.write("\t    var dsn=$E('dsn_pl').value;\r\n");
      out.write("\t \r\n");
      out.write("\t    if( dsn=='')\r\n");
      out.write("    \t{\r\n");
      out.write("\t    \talert(\"请先选择一个数据源\");\r\n");
      out.write("\t    \treturn;\r\n");
      out.write("    \t}\r\n");
      out.write("\t    \r\n");
      out.write(" \t \tvar applet=getApplet();\r\n");
      out.write(" \t\t \r\n");
      out.write(" \t\tvar sheet = applet.book.getActiveSheet();\r\n");
      out.write(" \t\tvar range= sheet.getSelection();\r\n");
      out.write(" \t\tvar c=0;\r\n");
      out.write(" \t \tfor( var row=range.getStartRow();row<=range.getEndRow();row++)\r\n");
      out.write(" \t \t{\r\n");
      out.write(" \t \t\tfor(var  col=range.getStartCol();col<=range.getEndCol();col++)\r\n");
      out.write(" \t \t\t{\r\n");
      out.write(" \t \t\t\tvar cell=sheet.cells(row,col);\r\n");
      out.write(" \t \t\t\tvar bind= cell.getBind();\r\n");
      out.write(" \t \t\t\tif( bind==null) continue;\r\n");
      out.write(" \t \t\t\tvar table=''+bind.getDataSource();\r\n");
      out.write(" \t \t\t\tvar dbcol= ''+bind.getDBCol();\r\n");
      out.write(" \t \t\t\tif(table== dsn ) continue;\r\n");
      out.write(" \t \t\t\tcell.setBind( dsn, dbcol);\r\n");
      out.write(" \t \t\t\tc++;\r\n");
      out.write(" \t \t\t}\r\n");
      out.write(" \t \t}\r\n");
      out.write(" \t \tif( c>0) alert(\"成功调整了\"+c+\"个单元格的数据源\");\r\n");
      out.write(" }\r\n");
      out.write(" \r\n");
      out.write(" </script>\r\n");
      out.write(" \r\n");
      out.write(" <div  style=\"padding-botton:10px; background-color:white;\">\r\n");
      out.write(" ●<input type=button value=\"自动别名\" onclick=\"setMoreAlias()\">\r\n");
      out.write(" \r\n");
      out.write("   针对选中的每一个单元格进行循环处理：如果单元格有绑定到数据库，设置单元格别名为绑定的字段名\r\n");
      out.write("  </div>\r\n");
      out.write("<script>\r\n");
      out.write("function setMoreAlias()\r\n");
      out.write("{\r\n");
      out.write(" \t\tvar applet=getApplet();\r\n");
      out.write("\t \r\n");
      out.write("\t\tvar sheet = applet.book.getActiveSheet();\r\n");
      out.write("\t\tvar range= sheet.getSelection();\r\n");
      out.write("\t\tvar c=0;\r\n");
      out.write("\t \tfor( var row=range.getStartRow();row<=range.getEndRow();row++)\r\n");
      out.write("\t \t{\r\n");
      out.write("\t \t\tfor(var  col=range.getStartCol();col<=range.getEndCol();col++)\r\n");
      out.write("\t \t\t{\r\n");
      out.write("\t \t\t\tvar thisCell=sheet.cells(row,col);\r\n");
      out.write(" \t\t\t\tvar cell=thisCell.getLeftTopCorner();\r\n");
      out.write(" \t\t \t\tif( cell!=thisCell) continue;\r\n");
      out.write("\t \t\t\tvar bind= cell.getBind();\r\n");
      out.write("\t \t\t\tif( bind==null) continue;\r\n");
      out.write("\t \t \t\tvar dbcol= ''+bind.getDBCol();\r\n");
      out.write("\t \t\t\tcell.setAlias( dbcol);\r\n");
      out.write("\t \t\t\tc++;\r\n");
      out.write("\t \t\t}\r\n");
      out.write("\t \t}\r\n");
      out.write("\t \tif( c>0) alert(\"调整了\"+c+\"个单元格的别名\");\r\n");
      out.write("}\r\n");
      out.write("\r\n");
      out.write("</script>  \r\n");
      out.write("  \r\n");
      out.write("  <div  style=\"padding-botton:10px;padding-top:10px; background-color:white;\">\r\n");
      out.write(" ●<input type=button value=\"自动设置为对上一行求和\" onclick=\"setMoreSum()\">\r\n");
      out.write("  \r\n");
      out.write("  针对选中的每一个单元格进行循环处理：把单元格设置成对同列上一行单元格一和。比如选中A2点击本按钮后，则　A2= sum(A1);\r\n");
      out.write("  </div>\r\n");
      out.write("<script>\r\n");
      out.write("function setMoreSum()\r\n");
      out.write("{\r\n");
      out.write(" \t\tvar applet=getApplet();\r\n");
      out.write("\t \r\n");
      out.write("\t\tvar sheet = applet.book.getActiveSheet();\r\n");
      out.write("\t\tvar range= sheet.getSelection();\r\n");
      out.write("\t\tvar c=0;\r\n");
      out.write("\t \tfor( var row=range.getStartRow();row<=range.getEndRow();row++)\r\n");
      out.write("\t \t{\r\n");
      out.write("\t \t\tfor(var  col=range.getStartCol();col<=range.getEndCol();col++)\r\n");
      out.write("\t \t\t{\r\n");
      out.write("\t \t\t\tvar thisCell=sheet.cells(row,col);\r\n");
      out.write("\t \t\t\tvar cell=thisCell.getLeftTopCorner();\r\n");
      out.write("\t \t\t \tif( cell!=thisCell) continue;\r\n");
      out.write("\t \t\t\tvar  lastRow= cell.getRowIndex()-1;\r\n");
      out.write("\t \t\t\tif( lastRow<0) continue;\r\n");
      out.write("\t \t\t\tvar  thisCol= cell.getColumnIndex();\r\n");
      out.write("\t \t\t\tvar lastRowCell= sheet.cells(lastRow,thisCol); \r\n");
      out.write("\t \t\t\tvar alias=lastRowCell.getAlias();\r\n");
      out.write("\t \t\t\tif( alias=='') alias= lastRowCell.getName();\r\n");
      out.write("\t \t\t\tcell.setValue(\"=sum(\"+ alias+\")\" );\r\n");
      out.write("\t \t\t\tc++;\r\n");
      out.write("\t \t\t}\r\n");
      out.write("\t \t}\r\n");
      out.write("\t \tif( c>0) alert(\"调整了\"+c+\"个单元格的求和设置\");\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("  \r\n");
      out.write(" <div  style=\"padding-botton:10px;padding-top:10px;background-color:white; \"> ●运行时界面样式： \r\n");
      out.write("  <select id= theme  onchange=\"setTheme();\">\r\n");
      out.write("  <option value=\"\">Excel风格</option>\r\n");
      out.write("  <option value=\"normal\">HTML风格</option>\r\n");
      out.write("  <option value=\"flat\">平面风格</option>\r\n");
      out.write("  \r\n");
      out.write("   \r\n");
      out.write("  </select>\r\n");
      out.write("  </div>\r\n");
      out.write("  <script>\r\n");
      out.write("   \r\n");
      out.write("  \t\r\n");
      out.write("  \tfunction setTheme()\r\n");
      out.write("  \t{\r\n");
      out.write("  \t\t var applet=getApplet();\r\n");
      out.write("  \t  \tapplet.book.setTheme($E('theme').value);\r\n");
      out.write("  \t}\r\n");
      out.write("  \t\r\n");
      out.write("  </script>\r\n");
      out.write(" <br><br>\r\n");
      out.write("  \r\n");
      out.write("  <div  style=\"padding-botton:10px;background-color:white;\"> ●Tab显示位置： \r\n");
      out.write("  <input type=\"checkbox\" id= showTabOnBottom  onclick=\"setShowTabOnWhere()\">显示在底部</div>\r\n");
      out.write("   <script>\r\n");
      out.write("  function setShowTabOnWhere()\r\n");
      out.write("  {\r\n");
      out.write("\t  var applet=getApplet();\r\n");
      out.write("\t  \tapplet.book.setShowTabOnBottom( $E('showTabOnBottom').checked);\r\n");
      out.write("  }\r\n");
      out.write("  </script>\r\n");
      out.write("  \r\n");
      out.write(" </div>  <!--  end of tab7 -->\r\n");
      out.write(" \r\n");
      out.write(" <div id='nodetab5'  ");
      if (_jspx_meth_c_005fif_005f14(_jspx_page_context))
        return;
      out.write("  >\r\n");
      out.write("  <br>\r\n");
      out.write("  <p id=nodetab5head>&nbsp;&nbsp;&nbsp;&nbsp;当输入某个数据后，根据预定义的规则将另外一些数据取出来并自动填入到相关字段中，实现数据的自动录入操作。\r\n");
      out.write(" <br><br>\r\n");
      out.write("   [<span class=\"asbutton\" onClick=\"listAllRelative();\">刷新</span>]&nbsp;[<span class=\"asbutton\" onClick=\"newRelative();\">增加新规则</span>] [<a href=\"help/flowform/manual/m8.htm\" target=\"_blank\">帮助</a>] [<a href=\"help/flowform/manual/m8_2.htm\" target=\"_blank\">示例</a>] </p>\r\n");
      out.write("  <p id=allRelativeContainer></p>\r\n");
      out.write("  <script language=\"javascript\">\r\n");
      out.write("  //被iframe回调\r\n");
      out.write("  function closeRelative()\r\n");
      out.write("  {\r\n");
      out.write("  \tvar f=$E('newRelativeframe');\r\n");
      out.write("\tf.height=0;\r\n");
      out.write("\tlistAllRelative();\r\n");
      out.write("  }\r\n");
      out.write("  \r\n");
      out.write("  //列出所有的自动补全\r\n");
      out.write("  function listAllRelative()\r\n");
      out.write("  {\r\n");
      out.write("    //关闭查看的iframe\r\n");
      out.write("  \tvar f=$E('newRelativeframe');\r\n");
      out.write("\tf.height=0;\r\n");
      out.write("\t$E('nodetab5head').style.display=\"\";\r\n");
      out.write("  \tjsrsExecute('");
      if (_jspx_meth_c_005fout_005f18(_jspx_page_context))
        return;
      out.write("/servlet/wiseoa.formdesign.rpc.RelativeManage', callback_relative, \"getAllRelativeHTML\", [\"");
      if (_jspx_meth_c_005fout_005f19(_jspx_page_context))
        return;
      out.write('"');
      out.write(',');
      out.write('"');
      if (_jspx_meth_c_005fout_005f20(_jspx_page_context))
        return;
      out.write("\"],false);\r\n");
      out.write("  }\r\n");
      out.write("\t   \r\n");
      out.write("\t      \r\n");
      out.write("  function  callback_relative(msg)\r\n");
      out.write("  {\r\n");
      out.write("\t $E('allRelativeContainer').style.display=\"\";\r\n");
      out.write("\t  \r\n");
      out.write("\tif (extractValue(msg ,\"ok\")==\"true\") \r\n");
      out.write("\t{\r\n");
      out.write("\t    var html=extractValue(msg,\"html\");\r\n");
      out.write("\t\thtml=unescape(html);\r\n");
      out.write("\t\t$E('allRelativeContainer').innerHTML=html;\r\n");
      out.write("\t}else\r\n");
      out.write("\t{\r\n");
      out.write("\t  alert ( extractValue(msg, \"error\"));\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 somethingRelative(action,id)\r\n");
      out.write("  {\r\n");
      out.write("    $E('nodetab5head').style.display=\"none\"; //隐藏一些内容让版面大一点\r\n");
      out.write("\t$E('allRelativeContainer').style.display=\"none\";\r\n");
      out.write("  \tvar f=$E('newRelativeframe');\r\n");
      out.write("  \t//这里的参数id 是模板的ID，是为了保持与其它页面相同的参数含义，　id2才是取数设置的id\r\n");
      out.write("\tf.src=\"workbook_config_relative.jsp?action=\"+action+\"&ttype=");
      if (_jspx_meth_c_005fout_005f21(_jspx_page_context))
        return;
      out.write("&id=");
      if (_jspx_meth_c_005fout_005f22(_jspx_page_context))
        return;
      out.write("&id2=\"+id;\r\n");
      out.write("\tf.height=400;\r\n");
      out.write("  }\r\n");
      out.write("  \r\n");
      out.write("  function editRelative(id)\r\n");
      out.write("  {\r\n");
      out.write(" \tsomethingRelative(\"edit\",id);\r\n");
      out.write("  }\r\n");
      out.write("  function newRelative( )\r\n");
      out.write("  {\r\n");
      out.write(" \tsomethingRelative(\"new\",'');\r\n");
      out.write("  }\r\n");
      out.write("  //查看\r\n");
      out.write("  function viewRelative(id)\r\n");
      out.write("  {\r\n");
      out.write(" \tsomethingRelative(\"view\",id);\r\n");
      out.write("  }\r\n");
      out.write("  //删除\r\n");
      out.write("  function deleteRelative(id)\r\n");
      out.write("  {\r\n");
      out.write(" \tif ( !confirm(\"确信要删除吗?\")) return;\r\n");
      out.write("\tjsrsExecute(\"servlet/wiseoa.formdesign.rpc.RelativeManage\", callback_deleteRelative, \"Delete\", [ \"");
      if (_jspx_meth_c_005fout_005f23(_jspx_page_context))
        return;
      out.write('"');
      out.write(',');
      out.write('"');
      if (_jspx_meth_c_005fout_005f24(_jspx_page_context))
        return;
      out.write("\" , id ],false);\r\n");
      out.write("  }\r\n");
      out.write("  \r\n");
      out.write("   function  callback_deleteRelative(msg)\r\n");
      out.write("   {\r\n");
      out.write("\t\tif (extractValue(msg ,\"ok\")==\"true\") \r\n");
      out.write("\t\t{\r\n");
      out.write("\t\t\tlistAllRelative();\r\n");
      out.write("\t\t}else\r\n");
      out.write("\t\t{\r\n");
      out.write("\t\t  alert ( extractValue(msg, \"error\"));\r\n");
      out.write("\t\t}\r\n");
      out.write("   }\r\n");
      out.write("  \r\n");
      out.write("  \r\n");
      out.write("  </script>\r\n");
      out.write("  <iframe id=\"newRelativeframe\" width=\"100%\" height=\"0\" src=\"\"  frameborder=0></iframe>\r\n");
      out.write("  \r\n");
      out.write("</div><!-- end of tab5 -->\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(" <div id='nodetab6'  ");
      if (_jspx_meth_c_005fif_005f15(_jspx_page_context))
        return;
      out.write("  >\r\n");
      out.write("  <br>\r\n");
      out.write("  <p id=nodetab6head>&nbsp;&nbsp;&nbsp;&nbsp;定义代码帮助。\r\n");
      out.write(" <br><br>\r\n");
      out.write("   [<span class=\"asbutton\" onClick=\"listAllCodeHelp();\">刷新</span>]&nbsp;[<span class=\"asbutton\" onClick=\"newCodeHelp();\">增加新代码帮助</span>] [<a href=\"help/flowform/manual/m8.htm\" target=\"_blank\">帮助</a>] [<a href=\"help/flowform/manual/m8_2.htm\" target=\"_blank\">示例</a>] </p>\r\n");
      out.write("  <p id=allCodeContainer></p>\r\n");
      out.write("  <script language=\"javascript\">\r\n");
      out.write("  //被iframe回调\r\n");
      out.write("  function closeCodeHelp()\r\n");
      out.write("  {\r\n");
      out.write("  \tvar f=$E('newCodeframe');\r\n");
      out.write("\tf.height=0;\r\n");
      out.write("\tlistAllCodeHelp();\r\n");
      out.write("  }\r\n");
      out.write("  \r\n");
      out.write("  //列出所有的代码帮助\r\n");
      out.write("  function listAllCodeHelp()\r\n");
      out.write("  {\r\n");
      out.write("    //关闭查看的iframe\r\n");
      out.write("  \tvar f=$E('newCodeframe');\r\n");
      out.write("\tf.height=0;\r\n");
      out.write("\t$E('nodetab6head').style.display=\"\";\r\n");
      out.write("  \tjsrsExecute('");
      if (_jspx_meth_c_005fout_005f25(_jspx_page_context))
        return;
      out.write("/servlet/wiseoa.formdesign.rpc.CodeHelpManage', \r\n");
      out.write("  \t\t  \t                         callback_codehelp, \"getAllCodeHelpHTML\",\r\n");
      out.write("  \t\t  \t                         [\"");
      if (_jspx_meth_c_005fout_005f26(_jspx_page_context))
        return;
      out.write('"');
      out.write(',');
      out.write('"');
      if (_jspx_meth_c_005fout_005f27(_jspx_page_context))
        return;
      out.write("\"],false);\r\n");
      out.write("  }\r\n");
      out.write("\t   \r\n");
      out.write("\t      \r\n");
      out.write("  function  callback_codehelp(msg)\r\n");
      out.write("  {\r\n");
      out.write("\t $E('allCodeContainer').style.display=\"\";\r\n");
      out.write("\t  \r\n");
      out.write("\tif (extractValue(msg ,\"ok\")==\"true\") \r\n");
      out.write("\t{\r\n");
      out.write("\t    var html=extractValue(msg,\"html\");\r\n");
      out.write("\t\thtml=unescape(html);\r\n");
      out.write("\t\t$E('allCodeContainer').innerHTML=html;\r\n");
      out.write("\t}else\r\n");
      out.write("\t{\r\n");
      out.write("\t  alert ( extractValue(msg, \"error\"));\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 somethingCodeHelp(action,id)\r\n");
      out.write("  {\r\n");
      out.write("    $E('nodetab6head').style.display=\"none\"; //隐藏一些内容让版面大一点\r\n");
      out.write("\t$E('allCodeContainer').style.display=\"none\";\r\n");
      out.write("  \tvar f=$E('newCodeframe');\r\n");
      out.write("  \t//这里的参数id 是模板的ID，是为了保持与其它页面相同的参数含义，　id2才是取数设置的id\r\n");
      out.write("\tf.src=\"workbook_config_codehelp.jsp?action=\"+action+\"&ttype=");
      if (_jspx_meth_c_005fout_005f28(_jspx_page_context))
        return;
      out.write("&id=");
      if (_jspx_meth_c_005fout_005f29(_jspx_page_context))
        return;
      out.write("&id2=\"+id;\r\n");
      out.write("\tf.height=400;\r\n");
      out.write("  }\r\n");
      out.write("  \r\n");
      out.write("  function editCodeHelp(id)\r\n");
      out.write("  {\r\n");
      out.write(" \tsomethingCodeHelp(\"edit\",id);\r\n");
      out.write("  }\r\n");
      out.write("  function newCodeHelp( )\r\n");
      out.write("  {\r\n");
      out.write(" \tsomethingCodeHelp(\"new\",'');\r\n");
      out.write("  }\r\n");
      out.write("  //查看\r\n");
      out.write("  function viewCodeHelp(id)\r\n");
      out.write("  {\r\n");
      out.write(" \tsomethingCodeHelp(\"view\",id);\r\n");
      out.write("  }\r\n");
      out.write("  //删除\r\n");
      out.write("  function deleteCodeHelp(id)\r\n");
      out.write("  {\r\n");
      out.write(" \tif ( !confirm(\"确信要删除吗?\")) return;\r\n");
      out.write("\tjsrsExecute(\"servlet/wiseoa.formdesign.rpc.CodeHelpManage\", callback_deleteCodeHelp, \"Delete\", [ \"");
      if (_jspx_meth_c_005fout_005f30(_jspx_page_context))
        return;
      out.write('"');
      out.write(',');
      out.write('"');
      if (_jspx_meth_c_005fout_005f31(_jspx_page_context))
        return;
      out.write("\" , id ],false);\r\n");
      out.write("  }\r\n");
      out.write("  \r\n");
      out.write("   function  callback_deleteCodeHelp(msg)\r\n");
      out.write("   {\r\n");
      out.write("\t\tif (extractValue(msg ,\"ok\")==\"true\") \r\n");
      out.write("\t\t{\r\n");
      out.write("\t\t\tlistAllCodeHelp();\r\n");
      out.write("\t\t}else\r\n");
      out.write("\t\t{\r\n");
      out.write("\t\t  alert ( extractValue(msg, \"error\"));\r\n");
      out.write("\t\t}\r\n");
      out.write("   }\r\n");
      out.write("  \r\n");
      out.write("  \r\n");
      out.write("  </script>\r\n");
      out.write("  <iframe id=\"newCodeframe\" width=\"100%\" height=\"0\" src=\"\"  frameborder=0></iframe>\r\n");
      out.write("  \r\n");
      out.write("</div><!-- end of tab6 -->\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("<!-- ************************************************************* -->\r\n");
      out.write("\r\n");
      out.write("<script language=\"javascript\">\r\n");
      out.write("\r\n");
      out.write("    t.showTab(\"nodetab1\"); \r\n");
      out.write("  \r\n");
      out.write("\t window.onresize= OnResize\r\n");
      out.write("\twindow.onload =OnLoad\r\n");
      out.write("\t\r\n");
      out.write("\t\r\n");
      out.write("\tfunction OnLoad()\r\n");
      out.write("\t{\r\n");
      out.write("\t\tOnResize();\r\n");
      out.write("\t}\r\n");
      out.write("\t\r\n");
      out.write("\t\t \r\n");
      out.write("\tfunction OnResize()\r\n");
      out.write("\t{\r\n");
      out.write("\t\r\n");
      out.write("\t \r\n");
      out.write("\t\t \r\n");
      out.write("\t  try\r\n");
      out.write("\t  {\r\n");
      out.write("\t         \r\n");
      out.write("\t         //可视区的大小，如果是FireFox,要使用 window.innerHeight;\r\n");
      out.write("\t         var h = document.documentElement.offsetHeight\r\n");
      out.write("\t         \r\n");
      out.write("\t\t\t // 重置内容容器的大小\t         \r\n");
      out.write("\t\t\t // 注意，即使是在tab1页面时也要重置容器的大小\r\n");
      out.write("\t     \tvar h3= $E('div2').offsetTop;\r\n");
      out.write("    \t \t$E('div2').style.height=  h-h3  ;\r\n");
      out.write("    \t \t \r\n");
      out.write("\r\n");
      out.write("\t          \r\n");
      out.write("\t  }catch(err)\r\n");
      out.write("\t  {\r\n");
      out.write("\t                //alert ( err.description);\r\n");
      out.write("\t  }\r\n");
      out.write("\t }\r\n");
      out.write("\t\r\n");
      out.write("\t\r\n");
      out.write("\t");
      if (_jspx_meth_c_005fif_005f16(_jspx_page_context))
        return;
      out.write("\r\n");
      out.write("\t\r\n");
      out.write("   \r\n");
      out.write("</script>\r\n");
      out.write("\r\n");
      out.write("</div>\r\n");
      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("</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_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_property.jsp(137,3) 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("${canDBDesign}", 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("\t\t\t\t+\r\n");
        out.write("\t\t\t\tbuildMenuItem(\"数据库结构\",\"db.xml\") +\r\n");
        out.write("\t\t\t\tbuildMenuItem( \"数据库绑定\",\"bind.xml\") + \r\n");
        out.write("\t\t\t\tbuildMenuItem( \"编辑格式\",\"editstyle.xml\") +\r\n");
        out.write("\t\t\t\tbuildMenuItem( \"脚本\",\"script.js\") +\r\n");
        out.write("\t\t\t\tbuildMenuItem( \"自动补全\",\"autocomplete.xml\") +\r\n");
        out.write("\t\t\t\tbuildMenuItem( \"相关取数\",\"relative.xml\") +\r\n");
        out.write("\t\t\t\tbuildMenuItem( \"脚本包含\",\"include.xml\") +\r\n");
        out.write("\t\t\t\tbuildMenuItem( \"附件类型\",\"attachmenttype.json\") \r\n");
        out.write("\t\t\t\t\r\n");
        out.write("\t\t\t\t");
        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_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_property.jsp(156,15) 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("${user.unit}", 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_property.jsp(156,45) 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_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_property.jsp(160,5) 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("${type=='form'}", 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("\t\t\r\n");
        out.write("\t    var f=$E('scriptedit');\r\n");
        out.write("\r\n");
        out.write("\t   \r\n");
        out.write("\t    ");
        if (_jspx_meth_c_005fif_005f2(_jspx_th_c_005fif_005f1, _jspx_page_context))
          return true;
        out.write("\r\n");
        out.write("  \t    ");
        if (_jspx_meth_c_005fif_005f3(_jspx_th_c_005fif_005f1, _jspx_page_context))
          return true;
        out.write("\r\n");
        out.write("\t    ");
        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_005fif_005f2(javax.servlet.jsp.tagext.JspTag _jspx_th_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_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((javax.servlet.jsp.tagext.Tag) _jspx_th_c_005fif_005f1);
    // /workbook_config_property.jsp(165,5) 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("${!scripteditwithhtml}", 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("        //正常的jedit\r\n");
        out.write("  \t    f.src=\"servlet/wiseoa.WiseEdit?type=flowform&filename=\"+file;\r\n");
        out.write("         \r\n");
        out.write("  \t    ");
        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_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_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_005f1);
    // /workbook_config_property.jsp(170,7) 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("  \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    \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.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(null);
    // /workbook_config_property.jsp(178,5) 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("${type=='wss'}", 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\tvar file=  \"servlet/wiseoa.task.jstl.TaskScript?forwhat=wss&type=wss&id=");
        if (_jspx_meth_c_005fout_005f2(_jspx_th_c_005fif_005f4, _jspx_page_context))
          return true;
        out.write("&file=\"+f  ;\r\n");
        out.write("      \r\n");
        out.write("        file=escape(file);\r\n");
        out.write("     \r\n");
        out.write(" \t    var f=$E('scriptedit');\r\n");
        out.write("\r\n");
        out.write(" \t   ");
        if (_jspx_meth_c_005fif_005f5(_jspx_th_c_005fif_005f4, _jspx_page_context))
          return true;
        out.write("\r\n");
        out.write(" \t    ");
        if (_jspx_meth_c_005fif_005f6(_jspx_th_c_005fif_005f4, _jspx_page_context))
          return true;
        out.write("\r\n");
        out.write("\t\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_005fout_005f2(javax.servlet.jsp.tagext.JspTag _jspx_th_c_005fif_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_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((javax.servlet.jsp.tagext.Tag) _jspx_th_c_005fif_005f4);
    // /workbook_config_property.jsp(179,74) 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("${templateid}", 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_005fif_005f5(javax.servlet.jsp.tagext.JspTag _jspx_th_c_005fif_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: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((javax.servlet.jsp.tagext.Tag) _jspx_th_c_005fif_005f4);
    // /workbook_config_property.jsp(185,5) 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("${!scripteditwithhtml}", 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("       //正常的jedit\r\n");
        out.write(" \t    f.src=\"servlet/wiseoa.WiseEdit?filename=\"+file;\r\n");
        out.write(" \t    ");
        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_005fif_005f6(javax.servlet.jsp.tagext.JspTag _jspx_th_c_005fif_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: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_005f4);
    // /workbook_config_property.jsp(189,6) 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(" \t    // 使用网页版编辑\r\n");
        out.write("\t     open( \"script_edit.jsp?filename=\"+file);\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.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(null);
    // /workbook_config_property.jsp(671,3) 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("${ canDBDesign}", 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 t.addTab('数据库','nodetab3','',true );\r\n");
        out.write("\t t.addTab('<span title=\"自动补全\">补全</span>','nodetab4','',true );\r\n");
        out.write("\t t.addTab('<span title=\"自动获取相关数据\">取数</span>','nodetab5','',true );\r\n");
        out.write("\t t.addTab('<span title=\"代码帮助\">代码</span>','nodetab6','',true );\r\n");
        out.write("\t t.addTab('<span title=\"批量\">批量</span>','nodetab7','',true );\r\n");
        out.write("\t \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_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_property.jsp(728,11) 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("${type}", 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_property.jsp(729,9) 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("${templateid}", 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_property.jsp(756,11) 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("${type}", 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_property.jsp(757,9) 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("${templateid}", 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_property.jsp(764,34) 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("${querystring}", 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_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_property.jsp(782,2) 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("${ canDBDesign}", 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(" \t\r\n");
        out.write(" \t tab_cell.addTab('点击权限','nodetab_click','',true );\r\n");
        out.write(" \t");
        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_property.jsp(895,25) 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("${!canDBDesign}", 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("  style=\"display:none;\" ");
        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_property.jsp(1572,1) 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("${canDBDesign}", 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("\tanalysing=true; //表示正在分析\r\n");
        out.write("\tanalyseBindCell=bindCell;\r\n");
        out.write("\tanalyseSheet=sheet;\r\n");
        out.write("\tanalyseTable=table;\r\n");
        out.write("\t\r\n");
        out.write("\tt.showTab(\"nodetab3\"); \r\n");
        out.write("\t$E('analyse_table').value= lastTable==''?table:lastTable;\r\n");
        out.write("\t$E('analyse_caption').value=caption;\r\n");
        out.write("\t$E('analyse_col').value=colName;\r\n");
        out.write("\tguessColType( caption);\r\n");
        out.write("\t\r\n");
        out.write("    colTypeChange();\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_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_property.jsp(1606,12) 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("${wiseoaappsubpath}", 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_005fif_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:if
    org.apache.taglibs.standard.tag.rt.core.IfTag _jspx_th_c_005fif_005f11 = (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_005f11.setPageContext(_jspx_page_context);
    _jspx_th_c_005fif_005f11.setParent(null);
    // /workbook_config_property.jsp(1715,20) name = test type = boolean reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_c_005fif_005f11.setTest(((java.lang.Boolean) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${!canDBDesign}", java.lang.Boolean.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false)).booleanValue());
    int _jspx_eval_c_005fif_005f11 = _jspx_th_c_005fif_005f11.doStartTag();
    if (_jspx_eval_c_005fif_005f11 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
      do {
        out.write("  style=\"display:none;\" ");
        int evalDoAfterBody = _jspx_th_c_005fif_005f11.doAfterBody();
        if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
          break;
      } while (true);
    }
    if (_jspx_th_c_005fif_005f11.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f11);
      return true;
    }
    _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f11);
    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_property.jsp(1883,42) 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("${type}", 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_005fout_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: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(null);
    // /workbook_config_property.jsp(1883,70) 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_005f12(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_005f12 = (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_005f12.setPageContext(_jspx_page_context);
    _jspx_th_c_005fif_005f12.setParent(null);
    // /workbook_config_property.jsp(1889,20) name = test type = boolean reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_c_005fif_005f12.setTest(((java.lang.Boolean) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${!canDBDesign}", java.lang.Boolean.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false)).booleanValue());
    int _jspx_eval_c_005fif_005f12 = _jspx_th_c_005fif_005f12.doStartTag();
    if (_jspx_eval_c_005fif_005f12 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
      do {
        out.write("  style=\"display:none;\" ");
        int evalDoAfterBody = _jspx_th_c_005fif_005f12.doAfterBody();
        if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
          break;
      } while (true);
    }
    if (_jspx_th_c_005fif_005f12.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f12);
      return true;
    }
    _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f12);
    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_property.jsp(1910,10) 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("${wiseoaappsubpath}", 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;
  }

  private boolean _jspx_meth_c_005fout_005f12(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_005f12 = (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_005f12.setPageContext(_jspx_page_context);
    _jspx_th_c_005fout_005f12.setParent(null);
    // /workbook_config_property.jsp(1912,71) name = value type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_c_005fout_005f12.setValue((java.lang.Object) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${type}", java.lang.Object.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false));
    int _jspx_eval_c_005fout_005f12 = _jspx_th_c_005fout_005f12.doStartTag();
    if (_jspx_th_c_005fout_005f12.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f12);
      return true;
    }
    _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f12);
    return false;
  }

  private boolean _jspx_meth_c_005fout_005f13(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_005f13 = (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_005f13.setPageContext(_jspx_page_context);
    _jspx_th_c_005fout_005f13.setParent(null);
    // /workbook_config_property.jsp(1912,98) name = value type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_c_005fout_005f13.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_005f13 = _jspx_th_c_005fout_005f13.doStartTag();
    if (_jspx_th_c_005fout_005f13.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f13);
      return true;
    }
    _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f13);
    return false;
  }

  private boolean _jspx_meth_c_005fout_005f14(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_005f14 = (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_005f14.setPageContext(_jspx_page_context);
    _jspx_th_c_005fout_005f14.setParent(null);
    // /workbook_config_property.jsp(1937,65) name = value type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_c_005fout_005f14.setValue((java.lang.Object) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${type}", java.lang.Object.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false));
    int _jspx_eval_c_005fout_005f14 = _jspx_th_c_005fout_005f14.doStartTag();
    if (_jspx_th_c_005fout_005f14.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f14);
      return true;
    }
    _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f14);
    return false;
  }

  private boolean _jspx_meth_c_005fout_005f15(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_005f15 = (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_005f15.setPageContext(_jspx_page_context);
    _jspx_th_c_005fout_005f15.setParent(null);
    // /workbook_config_property.jsp(1937,93) name = value type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_c_005fout_005f15.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_005f15 = _jspx_th_c_005fout_005f15.doStartTag();
    if (_jspx_th_c_005fout_005f15.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f15);
      return true;
    }
    _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f15);
    return false;
  }

  private boolean _jspx_meth_c_005fout_005f16(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_005f16 = (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_005f16.setPageContext(_jspx_page_context);
    _jspx_th_c_005fout_005f16.setParent(null);
    // /workbook_config_property.jsp(1958,106) name = value type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_c_005fout_005f16.setValue((java.lang.Object) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${type}", java.lang.Object.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false));
    int _jspx_eval_c_005fout_005f16 = _jspx_th_c_005fout_005f16.doStartTag();
    if (_jspx_th_c_005fout_005f16.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f16);
      return true;
    }
    _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f16);
    return false;
  }

  private boolean _jspx_meth_c_005fout_005f17(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_005f17 = (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_005f17.setPageContext(_jspx_page_context);
    _jspx_th_c_005fout_005f17.setParent(null);
    // /workbook_config_property.jsp(1958,133) name = value type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_c_005fout_005f17.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_005f17 = _jspx_th_c_005fout_005f17.doStartTag();
    if (_jspx_th_c_005fout_005f17.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f17);
      return true;
    }
    _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f17);
    return false;
  }

  private boolean _jspx_meth_c_005fif_005f13(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_005f13 = (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_005f13.setPageContext(_jspx_page_context);
    _jspx_th_c_005fif_005f13.setParent(null);
    // /workbook_config_property.jsp(1979,20) name = test type = boolean reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_c_005fif_005f13.setTest(((java.lang.Boolean) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${!canDBDesign}", java.lang.Boolean.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false)).booleanValue());
    int _jspx_eval_c_005fif_005f13 = _jspx_th_c_005fif_005f13.doStartTag();
    if (_jspx_eval_c_005fif_005f13 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
      do {
        out.write("  style=\"display:none;\" ");
        int evalDoAfterBody = _jspx_th_c_005fif_005f13.doAfterBody();
        if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
          break;
      } while (true);
    }
    if (_jspx_th_c_005fif_005f13.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f13);
      return true;
    }
    _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f13);
    return false;
  }

  private boolean _jspx_meth_c_005fif_005f14(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_005f14 = (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_005f14.setPageContext(_jspx_page_context);
    _jspx_th_c_005fif_005f14.setParent(null);
    // /workbook_config_property.jsp(2152,21) name = test type = boolean reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_c_005fif_005f14.setTest(((java.lang.Boolean) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${!canDBDesign}", java.lang.Boolean.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false)).booleanValue());
    int _jspx_eval_c_005fif_005f14 = _jspx_th_c_005fif_005f14.doStartTag();
    if (_jspx_eval_c_005fif_005f14 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
      do {
        out.write("  style=\"display:none;\" ");
        int evalDoAfterBody = _jspx_th_c_005fif_005f14.doAfterBody();
        if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
          break;
      } while (true);
    }
    if (_jspx_th_c_005fif_005f14.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f14);
      return true;
    }
    _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f14);
    return false;
  }

  private boolean _jspx_meth_c_005fout_005f18(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_005f18 = (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_005f18.setPageContext(_jspx_page_context);
    _jspx_th_c_005fout_005f18.setParent(null);
    // /workbook_config_property.jsp(2174,16) name = value type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_c_005fout_005f18.setValue((java.lang.Object) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${wiseoaappsubpath}", java.lang.Object.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false));
    int _jspx_eval_c_005fout_005f18 = _jspx_th_c_005fout_005f18.doStartTag();
    if (_jspx_th_c_005fout_005f18.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f18);
      return true;
    }
    _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f18);
    return false;
  }

  private boolean _jspx_meth_c_005fout_005f19(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_005f19 = (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_005f19.setPageContext(_jspx_page_context);
    _jspx_th_c_005fout_005f19.setParent(null);
    // /workbook_config_property.jsp(2174,143) name = value type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_c_005fout_005f19.setValue((java.lang.Object) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${type}", java.lang.Object.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false));
    int _jspx_eval_c_005fout_005f19 = _jspx_th_c_005fout_005f19.doStartTag();
    if (_jspx_th_c_005fout_005f19.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f19);
      return true;
    }
    _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f19);
    return false;
  }

  private boolean _jspx_meth_c_005fout_005f20(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_005f20 = (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_005f20.setPageContext(_jspx_page_context);
    _jspx_th_c_005fout_005f20.setParent(null);
    // /workbook_config_property.jsp(2174,170) name = value type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_c_005fout_005f20.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_005f20 = _jspx_th_c_005fout_005f20.doStartTag();
    if (_jspx_th_c_005fout_005f20.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f20);
      return true;
    }
    _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f20);
    return false;
  }

  private boolean _jspx_meth_c_005fout_005f21(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_005f21 = (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_005f21.setPageContext(_jspx_page_context);
    _jspx_th_c_005fout_005f21.setParent(null);
    // /workbook_config_property.jsp(2201,61) name = value type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_c_005fout_005f21.setValue((java.lang.Object) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${type}", java.lang.Object.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false));
    int _jspx_eval_c_005fout_005f21 = _jspx_th_c_005fout_005f21.doStartTag();
    if (_jspx_th_c_005fout_005f21.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f21);
      return true;
    }
    _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f21);
    return false;
  }

  private boolean _jspx_meth_c_005fout_005f22(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_005f22 = (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_005f22.setPageContext(_jspx_page_context);
    _jspx_th_c_005fout_005f22.setParent(null);
    // /workbook_config_property.jsp(2201,89) name = value type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_c_005fout_005f22.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_005f22 = _jspx_th_c_005fout_005f22.doStartTag();
    if (_jspx_th_c_005fout_005f22.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f22);
      return true;
    }
    _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f22);
    return false;
  }

  private boolean _jspx_meth_c_005fout_005f23(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_005f23 = (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_005f23.setPageContext(_jspx_page_context);
    _jspx_th_c_005fout_005f23.setParent(null);
    // /workbook_config_property.jsp(2222,99) name = value type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_c_005fout_005f23.setValue((java.lang.Object) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${type}", java.lang.Object.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false));
    int _jspx_eval_c_005fout_005f23 = _jspx_th_c_005fout_005f23.doStartTag();
    if (_jspx_th_c_005fout_005f23.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f23);
      return true;
    }
    _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f23);
    return false;
  }

  private boolean _jspx_meth_c_005fout_005f24(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_005f24 = (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_005f24.setPageContext(_jspx_page_context);
    _jspx_th_c_005fout_005f24.setParent(null);
    // /workbook_config_property.jsp(2222,126) name = value type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_c_005fout_005f24.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_005f24 = _jspx_th_c_005fout_005f24.doStartTag();
    if (_jspx_th_c_005fout_005f24.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f24);
      return true;
    }
    _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f24);
    return false;
  }

  private boolean _jspx_meth_c_005fif_005f15(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_005f15 = (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_005f15.setPageContext(_jspx_page_context);
    _jspx_th_c_005fif_005f15.setParent(null);
    // /workbook_config_property.jsp(2247,21) name = test type = boolean reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_c_005fif_005f15.setTest(((java.lang.Boolean) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${!canDBDesign}", java.lang.Boolean.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false)).booleanValue());
    int _jspx_eval_c_005fif_005f15 = _jspx_th_c_005fif_005f15.doStartTag();
    if (_jspx_eval_c_005fif_005f15 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
      do {
        out.write("  style=\"display:none;\" ");
        int evalDoAfterBody = _jspx_th_c_005fif_005f15.doAfterBody();
        if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
          break;
      } while (true);
    }
    if (_jspx_th_c_005fif_005f15.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f15);
      return true;
    }
    _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f15);
    return false;
  }

  private boolean _jspx_meth_c_005fout_005f25(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_005f25 = (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_005f25.setPageContext(_jspx_page_context);
    _jspx_th_c_005fout_005f25.setParent(null);
    // /workbook_config_property.jsp(2269,16) name = value type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_c_005fout_005f25.setValue((java.lang.Object) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${wiseoaappsubpath}", java.lang.Object.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false));
    int _jspx_eval_c_005fout_005f25 = _jspx_th_c_005fout_005f25.doStartTag();
    if (_jspx_th_c_005fout_005f25.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f25);
      return true;
    }
    _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f25);
    return false;
  }

  private boolean _jspx_meth_c_005fout_005f26(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_005f26 = (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_005f26.setPageContext(_jspx_page_context);
    _jspx_th_c_005fout_005f26.setParent(null);
    // /workbook_config_property.jsp(2271,34) name = value type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_c_005fout_005f26.setValue((java.lang.Object) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${type}", java.lang.Object.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false));
    int _jspx_eval_c_005fout_005f26 = _jspx_th_c_005fout_005f26.doStartTag();
    if (_jspx_th_c_005fout_005f26.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f26);
      return true;
    }
    _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f26);
    return false;
  }

  private boolean _jspx_meth_c_005fout_005f27(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_005f27 = (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_005f27.setPageContext(_jspx_page_context);
    _jspx_th_c_005fout_005f27.setParent(null);
    // /workbook_config_property.jsp(2271,61) name = value type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_c_005fout_005f27.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_005f27 = _jspx_th_c_005fout_005f27.doStartTag();
    if (_jspx_th_c_005fout_005f27.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f27);
      return true;
    }
    _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f27);
    return false;
  }

  private boolean _jspx_meth_c_005fout_005f28(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_005f28 = (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_005f28.setPageContext(_jspx_page_context);
    _jspx_th_c_005fout_005f28.setParent(null);
    // /workbook_config_property.jsp(2298,61) name = value type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_c_005fout_005f28.setValue((java.lang.Object) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${type}", java.lang.Object.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false));
    int _jspx_eval_c_005fout_005f28 = _jspx_th_c_005fout_005f28.doStartTag();
    if (_jspx_th_c_005fout_005f28.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f28);
      return true;
    }
    _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f28);
    return false;
  }

  private boolean _jspx_meth_c_005fout_005f29(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_005f29 = (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_005f29.setPageContext(_jspx_page_context);
    _jspx_th_c_005fout_005f29.setParent(null);
    // /workbook_config_property.jsp(2298,89) name = value type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_c_005fout_005f29.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_005f29 = _jspx_th_c_005fout_005f29.doStartTag();
    if (_jspx_th_c_005fout_005f29.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f29);
      return true;
    }
    _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f29);
    return false;
  }

  private boolean _jspx_meth_c_005fout_005f30(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_005f30 = (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_005f30.setPageContext(_jspx_page_context);
    _jspx_th_c_005fout_005f30.setParent(null);
    // /workbook_config_property.jsp(2319,99) name = value type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_c_005fout_005f30.setValue((java.lang.Object) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${type}", java.lang.Object.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false));
    int _jspx_eval_c_005fout_005f30 = _jspx_th_c_005fout_005f30.doStartTag();
    if (_jspx_th_c_005fout_005f30.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f30);
      return true;
    }
    _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f30);
    return false;
  }

  private boolean _jspx_meth_c_005fout_005f31(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_005f31 = (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_005f31.setPageContext(_jspx_page_context);
    _jspx_th_c_005fout_005f31.setParent(null);
    // /workbook_config_property.jsp(2319,126) name = value type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_c_005fout_005f31.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_005f31 = _jspx_th_c_005fout_005f31.doStartTag();
    if (_jspx_th_c_005fout_005f31.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f31);
      return true;
    }
    _005fjspx_005ftagPool_005fc_005fout_0026_005fvalue_005fnobody.reuse(_jspx_th_c_005fout_005f31);
    return false;
  }

  private boolean _jspx_meth_c_005fif_005f16(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_005f16 = (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_005f16.setPageContext(_jspx_page_context);
    _jspx_th_c_005fif_005f16.setParent(null);
    // /workbook_config_property.jsp(2382,1) name = test type = boolean reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_c_005fif_005f16.setTest(((java.lang.Boolean) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${param.forceload==1}", java.lang.Boolean.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null, false)).booleanValue());
    int _jspx_eval_c_005fif_005f16 = _jspx_th_c_005fif_005f16.doStartTag();
    if (_jspx_eval_c_005fif_005f16 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
      do {
        out.write("\r\n");
        out.write("\t// 当从其它属性页回到主属性页时，强制调取当前单元格的属性\r\n");
        out.write("\t try\r\n");
        out.write("\t {\r\n");
        out.write("\t\tvar applet=getApplet();\r\n");
        out.write("\t\tvar sheet = applet.book.getActiveSheet();\r\n");
        out.write("\t\tvar range= sheet.getSelection();\r\n");
        out.write("\t\tvar row= range.getStartRow();\r\n");
        out.write("\t\tvar col=  range.getStartCol();\r\n");
        out.write("\t\tloadCellProperty( sheet , row, col);\r\n");
        out.write("\t }catch(Err)\r\n");
        out.write("\t {\r\n");
        out.write("\t \r\n");
        out.write("\t }\t\r\n");
        out.write("\t\t\r\n");
        out.write("\t");
        int evalDoAfterBody = _jspx_th_c_005fif_005f16.doAfterBody();
        if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
          break;
      } while (true);
    }
    if (_jspx_th_c_005fif_005f16.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f16);
      return true;
    }
    _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f16);
    return false;
  }
}
