Package io.keikai.axyra.sheets
Enum Class PivotShowDataAsType
- All Implemented Interfaces:
Serializable,Comparable<PivotShowDataAsType>,Constable
Show-Values-As display mode for a pivot values-area field — Excel's
"Show Values As" menu (ECMA-376 Part 1 §18.10.1.18
dataField@showDataAs). The transformation is applied
post-aggregation on PivotTableView.refresh(); percent modes
produce fractions (0.25 = 25%).-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionCell - base item's cell (needs base field + base item).(cell x grand total) / (row total x column total).Raw aggregate (no transformation).(Cell - base item's cell) / base item's cell (Excel's "% Difference From").Cell / the base item's cell, shown as a percentage (Excel's "% Of").Cell / column total.Cell / base-field-level ancestor subtotal (needs a base field).Cell / the value of its next-outer column group in the same row (Excel's "% of Parent Column Total").Cell / the value of its next-outer row group in the same column (Excel's "% of Parent Row Total").Cell / row total.Cell / grand total.Standard rank, smallest = 1; ties share a rank.Standard rank, largest = 1; ties share a rank.Cumulative sum along the base field in display order.The running total along the base field as a share of that field's total (Excel's "% Running Total In"), so the last item reads 100%. -
Method Summary
Modifier and TypeMethodDescriptionstatic PivotShowDataAsTypeReturns the enum constant of this class with the specified name.static PivotShowDataAsType[]values()Returns an array containing the constants of this enum class, in the order they are declared.wire()The OOXMLshowDataAstoken, also used across the FFI.
-
Enum Constant Details
-
NORMAL
Raw aggregate (no transformation). -
PERCENT_OF_TOTAL
Cell / grand total. -
PERCENT_OF_ROW
Cell / row total. -
PERCENT_OF_COLUMN
Cell / column total. -
PERCENT_OF_PARENT
Cell / base-field-level ancestor subtotal (needs a base field). -
DIFFERENCE_FROM
Cell - base item's cell (needs base field + base item). -
PERCENT_DIFFERENCE_FROM
(Cell - base item's cell) / base item's cell (Excel's "% Difference From"). The base item and the total across the base field are blank, and so is a cell whose base is 0. Needs a base field and a base item. For the plain ratio, seePERCENT_OF. -
RUNNING_TOTAL
Cumulative sum along the base field in display order. -
RANK_ASCENDING
Standard rank, smallest = 1; ties share a rank. -
RANK_DESCENDING
Standard rank, largest = 1; ties share a rank. -
INDEX
(cell x grand total) / (row total x column total). -
PERCENT_OF
Cell / the base item's cell, shown as a percentage (Excel's "% Of"). The base item reads 100%; the total across the base field is blank. Needs a base field and a base item. -
PERCENT_OF_PARENT_ROW
Cell / the value of its next-outer row group in the same column (Excel's "% of Parent Row Total"). The outermost row field divides by the column total, so the grand total row reads 100%. -
PERCENT_OF_PARENT_COLUMN
Cell / the value of its next-outer column group in the same row (Excel's "% of Parent Column Total"). The grand total column reads 100%. -
RUNNING_TOTAL_PERCENT
The running total along the base field as a share of that field's total (Excel's "% Running Total In"), so the last item reads 100%. Needs a base field; the total across the base field is blank.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
wire
The OOXMLshowDataAstoken, also used across the FFI.
-