Enum Class的使用
com.grapecity.documents.excel.ConsolidationFunction
-
com.grapecity.documents.excel中ConsolidationFunction的使用
修饰符和类型方法说明IPivotCell.getCustomSubtotalFunction()
Returns the custom subtotal function field setting of a PivotCell object.IPivotField.getFunction()
Gets the function used to summarize the PivotTable field (data fields only).static ConsolidationFunction
Returns the enum constant of this class with the specified name.static ConsolidationFunction[]
ConsolidationFunction.values()
Returns an array containing the constants of this enum class, in the order they are declared.修饰符和类型方法说明IPivotTable.addDataField
(IPivotField field, String caption, ConsolidationFunction function) Adds a data field to a PivotTable report.void
IPivotField.setFunction
(ConsolidationFunction value) Sets the function used to summarize the PivotTable field (data fields only).void
IRange.subtotal
(int groupBy, ConsolidationFunction subtotalFunction, int[] totalList) Creates subtotals for the range.void
IRange.subtotal
(int groupBy, ConsolidationFunction subtotalFunction, int[] totalList, boolean replace) Creates subtotals for the range.void
IRange.subtotal
(int groupBy, ConsolidationFunction subtotalFunction, int[] totalList, boolean replace, boolean pageBreaks) Creates subtotals for the range.void
IRange.subtotal
(int groupBy, ConsolidationFunction subtotalFunction, int[] totalList, boolean replace, boolean pageBreaks, SummaryRow summaryRowLocation) Creates subtotals for the range.void
IRange.subtotal
(int groupBy, ConsolidationFunction subtotalFunction, int[] totalList, SummaryRow summaryRowLocation) Creates subtotals for the range.