From d2aeed1f1287138c88b6a77b733300bdd8aae24d Mon Sep 17 00:00:00 2001 From: zack Date: Wed, 26 Apr 2017 19:39:48 +0800 Subject: [PATCH] =?UTF-8?q?REPORT-1305=20=E5=9C=A8=E7=BA=BF=E5=AF=BC?= =?UTF-8?q?=E5=85=A5excel=E8=87=AA=E5=AE=9A=E4=B9=89=E8=A1=8C=E5=88=97desi?= =?UTF-8?q?gn=E9=83=A8=E5=88=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/com/fr/design/webattr/ReportWebWidgetConstants.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/designer/src/com/fr/design/webattr/ReportWebWidgetConstants.java b/designer/src/com/fr/design/webattr/ReportWebWidgetConstants.java index 2e01bac09..e2fa6ae4d 100644 --- a/designer/src/com/fr/design/webattr/ReportWebWidgetConstants.java +++ b/designer/src/com/fr/design/webattr/ReportWebWidgetConstants.java @@ -32,7 +32,7 @@ public class ReportWebWidgetConstants { public static WidgetOption[] getWriteToolBarInstance() { return new WidgetOption[]{SUBMIT, VERIFY, EMAIL, EXPORT, PDF, EXCELP, EXCELO, EXCELS, WORD, PRINT, FLASHPRINT, APPLETPRINT, PDFPRINT, IMPORTEXCELDATA, SHOWCELLVALUE, - APPENDCOLUMNROW, DELETECOLUMNROW, SETPRINTEROFFSET, WRITEOFFLINEHTML, CUSTOM_BUTTON, WRITESTASH, WRITESTASHCLEAR}; + APPENDCOLUMNROW, DELETECOLUMNROW, SETPRINTEROFFSET, WRITEOFFLINEHTML, CUSTOM_BUTTON, WRITESTASH, WRITESTASHCLEAR, IMPORTEXCELDATA_CUSTOMIZED}; } public static WidgetOption[] getFormToolBarInstance() { @@ -130,7 +130,9 @@ public class ReportWebWidgetConstants { // import excel data public static final WidgetOption IMPORTEXCELDATA = WidgetOptionFactory.createByWidgetClass(Inter.getLocText("Utils-Import_Excel_Data"), BaseUtils.readIcon("/com/fr/web/images/excel.png"), ImportExcelData.class); - + //自定义导入excel + public static final WidgetOption IMPORTEXCELDATA_CUSTOMIZED = WidgetOptionFactory.createByWidgetClass(Inter.getLocText("FR-Engine-Utils-Import_Excel_Data_Customized"), + BaseUtils.readIcon("/com/fr/web/images/excel.png"), CustomizeImportExcelData.class); // 打印机偏移设置 public static final WidgetOption SETPRINTEROFFSET = WidgetOptionFactory.createByWidgetClass(Inter.getLocText("FR-Engine_SetPrinterOffset"), BaseUtils.readIcon("/com/fr/web/images/pianyi.png"), SetPrinterOffset.class);