public class WriteOfflineCellHelper
extends java.lang.Object
构造器和说明 |
---|
WriteOfflineCellHelper() |
限定符和类型 | 方法和说明 |
---|---|
static void |
collectColRowArray(WriteECReport report,
JSONArray colArray,
JSONArray rowArray) |
static void |
collectDeletedRows(WriteECReport report,
JSONArray deletedRows) |
static void |
collectDelInsRowArray(WriteECReport report,
JSONArray insRowArray) |
static void |
collectDependenceConfig(WriteECReport report,
JSONObject whoDependOn,
JSONObject dependOnWho)
获取关联格子信息
注意这里用的是结果格子
|
static JSONObject |
createBaseCells(WriteECReport report,
Calculator ca)
获取格子信息
只取基准的格子
|
static JSONObject |
createResultCells(WriteECReport report)
取格子值
取的是结果报表的格子值 行列都是展开后的 只支持数字和字符串
|
static JSONArray |
createVerify(WriteECReport report) |
static java.lang.Object |
getFormulaForWeb(java.lang.Object value) |
static java.util.Map |
getOriInsDelBtnMap(WriteECReport report) |
static ColumnRow |
getOriInsDelButton(java.util.Map insMap,
ColumnRow oriCR,
boolean isInsert) |
static java.lang.String |
getPresentFormula(CellElement ce,
Calculator ca) |
static java.lang.Object |
getValueForWeb(java.lang.Object value) |
public static void collectDependenceConfig(WriteECReport report, JSONObject whoDependOn, JSONObject dependOnWho) throws java.lang.Exception
report
- 报表whoDependOn
- 收集依赖于目标格子的dependOnWho
- 收集目标格子依赖的java.lang.Exception
public static void collectColRowArray(WriteECReport report, JSONArray colArray, JSONArray rowArray)
public static void collectDelInsRowArray(WriteECReport report, JSONArray insRowArray)
public static void collectDeletedRows(WriteECReport report, JSONArray deletedRows)
public static java.util.Map getOriInsDelBtnMap(WriteECReport report)
public static ColumnRow getOriInsDelButton(java.util.Map insMap, ColumnRow oriCR, boolean isInsert)
public static JSONObject createBaseCells(WriteECReport report, Calculator ca) throws java.lang.Exception
report
- java.lang.Exception
public static JSONObject createResultCells(WriteECReport report) throws java.lang.Exception
report
- java.lang.Exception
public static java.lang.Object getValueForWeb(java.lang.Object value)
public static java.lang.Object getFormulaForWeb(java.lang.Object value)
public static java.lang.String getPresentFormula(CellElement ce, Calculator ca)
public static JSONArray createVerify(WriteECReport report) throws java.lang.Exception
java.lang.Exception