SummaryRowsCalculationType

Inheritance: java.lang.Object, com.aspose.ms.System.ValueType, com.aspose.ms.System.Enum

public final class SummaryRowsCalculationType extends System.Enum

Specifies the type of a calculation of the custom attribute’s value for summary rows.

Fields

FieldDescription
NoneMeans the custom attribute’s value for summary rows is not calculated.
RollupMeans the custom attribute’s value for summary rows is calculated using rollup function defined in ExtendedAttributeDefinition.RollupType(ExtendedAttributeDefinition.getRollupType()/ ExtendedAttributeDefinition.setRollupType(int)).
UseFormulaMeans the custom attribute’s value for summary rows is calculated using formula defined in ExtendedAttributeDefinition.Formula(ExtendedAttributeDefinition.getFormula_Rename_Namesake()/ ExtendedAttributeDefinition.setFormula(String)).

None

public static final int None

Means the custom attribute’s value for summary rows is not calculated.

Rollup

public static final int Rollup

Means the custom attribute’s value for summary rows is calculated using rollup function defined in ExtendedAttributeDefinition.RollupType(ExtendedAttributeDefinition.getRollupType()/ ExtendedAttributeDefinition.setRollupType(int)).

UseFormula

public static final int UseFormula

Means the custom attribute’s value for summary rows is calculated using formula defined in ExtendedAttributeDefinition.Formula(ExtendedAttributeDefinition.getFormula_Rename_Namesake()/ ExtendedAttributeDefinition.setFormula(String)).


\ufffdor this setting to work, ExtendedAttributeDefinition.CalculationType(ExtendedAttributeDefinition.getCalculationType()/ ExtendedAttributeDefinition.setCalculationType(int)) should be set to ‘Formula’.