| | |
| | |
|
| | | public static final String[] FORMULA_STR = { "=", "-", "+", "@" };
|
| | |
|
| | |
|
| | | /**
|
| | | * Excel sheet最大行数,默认65536
|
| | | */
|
| | |
| | | if (StringUtils.isNotEmpty(excel.targetAttr()))
|
| | | {
|
| | | String target = excel.targetAttr();
|
| | | if (target.indexOf(".") > -1)
|
| | | if (target.contains("."))
|
| | | {
|
| | | String[] targets = target.split("[.]");
|
| | | for (String name : targets)
|
| | |
| | | for (Object[] os : this.fields)
|
| | | {
|
| | | Excel excel = (Excel) os[1];
|
| | | maxHeight = maxHeight > excel.height() ? maxHeight : excel.height();
|
| | | maxHeight = Math.max(maxHeight, excel.height());
|
| | | }
|
| | | return (short) (maxHeight * 20);
|
| | | }
|