Js控制Excel时,ExcelSheet.Close(yii2 save falsechange=falses) E

关于EXCEL_百度知道js导出excel网页报错,求教_百度知道vb操作excel的常见方法_百度文库
两大类热门资源免费畅读
续费一年阅读会员,立省24元!
vb操作excel的常见方法
上传于||文档简介
&&v​b​操​作​e​x​c​e​l​的​常​见​方​法
阅读已结束,如果下载本文需要使用1下载券
想免费下载本文?
定制HR最喜欢的简历
下载文档到电脑,查找使用更方便
还剩133页未读,继续阅读
定制HR最喜欢的简历
你可能喜欢4780人阅读
&//===============================================================================================================================//// Excel 文档控制//// 使用提示//// 无需创建对象新对象,使用方法列表中的方法既可以控制,脚步中定义了xlObject(ActiveXObject),xlWork(工作簿对象)// xlSheet(工作表对象),特殊功能可使用这三个对象控制。//// 方法列表//// InitExcel()&&&&&&&&&&&_初始化Excel文档//// OpenExcel(FileName)&&&&&&&&&_打开一个Excel模版,FileName是文件路径//// SaveAsExcel(FileName)&&&&&&&&_保存一个Excel文档,FileName是保存路径,并作为字符串返回//// SetVisible(IsShow)&&&&&&&&&_设置前台或后台显示//// SetPage(Orientation)&&&&&&&&&_设置页面打印方式,1为纵向,2为横向//// SetFormat(AreaStr,FontName,FontSize,FontBold,FontItalic,HorAlignment,VerAlignment,Wrap)////&&&&&&&&&&&&&&_设置格式,支持单元格、列、区域//// SetMergeCells(AreaStr)&&&&&&&&_合并单元格,仅支持区域//// SetColumnWidth(AreaStr,ColumnValue)&&&&&_设置列宽,支持单元格,列,区域,全部(区域参数为"all")//// SetRowHeight(AreaStr,HeightValue)&&&&&_设置行高,支持单元格,列,区域,全部(区域参数为"all")//// SetValue(AreaStr,AreaValue)&&&&&&&_设置区域的值,支持单元格,区域//// SetValueFormatToString(AreaStr)&&&&&&_转化区域的输出类型为字符串型,支持单元格,列,区域,全部(区域参数为"all")//// SetValueFormatToCustom(AreaStr,regix)&&&&_转化区域的输出类型为自定义型,支持单元格,列,区域,全部(区域参数为"all")//// SetBorder(AreaStr)&&&&&&&&&_设置区域的边线,支持单元格,列,区域//// SetUserControl(IsControl)&&&&&&&_控制权交给用户//// ClearExcel()&&&&&&&&&&&_清空对象//// QuitExcel()&&&&&&&&&&&_退出Excel//// PrintPreviewExcel()&&&&&&&&&_打印预览Excel//// PrintOutExcel()&&&&&&&&&&_打印Excel//===============================================================================================================================//// 定义了Excel操作对象//-----------------------------------------------
var xlObject =var xlWork =var xlSheet =
//===============================================================================================================================//// 用于检测范围字符串的类型// Cells:表示单元格;Columns:表示列;Range:表示区域//-----------------------------------------------
function Check(AreaStr){&var CellsPatrn = /^/d+[,]{1}/d+$/;&var ColPatrn = /^([a-zA-Z]+[:]{1}[a-zA-Z]+)|([a-zA-Z]+)$/;&var RangePatrn = /^[a-zA-Z]+/d+[:]{1}[a-zA-Z]+/d+$/;&var AreaRet = "";&if (CellsPatrn.exec(AreaStr))&{&&AreaRet = "Cells";&}&if (ColPatrn.exec(AreaStr))&{&&AreaRet = "Columns";&}&if (RangePatrn.exec(AreaStr))&{&&AreaRet = "Range";&}&if (AreaStr == "all")&{&&AreaRet = "all";&}
&return AreaR}
//===============================================================================================================================//// 用于转换表示单元格的字符串// Cells:表示单元格;Columns:表示列;Range:表示区域//-----------------------------------------------function CellsFormat(CellsStr){&var st = CellsStr.split(',');
&if (st.length == 2)&{&&st[0] = parseInt(st[0]);&&st[1] = parseInt(st[1]);&}
//===============================================================================================================================//// 初始化一个Excel对象//-----------------------------------------------
function InitExcel(){&try&{&&xlObject = new ActiveXObject("Excel.Application");&}&catch (ex)&{&&alert("Excel对象无法创建,请开启浏览器的ActiveX控键限制,并安装Excel2003!");&}&&xlWork = xlObject.Workbooks.Add();&xlSheet = xlWork.Worksheets(1);}
//===============================================================================================================================//// 打开一个Excel模版// FileName:标示文件路径//-----------------------------------------------
function OpenExcel(FileName){&try&{&&if (FileName != "")&&{&&&xlObject = new ActiveXObject("Excel.Application");&&&xlWork = xlObject.Workbooks.Open(FileName);&&&xlSheet = xlWork.Worksheets(1);&&}&&else&&{&&&alert("Excel文件路径错误");&&}&}&catch (ex)&{&&alert("Excel对象无法创建,请开启浏览器的ActiveX控键限制,并安装Excel2003!");&}}&
//===============================================================================================================================//// 保存一个Excel模版// FileName:标示文件路径//-----------------------------------------------
function SaveAsExcel(FileName){&var filename = "";&try&{&&if(FileName != "")&&{&&&xlWork.SaveAs(FileName);&&&xlWork.Close(savechanges=false);&&&xlObject.Visible = &&&xlObject.Q&&&filename = FileN&&}&&else&&{&&&alert("保存路径发生错误");&&&filename = ""&&}&}&catch (ex)&{&&alert("Excel文件路径错误");&}&}
//===============================================================================================================================//// 设置Excel前台运行和后台运行//-----------------------------------------------
function SetVisible(IsShow){&if(IsShow)&{&&xlObject.visible =&}&else&{&&xlObject.visible =&}}
//===============================================================================================================================//// 设置页面边距,Orientation:1表示纵向,2表示横向//-----------------------------------------------
function SetPage(Orientation){&if(Orientation == 2)&{&&with(xlSheet.PageSetup)&&& {&&&& Orientation& = 2 ;&&&&&&&&&&&&&&&&&//横向&&&& LeftMargin&& = xlObject.InchesToPoints( 0.992 ) ;&&&& RightMargin& = xlObject.InchesToPoints( 0.992 ) ;& &&&& TopMargin&&& = xlObject.InchesToPoints( 0.937 ) ;&&&& BottomMargin = xlObject.InchesToPoints( 0.937 ) ;&&&& HeaderMargin = xlObject.InchesToPoints( 0.047 ) ;&&&& FooterMargin = xlObject.InchesToPoints( 0.047 ) ;&&}& &}&else if(Orientation == 1)&{&&with(xlSheet.PageSetup)&&{&&&Orientation& = 1 ;&&&&&&&&&&&&&&&&&//纵向&&&LeftMargin&& = xlObject.InchesToPoints( 0.992 );&&&RightMargin&& = xlObject.InchesToPoints( 0.992 );&&&TopMargin&&&& = xlObject.InchesToPoints( 0.937 );&&&BottomMargin& = xlObject.InchesToPoints( 0.937 );&&&HeaderMargin& = xlObject.InchesToPoints( 0.047 );&&&FooterMargin& = xlObject.InchesToPoints( 0.047 );&&}&}}
//===============================================================================================================================//// 单元格设置字体// AreaStr:表示范围的字符串// FontName:字符串型,字体名称// FontSize:整型,字体大小// FontBold:Bool型,True表示加粗// FontItalic:Bool型,True表示斜体// HorAlignment:整型,1是常规,2 是左,3 中,4 右// VerAlignment:整型,1 上,2 中,3 下// Wrap:Bool型,True表示自动换行//-----------------------------------------------
function SetFormat(AreaStr,FontName,FontSize,FontBold,FontItalic,HorAlignment,VerAlignment,Wrap){&var CheckStr = Check(AreaStr);
&if(CheckStr != "")&{&&switch(CheckStr)&&{&&&case "Cells": &&&var Cell = CellsFormat(AreaStr);
&&&if(FontName != "")&&&{&&&&xlSheet.Cells(Cell[0],Cell[1]).Font.Name = FontN&&&}&&&if(FontSize != null)&&&{&&&&xlSheet.Cells(Cell[0],Cell[1]).Font.Size = FontS&&&}&&&if(FontBold != false)&&&{&&&&xlSheet.Cells(Cell[0],Cell[1]).Font.Bold =&&&}&&&if(FontItalic != false)&&&{&&&&xlSheet.Cells(Cell[0],Cell[1]).Font.Italic =&&&}&&&if(HorAlignment != null)&&&{&&&&xlSheet.Cells(Cell[0],Cell[1]).HorizontalAlignment = HorA&&&}&&&if(VerAlignment != null)&&&{&&&&xlSheet.Cells(Cell[0],Cell[1]).VerticalAlignment = VerA&&&}&&&if(Wrap != false)&&&{&&&&xlSheet.Cells(Cell[0],Cell[1]).WrapText =&&&}&&&
&&&case "Columns" : &&&if(FontName != "")&&&{&&&&xlSheet.Columns(AreaStr).Font.Name = FontN&&&}&&&if(FontSize != null)&&&{&&&&xlSheet.Columns(AreaStr).Font.Size = FontS&&&}&&&if(FontBold != false)&&&{&&&&xlSheet.Columns(AreaStr).Font.Bold =&&&}&&&if(FontItalic != false)&&&{&&&&xlSheet.Columns(AreaStr).Font.Italic =&&&}&&&if(HorAlignment != null)&&&{&&&&xlSheet.Columns(AreaStr).HorizontalAlignment = HorA&&&}&&&if(VerAlignment != null)&&&{&&&&xlSheet.Columns(AreaStr).VerticalAlignment = VerA&&&}&&&if(Wrap != false)&&&{&&&&xlSheet.Columns(AreaStr).WrapText =&&&}&&&
&&&case "Range":&&&if(FontName != "")&&&{&&&&xlSheet.Range(AreaStr).Font.Name = FontN&&&}&&&if(FontSize != null)&&&{&&&&xlSheet.Range(AreaStr).Font.Size = FontS&&&}&&&if(FontBold != false)&&&{&&&&xlSheet.Range(AreaStr).Font.Bold =&&&}&&&if(FontItalic != false)&&&{&&&&xlSheet.Range(AreaStr).Font.Italic =&&&}&&&if(HorAlignment != null)&&&{&&&xlSheet.Range(AreaStr).HorizontalAlignment = HorA&&&}&&&if(VerAlignment != null)&&&&&&&{&&&&xlSheet.Range(AreaStr).VerticalAlignment = VerA&&&}&&&if(Wrap != false)&&&{&&&&&xlSheet.Range(AreaStr).WrapText =&&&}&&&&&}&}}
//===============================================================================================================================//// 合并单元格// AreaStr:表示范围的字符串//-----------------------------------------------
function SetMergeCells(AreaStr){&var CheckStr = Check(AreaStr);
&if (CheckStr != "")&{&&if(CheckStr == "Range")&&{&&&xlSheet.range(AreaStr).MergeCells =&&}&}}
//===============================================================================================================================//// 设置列宽// AreaStr:设置范围,如:"A:D"// ColumnValue:列宽值//-----------------------------------------------
function SetColumnWidth(AreaStr,ColumnValue){&var CheckStr = Check(AreaStr);
&if(CheckStr != "")&{&&switch (CheckStr)&&{&&&case "Cells":&&&var Cell = CellsFormat(AreaStr);
&&&xlSheet.Cells(Cell[0],Cell[1]).ColumnWidth = ColumnV&&&
&&&case "Columns":&&&xlSheet.Columns(AreaStr).ColumnWidth = ColumnV&&&
&&&case "Range":&&&xlSheet.range(AreaStr).ColumnWidth = ColumnV&&&&&&&&&&case "all":&&&xlSheet.Cells.ColumnWidth = ColumnV&&&&&}&}}
//===============================================================================================================================//// 设置行高// AreaStr:范围标示// HeightValue:行高值//-----------------------------------------------
function SetRowHeight(AreaStr,HeightValue){&var CheckStr = Check(AreaStr);
&if(CheckStr != "")&{&&switch (CheckStr)&&{&&&case "Cells":&&&var Cell = CellsFormat(AreaStr);&&&xlSheet.Cells(Cell[0],Cell[1]).RowHeight = HeightV&&&
&&&case "Columns":&&&xlSheet.Columns(AreaStr).RowHeight = HeightV&&&
&&&case "Range":&&&xlSheet.range(AreaStr).RowHeight = HeightV&&&&&&&&&&case "all":&&&xlSheet.Cells.RowHeight = HeightV&&&&&}&}}
//===============================================================================================================================//// 设置单元格内容// AreaStr:范围标示// AreaValue:内容//-----------------------------------------------
function SetValue(AreaStr,AreaValue){&var CheckStr = Check(AreaStr);
&if(CheckStr != "" && CheckStr != "Columns")&{&&switch (CheckStr)&&{&&&case "Cells":&&&var Cell = CellsFormat(AreaStr);&&&xlSheet.Cells(Cell[0],Cell[1]).value = AreaV&&&
&&&case "Range":&&&xlSheet.range(AreaStr).value = AreaV&&&&&&&&&}&}}
//===============================================================================================================================//// 设置单元格内容的格式 - 字符串型// AreaStr:范围标示//-----------------------------------------------
function SetValueFormatToString(AreaStr){&var CheckStr = Check(AreaStr);
&if(CheckStr != "")&{&&switch (CheckStr)&&{&&&case "Cells":&&&var Cell = CellsFormat(AreaStr);&&&xlSheet.Cells(Cell[0],Cell[1]).NumberFormatLocal = "@";&&&
&&&&&&case "Columns":&&&xlSheet.Columns(AreaStr).NumberFormatLocal = "@";&&&&&&
&&&&&&case "Range":&&&xlSheet.range(AreaStr).NumberFormatLocal = "@";&&&&&&&&&&&&&case "all":&&&xlSheet.Cells.NumberFormatLocal = "@";&&&&&&&&}&}}
//===============================================================================================================================//// 设置单元格内容的格式 - 自定义型// AreaStr:范围标示// regix:格式表达式//-----------------------------------------------
function SetValueFormatToCustom(AreaStr,regix){&var CheckStr = Check(AreaStr);
&if(CheckStr != "")&{&&switch (CheckStr)&&{&&&case "Cells":&&&var Cell = CellsFormat(AreaStr);&&&xlSheet.Cells(Cell[0],Cell[1]).NumberFormatLocal =&&&
&&&&&&case "Columns":&&&xlSheet.Columns(AreaStr).NumberFormatLocal =&&&&&&&&&&&&&&&case "Range":&&&xlSheet.range(AreaStr).NumberFormatLocal =&&&&&&}&}}
//===============================================================================================================================//// 设置范围的边框// AreaStr:范围标示//-----------------------------------------------
function SetBorder(AreaStr){&var CheckStr = Check(AreaStr);
&if(CheckStr != "")&{&&switch (CheckStr)&&{&&&case "Cells":&&&var Cell = CellsFormat(AreaStr);&&&for (var i=1;i&5;i++)&&&{&&&&xlSheet.Cells(Cell[0],Cell[1]).Borders(i).LineStyle = 1;&&&&xlSheet.Cells(Cell[0],Cell[1]).Borders(i).Weight = 2;&&&}&&&
&&&case "Columns":&&&for (var i=7;i&13;i++)&&&{&&&&xlSheet.Columns(AreaStr).Borders(i).LineStyle = 1;&&&&xlSheet.Columns(AreaStr).Borders(i).Weight = 2;&&&}&&&
&&&case "Range":&&&for (var i=7;i&13;i++)&&&{&&&&xlSheet.range(AreaStr).Borders(i).LineStyle = 1;&&&&xlSheet.range(AreaStr).Borders(i).Weight = 2;&&&}&&&&&&}&}}
//===============================================================================================================================//// 控制权交给用户//-----------------------------------------------function SetUserControl(IsControl){&if(IsControl == true)&{&&xlObject.UserControl = true&}}
//===============================================================================================================================//// 清空Excel对象//-----------------------------------------------function ClearExcel(){&try&{&&xlObject =&&xlWork =&&xlSheet =&}&catch (ex)&{&&&}}
//===============================================================================================================================//// 关闭Excel对象//---------------------------------------------function QuitExcel(){&try&{&&xlWork.Close(savechanges=false);&&xlObject.Quit();&&xlObject =&&xlWork =&&xlSheet =&}&catch(ex)&{&&alert("发生错误,Excel无法退出");&}}
//===============================================================================================================================//// 打印预览Excel对象//---------------------------------------------function PrintPreviewExcel(){&try&{&&xlSheet.PrintPreview();&}&catch(ex)&{&&alert("发生错误,Excel无法打印预览");&}}
//===============================================================================================================================//// 打印Excel对象//---------------------------------------------function PrintOutExcel(){&try&{&&xlSheet.PrintOut();&}&catch(ex)&{&&alert("打印机未安装或发生错误,无法打印文档");&}}
参考知识库
* 以上用户言论只代表其个人观点,不代表CSDN网站的观点或立场
访问:149807次
积分:1024
积分:1024
排名:千里之外
原创:12篇
评论:24条
(1)(1)(1)(2)(1)(1)(1)(3)(6)(1)(2)2930人阅读
&在编写将数据导出到EXCEL时,发现有些EXCEL常量无法在JS中使用(或者是我还不能找到其的位置),于是,使用了最笨的方法,将其常量定义导出,在方便在JS中使用。需要使用到的,但还没整理的,只有自己动手搞一下了。使用示例:worksheet.Range(cells(1,&1),cells(10,&10)).Borders.LineStyle&=&Excel.XlBorderWeight.xlH具体如下测试代码:&http-equiv="Content-Type"&content="text/&charset=gb2312"新建网页&5&src="excel_const.js"&type="text/javascript"&FOR=window&EVENT=onunload&&&&&closeApp();&language=javascript&&&&var&excelApp&=&null;&&&&var&EXCEL_APP&=&"Excel.Application";&&&&function&createExcelApp(visible,displayAlerts)&&&&{&&&&&&&&try&&&&&&&&{&&&&&&&&&&&&if(!excelApp)&&&&&&&&&&&&{&&&&&&&&&&&&&&&&excelApp=&new&ActiveXObject(EXCEL_APP);&&&&&&&&&&&&}&&&&&&&&&&&&if(excelApp)&&&&&&&&&&&&{&&&&&&&&&&&&&&&&excelApp.Visible&=&visible;&&&&&&&&&&&&&&&&excelApp.DisplayAlerts&=&displayAlerts;&&&&&&&&&&&&}&&&&&&&&}&&&&&&&&catch(e)&&&&&&&&{&&&&&&&&&&&&alert(e.message);&&&&&&&&}&&&&&&&&&&&&&&&&return&excelA&&&&}&&&&&&&&function&closeExcelApp(exApp)&&&&{&&&&&&&&if(exApp)&&&&&&&&{&&&&&&&&&&&&exApp.Quit();&&&&&&&&}&&&&}&&&&&&&&&&&&function&addWorkbook(exApp)&&&&{&&&&&&&&if(!exApp)&&&&&&&&{&&&&&&&&&&&&&&&&&&&&}&&&&&&&&&&&&&&&&var&workbook&=&exApp.Workbooks.Add();&&&&&&&&if(workbook)&&&&&&&&{&&&&&&&&&&&&workbook.Activate();&&&&&&&&}&&&&&&&&return&&&&&}&&&&&&&&function&getWorksheet(workbook,index)&&&&{&&&&&&&&var&worksheet&=&null;&&&&&&&&if(index)&&&&&&&&{&&&&&&&&&&&&worksheet&=&workbook.Worksheets(index);&&&&&&&&}&&&&&&&&else&&&&&&&&{&&&&&&&&&&&&worksheet&=&workbook.ActiveS&&&&&&&&}&&&&&&&&&&&&&&&&return&&&&&}&&&&&&&&&&&function&fillWorksheet(worksheet)&&&&{&&&&&&&&var&cells&=&worksheet.C&&&&&&&&for(var&i=1;&i;&++i)&&&&&&&&{&&&&&&&&&&&&for(var&j=1;&j;&++j)&&&&&&&&&&&&{&&&&&&&&&&&&&&&&cells(i,j).Value&=&i*j;&&&&&&&&&&&&}&&&&&&&&}&&&&&&&&&&&&&&&&&&&&&&&&worksheet.Range(cells(1,&1),cells(10,&10)).Borders.LineStyle&=&Excel.XlBorderWeight.xlH&&&&&&&&&&&&&&&&return&&&&&}&&&&&&&&function&export2Excel()&&&&{&&&&&&&&var&exApp&=&createExcelApp(false,false);&&&&&&&&var&workbook&=&addWorkbook(excelApp);&&&&&&&&var&worksheet&=&getWorksheet(workbook);&&&&&&&&var&cells&=&fillWorksheet(worksheet);&&&&}&&&&&&&&&&&function&printPreview()&&&&{&&&&&&&&var&visible&=&excelApp.V&&&&&&&&if(excelApp.ActiveSheet)&&&&&&&&{&&&&&&&&&&&&&&&&&&&&if(false&==&visible)&&&&&&&&&&&&{&&&&&&&&&&&&&&&&excelApp.Visible&=&true;&&&&&&&&&&&&}&&&&&&&&&&&&excelApp.ActiveSheet.PrintPreview();&&&&&&&&&&&&&&&&&&&&&&&&excelApp.Visible&=&visible&;&&&&&&&&}&&&&}&&&&&&&&function&printOut()&&&&{&&&&&&&&if(excelApp.ActiveSheet)&&&&&&&&{&&&&&&&&&&&&&&&&&&&&&&&&excelApp.ActiveSheet.PrintOut();&&&&&&&&}&&&&}&&&&&&&&function&closeApp()&&&&{&&&&&&&&closeExcelApp(excelApp);&&&&}&method="POST"&action="_derived/nortbots.htm"&onSubmit="location.href='_derived/nortbots.htm';return&"&webbot-onSubmit&webbot-action="--WEBBOT-SELF--"&&&&&TYPE="hidden"&NAME="VTI-GROUP"&VALUE="0"&&&&&type="button"&value="导出…"&name="export"&onclick="export2Excel();"&type="button"&value="预览…"&name="preview"&onclick="printPreview()"&type="button"&value="打印…"&name="print"&onclick="printOut();"&type="button"&value="关闭"&name="close"&onclick="closeApp();"Excel&=&function(){&&&&return&{&&&&&&&&&&XlApplicationInternational:{&&&&&&&&&&&&&&&&xl24HourClock:&33&,&&&&&&&&&&&&&&&&xl4DigitYears:&43&,&&&&&&&&&&&&&&&&xlAlternateArraySeparator:&16&,&&&&&&&&&&&&&&&&xlColumnSeparator:&14,&&&&&&&&&&&&&&&&&xlCountryCode:&&1,&&&&&&&&&&&&&&&&&xlCountrySetting:&&2&,&&&&&&&&&&&&&&&&xlCurrencyBefore:&&37&,&&&&&&&&&&&&&&&&xlCurrencyCode:&&25&,&&&&&&&&&&&&&&&&xlCurrencyDigits:&&27,&&&&&&&&&&&&&&&&&xlCurrencyLeadingZeros:&&40&,&&&&&&&&&&&&&&&&xlCurrencyMinusSign:&&38&,&&&&&&&&&&&&&&&&xlCurrencyNegative:&&28&,&&&&&&&&&&&&&&&&xlCurrencySpaceBefore:&&36&,&&&&&&&&&&&&&&&&xlCurrencyTrailingZeros:&&39&,&&&&&&&&&&&&&&&&xlDateOrder:&&32&,&&&&&&&&&&&&&&&&xlDateSeparator:&&17&,&&&&&&&&&&&&&&&&xlDayCode:&&21&,&&&&&&&&&&&&&&&&XlDayLeadingZero:&&42&,&&&&&&&&&&&&&&&&xlDecimalSeparator:&&3&,&&&&&&&&&&&&&&&&xlGeneralFormatName:&&26&,&&&&&&&&&&&&&&&&xlHourCode:&&22&,&&&&&&&&&&&&&&&&xlLeftBrace:&&12&,&&&&&&&&&&&&&&&&xlLeftBracket:&&10&,&&&&&&&&&&&&&&&&xlListSeparator:&&5&,&&&&&&&&&&&&&&&&xlLowerCaseColumnLetter:&&9&,&&&&&&&&&&&&&&&&xlLowerCaseRowLetter:&&8&,&&&&&&&&&&&&&&&&xlMDY:&&44&,&&&&&&&&&&&&&&&&xlMetric:&&35&,&&&&&&&&&&&&&&&&xlMinuteCode:&&23&,&&&&&&&&&&&&&&&&xlMonthCode:&&20&,&&&&&&&&&&&&&&&&xlMonthLeadingZero:&&41&,&&&&&&&&&&&&&&&&xlMonthNameChars:&&30&,&&&&&&&&&&&&&&&&xlNoncurrencyDigits:&&29&,&&&&&&&&&&&&&&&&xlNonEnglishFunctions:&&34&,&&&&&&&&&&&&&&&&xlRightBrace:&&13&,&&&&&&&&&&&&&&&&xlRightBracket:&&11&,&&&&&&&&&&&&&&&&xlRowSeparator:&&15&,&&&&&&&&&&&&&&&&xlSecondCode:&&24&,&&&&&&&&&&&&&&&&xlThousandsSeparator:&&4&,&&&&&&&&&&&&&&&&xlTimeLeadingZero:&&45&,&&&&&&&&&&&&&&&&xlTimeSeparator:&&18&,&&&&&&&&&&&&&&&&xlUpperCaseColumnLetter:&&7&,&&&&&&&&&&&&&&&&xlUpperCaseRowLetter:&&6&,&&&&&&&&&&&&&&&&xlWeekdayNameChars:&&31&,&&&&&&&&&&&&&&&&xlYearCode:&&19&},&&&&&&&&&&&&xlApplyNamesOrder:{&&&&&&&&&&&&&&&&xlColumnThenRow:&&2&,&&&&&&&&&&&&&&&&xlRowThenColumn:&&1&},&&&&&&&&&&&&&&&&&&&&&&&&&&&&XlArabicModes:{&&&&&&&&&&&&&&&&xlArabicBothStrict:&&3&,&&&&&&&&&&&&&&&&xlArabicNone:&&0&,&&&&&&&&&&&&&&&&xlArabicStrictAlefHamza:&&1&,&&&&&&&&&&&&&&&&xlArabicStrictFinalYaa:&&2&},&&&&&&&&&&&&XlArrangeStyle:{&&&&&&&&&&&&&&&&xlArrangeStyleCascade:&&7&,&&&&&&&&&&&&&&&&xlArrangeStyleHorizontal:&&-4128&,&&&&&&&&&&&&&&&&xlArrangeStyleTiled:&&1&,&&&&&&&&&&&&&&&&xlArrangeStyleVertical:&&-4166&},&&&&&&&&&&&&XlArrowHeadLength:{&&&&&&&&&&&&&&&&xlArrowHeadLengthLong:&&3&,&&&&&&&&&&&&&&&&xlArrowHeadLengthMedium:&&-4138&,&&&&&&&&&&&&&&&&xlArrowHeadLengthShort:&&1&},&&&&&&&&&&&&XlArrowHeadStyle:{&&&&&&&&&&&&&&&&xlArrowHeadStyleClosed:&&3&,&&&&&&&&&&&&&&&&xlArrowHeadStyleDoubleClosed:&&5&,&&&&&&&&&&&&&&&&xlArrowHeadStyleDoubleOpen:&&4&,&&&&&&&&&&&&&&&&xlArrowHeadStyleNone:&&-4142&,&&&&&&&&&&&&&&&&xlArrowHeadStyleOpen:&&2&},&&&&&&&&&&&&XlArrowHeadWidth:{&&&&&&&&&&&&&&&&xlArrowHeadWidthMedium:&&-4138&,&&&&&&&&&&&&&&&&xlArrowHeadWidthNarrow:&&1&,&&&&&&&&&&&&&&&&xlArrowHeadWidthWide:&&3&},XlAutoFillType:{xlFillCopy:&&1&,xlFillDays:&&5&,xlFillDefault:&&0&,xlFillFormats:&&3&,xlFillMonths:&&7&,xlFillSeries:&&2&,xlFillValues:&&4&,xlFillWeekdays:&&6&,xlFillYears:&&8&,xlGrowthTrend:&&10&,xlLinearTrend:&&9&},XlAutoFilterOperator:{xlAnd:&&1&,xlBottom10Items:&&4&,xlBottom10Percent:&&6&,xlOr:&&2&,xlTop10Items:&&3&,xlTop10Percent:&&5&},XlAxisCrosses:{xlAxisCrossesAutomatic:&&-4105&,xlAxisCrossesCustom:&&-4114&,xlAxisCrossesMaximum:&&2&,xlAxisCrossesMinimum:&&4&},XlAxisGroup:{xlPrimary:&&1&,xlSecondary:&&2&},XlAxisType:{xlCategory:&&1&,xlSeriesAxis:&&3&,xlValue:&&2&},XlBackground:{xlBackgroundAutomatic:&&-4105&,xlBackgroundOpaque:&&3&,xlBackgroundTransparent:&&2&},XlBarShape:{xlBox:&&0&,xlConeToMax:&&5&,xlConeToPoint:&&4&,xlCylinder:&&3&,xlPyramidToMax:&&2&,xlPyramidToPoint:&&1&},XlBordersIndex:{xlDiagonalDown:&&5&,xlDiagonalUp:&&6&,xlEdgeBottom:&&9&,xlEdgeLeft:&&7&,xlEdgeRight:&&10&,xlEdgeTop:&&8&,xlInsideHorizontal:&&12&,xlInsideVertical:&&11&},XlBorderWeight:{&&&&xlHairline:&&1&,&&&&xlMedium:&&-4138&,&&&&xlThick:&&4&,&&&&xlThin:&&2},XlCalculatedMemberType:{xlCalculatedMember:&&0&,xlCalculatedSet:&&1&},XlCalculation:{xlCalculationAutomatic:&&-4105&,xlCalculationManual:&&-4135&,xlCalculationSemiautomatic:&&2&},XlCalculationInterruptKey:{xlAnyKey:&&2&,xlEscKey:&&1&,xlNoKey:&&0&},XlCalculationState:{xlCalculating:&&1&,xlDone:&&0&,xlPending:&&2&},XlCategoryType:{xlAutomaticScale:&&-4105&,xlCategoryScale:&&2&,xlTimeScale:&&3&},XlCellInsertionMode:{xlInsertDeleteCells:&&1&,xlInsertEntireRows:&&2&,xlOverwriteCells:&&0&},XlCellType:{xlCellTypeAllFormatConditions:&&-4172&,xlCellTypeAllValidation:&&-4174&,xlCellTypeBlanks&:&4&,xlCellTypeComments:&&-4144&,xlCellTypeConstants:&&2&,xlCellTypeFormulas:&&-4123&,xlCellTypeLastCell:&&11&,xlCellTypeSameFormatConditions&:&-4173&,xlCellTypeSameValidation:&&-4175&,xlCellTypeVisible:&&12&},XlClipboardFormat:{xlClipboardFormatBIFF:&&8&,xlClipboardFormatBIFF2:&&18&,xlClipboardFormatBIFF3:&&20&,xlClipboardFormatBIFF4:&&30&,xlClipboardFormatBinary:&&15&,xlClipboardFormatBitmap:&&9&,xlClipboardFormatCGM:&&13&,xlClipboardFormatCSV:&&5&,xlClipboardFormatDIF:&&4&,xlClipboardFormatDspText:&&12&,xlClipboardFormatEmbeddedObject:&&21&,xlClipboardFormatEmbedSource:&&22&,xlClipboardFormatLink:&&11&,xlClipboardFormatLinkSource:&&23&,xlClipboardFormatLinkSourceDesc:&&32&,xlClipboardFormatMovie:&&24&,xlClipboardFormatNative:&&14&,xlClipboardFormatObjectDesc:&&31&,xlClipboardFormatObjectLink:&&19&,xlClipboardFormatOwnerLink:&&17&,xlClipboardFormatPICT:&&2&,xlClipboardFormatPrintPICT:&&3&,xlClipboardFormatRTF:&&7&,xlClipboardFormatScreenPICT:&&29&,xlClipboardFormatStandardFont:&&28&,xlClipboardFormatStandardScale:&&27&,xlClipboardFormatSYLK:&&6&,xlClipboardFormatTable:&&16&,xlClipboardFormatText:&&0&,xlClipboardFormatToolFace:&&25&,xlClipboardFormatToolFacePICT:&&26&,xlClipboardFormatVALU:&&1&,xlClipboardFormatWK1:&&10&},XlCmdType:{xlCmdCube:&&1&,xlCmdDefault:&&4&,xlCmdList:&&5&,xlCmdSql:&&2&,xlCmdTable:&&3&},XlColorIndex:{xlColorIndexAutomatic:&&-4105&,xlColorIndexNone:&&-4142&},XlColumnDataType:{xlDMYFormat:&&4&,xlDYMFormat:&&7&,xlEMDFormat:&&10&,xlGeneralFormat:&&1&,xlMDYFormat:&&3&,xlMYDFormat:&&6&,xlSkipColumn:&&9&,xlTextFormat:&&2&,xlYDMFormat:&&8&,xlYMDFormat:&&5&},XlCommandUnderlines:{xlCommandUnderlinesAutomatic:&&-4105&,xlCommandUnderlinesOff:&&-4146&,xlCommandUnderlinesOn:&&1&},XlHAlign:{xlHAlignCenter:&&-4108&,xlHAlignCenterAcrossSelection:&&7&,xlHAlignDistributed:&&-4117&,xlHAlignFill:&&5&,xlHAlignGeneral:&&1&,xlHAlignJustify:&&-4130&,xlHAlignLeft:&&-4131&,xlHAlignRight:&&-4152&},XlLineStyle:{xlContinuous:&&1&,xlDash:&&-4115&,xlDashDot:&&4&,xlDashDotDot:&&5&,xlDot:&&-4118&,xlDouble:&&-4119&,xlLineStyleNone:&&-4142&,xlSlantDashDot:&&13&},XlObjectSize:{xlFitToPage:&&2&,xlFullPage:&&3&,xlScreenSize:&&1&},XlOrientation:{xlDownward:&&-4170&,xlHorizontal:&&-4128&,xlUpward&:&-4171&,xlVertical:&&-4166&},XlPageBreak:{xlPageBreakAutomatic:&&-4105&,xlPageBreakManual:&&-4135&,xlPageBreakNone:&-4142&},XlPageBreakExtent:{xlPageBreakFull:&&1&,xlPageBreakPartial:&&2&},XlPageOrientation:{xlLandscape:&&2&,xlPortrait:&&1&},XlPaperSize:{xlPaper10x14:&&16&,xlPaper11x17:&&17&,xlPaperA3:&&8&,xlPaperA4:&&9&,xlPaperA4Small:&&10&,xlPaperA5:&&11&,xlPaperB4:&&12&,xlPaperB5:&&13&,xlPaperCsheet:&&24&,xlPaperDsheet:&&25&,xlPaperEnvelope10:&&20&,xlPaperEnvelope11:&&21&,xlPaperEnvelope12:&&22&,xlPaperEnvelope14:&&23&,xlPaperEnvelope9:&&19&,xlPaperEnvelopeB4:&&33&,xlPaperEnvelopeB5:&&34&,xlPaperEnvelopeB6:&&35&,xlPaperEnvelopeC3:&&29&,xlPaperEnvelopeC4:&&30&,xlPaperEnvelopeC5:&&28&,xlPaperEnvelopeC6:&&31&,xlPaperEnvelopeC65:&&32&,xlPaperEnvelopeDL:&&27&,xlPaperEnvelopeItaly:&&36&,xlPaperEnvelopeMonarch:&&37&,xlPaperEnvelopePersonal:&&38&,xlPaperEsheet:&&26&,xlPaperExecutive:&&7&,xlPaperFanfoldLegalGerman:&&41&,xlPaperFanfoldStdGerman:&&40&,xlPaperFanfoldUS:&&39&,xlPaperFolio:&&14&,xlPaperLedger:&&4&,xlPaperLegal:&&5&,xlPaperLetter:&&1&,xlPaperLetterSmall:&&2&,xlPaperNote:&&18&,xlPaperQuarto:&&15&,xlPaperStatement:&&6&,xlPaperTabloid:&&3&,xlPaperUser:&&256&},XlParameterDataType:{xlParamTypeBigInt:&&-5&,xlParamTypeBinary:&&-2&,xlParamTypeBit:&&-7&,xlParamTypeChar:&&1&,xlParamTypeDate:&&9&,xlParamTypeDecimal:&&3&,xlParamTypeDouble:&&8&,xlParamTypeFloat:&&6&,xlParamTypeInteger:&&4&,xlParamTypeLongVarBinary:&&-4&,xlParamTypeLongVarChar:&&-1&,xlParamTypeNumeric:&&2&,xlParamTypeReal:&&7&,xlParamTypeSmallInt:&&5&,xlParamTypeTime:&&10&,xlParamTypeTimestamp:&&11&,xlParamTypeTinyInt:&&-6&,xlParamTypeUnknown:&&0&,xlParamTypeVarBinary:&&-3&,xlParamTypeVarChar:&&12&,xlParamTypeWChar:&&-8&},XlParameterType:{xlConstant:&&1&,xlPrompt:&&0&,xlRange:&&2&},XlPasteSpecialOperation:{xlPasteSpecialOperationAdd:&&2&,xlPasteSpecialOperationDivide:&&5&,xlPasteSpecialOperationMultiply:&&4&,xlPasteSpecialOperationNone:&&-4142&,xlPasteSpecialOperationSubtract:&&3&},XlPasteType:{xlPasteAll:&&-4104&,xlPasteAllExceptBorders:&&7&,xlPasteColumnWidths:&&8&,xlPasteComments:&&-4144&,xlPasteFormats:&&-4122&,xlPasteFormulas:&&-4123&,xlPasteFormulasAndNumberFormats:&&11&,xlPasteValidation&:&6&,xlPasteValues:&&-4163&,xlPasteValuesAndNumberFormats:&&12&},XlPrintErrors:{xlPrintErrorsBlank:&&1&,xlPrintErrorsDash:&&2&,xlPrintErrorsDisplayed:&&0&,xlPrintErrorsNA:&&3&},XlPrintLocation:{xlPrintInPlace:&&16&,xlPrintNoComments:&&-4142&,xlPrintSheetEnd:&&1&},XlRangeAutoFormat:{xlRangeAutoFormat3DEffects1:&&13&,xlRangeAutoFormat3DEffects2:&&14&,xlRangeAutoFormatAccounting1:&&4&,xlRangeAutoFormatAccounting2:&&5&,xlRangeAutoFormatAccounting3:&&6&,xlRangeAutoFormatAccounting4:&&17&,xlRangeAutoFormatClassic1:&&1&,xlRangeAutoFormatClassic2:&&2&,xlRangeAutoFormatClassic3:&&3&,xlRangeAutoFormatClassicPivotTable:&&31&,xlRangeAutoFormatColor1:&&7&,xlRangeAutoFormatColor2:&&8&,xlRangeAutoFormatColor3:&&9&,xlRangeAutoFormatList1:&&10&,xlRangeAutoFormatList2:&&11&,xlRangeAutoFormatList3:&&12&,xlRangeAutoFormatLocalFormat1:&&15&,xlRangeAutoFormatLocalFormat2:&&16&,xlRangeAutoFormatLocalFormat3:&&19&,xlRangeAutoFormatLocalFormat4:&&20&,xlRangeAutoFormatNone:&&-4142&,xlRangeAutoFormatPTNone:&&42&,xlRangeAutoFormatReport1:&&21&,xlRangeAutoFormatReport10:&&30&,xlRangeAutoFormatReport2:&&22&,xlRangeAutoFormatReport3:&&23&,xlRangeAutoFormatReport4:&&24&,xlRangeAutoFormatReport5:&&25&,xlRangeAutoFormatReport6:&&26&,xlRangeAutoFormatReport7:&&27&,xlRangeAutoFormatReport8:&&28&,xlRangeAutoFormatReport9:&&29&,xlRangeAutoFormatSimple:&&-4154&,xlRangeAutoFormatTable1:&&32&,xlRangeAutoFormatTable10:&&41&,xlRangeAutoFormatTable2:&&33&,xlRangeAutoFormatTable3:&&34&,xlRangeAutoFormatTable4:&&35&,xlRangeAutoFormatTable5:&&36&,xlRangeAutoFormatTable6:&&37&,xlRangeAutoFormatTable7:&&38&,xlRangeAutoFormatTable8:&&39&,xlRangeAutoFormatTable9:&&40&},XlSheetType:{xlChart:&&-4109&,xlDialogSheet:&&-4116&,xlExcel4IntlMacroSheet:&&4&,xlExcel4MacroSheet:&&3&,xlWorksheet:&&-4167&},XlUnderlineStyle:{xlUnderlineStyleDouble:&&-4119&,xlUnderlineStyleDoubleAccounting:&&5&,xlUnderlineStyleNone:&&-4142&,xlUnderlineStyleSingle:&&2&,xlUnderlineStyleSingleAccounting:&&4&},XlUpdateLinks常量&值&xlUpdateLinksAlways&&3&xlUpdateLinksNever&&2&xlUpdateLinksUserSetting&&1&*/XlVAlign:{xlVAlignBottom:&&-4107&,xlVAlignCenter:&&-4108&,xlVAlignDistributed:&&-4117&,xlVAlignJustify:&&-4130&,xlVAlignTop:&&-4160&},XlWBATemplate:{xlWBATChart:&&-4109&,xlWBATExcel4IntlMacroSheet:&&4&,xlWBATExcel4MacroSheet:&&3&,xlWBATWorksheet:&&-4167&}};}();
参考知识库
* 以上用户言论只代表其个人观点,不代表CSDN网站的观点或立场
访问:53185次
排名:千里之外
原创:26篇
评论:36条
(1)(1)(1)(2)(2)(1)(1)(2)(1)(3)(1)(2)(3)(13)}

我要回帖

更多关于 yii model save false 的文章

更多推荐

版权声明:文章内容来源于网络,版权归原作者所有,如有侵权请点击这里与我们联系,我们将及时删除。

点击添加站长微信