| | |
| | | private ExcelSelectListUtil() { |
| | | throw new IllegalStateException("Utility class"); |
| | | } |
| | | |
| | | /** |
| | | * firstRow 開始行號 根据此项目,默认为2(下标0开始) |
| | | * lastRow 根据此项目,默认为最大65535 |
| | | * firstCol 区域中第一个单元格的列号 (下标0开始) |
| | | * lastCol 区域中最后一个单元格的列号 |
| | | * firstRow 開始行號 根据此项目,默认为2(下标0开始) lastRow 根据此项目,默认为最大65535 firstCol 区域中第一个单元格的列号 (下标0开始) lastCol 区域中最后一个单元格的列号 |
| | | * strings 下拉内容 |
| | | * */ |
| | | */ |
| | | public static void selectList(Workbook workbook, int firstCol, int lastCol, String[] strings){ |
| | | int charLenth = stringArrayLength(strings); |
| | | int arraylLenth=strings.length; |
| | |
| | | return rs; |
| | | } |
| | | } |
| | | |