枚举类的使用
com.grapecity.documents.excel.ConsolidationFunction
-
com.grapecity.documents.excel中ConsolidationFunction的使用
修饰符和类型方法说明IPivotCell.getCustomSubtotalFunction()
返回 PivotCell 对象的自定义小计函数字段设置。IPivotField.getFunction()
获取用于汇总透视表字段(仅限数据字段)的函数。static ConsolidationFunction
返回带有指定名称的该类的枚举常量。static ConsolidationFunction[]
ConsolidationFunction.values()
返回包含该枚举类的常量的数组, 顺序与声明这些常量的顺序相同修饰符和类型方法说明IPivotTable.addDataField
(IPivotField field, String caption, ConsolidationFunction function) 添加一个数据字段到透视表报告。void
IPivotField.setFunction
(ConsolidationFunction value) 设置用于汇总透视表字段的功能(仅限数据字段)。void
IRange.subtotal
(int groupBy, ConsolidationFunction subtotalFunction, int[] totalList) 为该范围创建小计。void
IRange.subtotal
(int groupBy, ConsolidationFunction subtotalFunction, int[] totalList, boolean replace) 为该范围创建小计。void
IRange.subtotal
(int groupBy, ConsolidationFunction subtotalFunction, int[] totalList, boolean replace, boolean pageBreaks) 为该范围创建小计。void
IRange.subtotal
(int groupBy, ConsolidationFunction subtotalFunction, int[] totalList, boolean replace, boolean pageBreaks, SummaryRow summaryRowLocation) 为该范围创建小计。void
IRange.subtotal
(int groupBy, ConsolidationFunction subtotalFunction, int[] totalList, SummaryRow summaryRowLocation) 为该范围创建小计。