Package io.keikai.model
Enum Class CalcMode
- All Implemented Interfaces:
Serializable,Comparable<CalcMode>,Constable
Calculation mode for a workbook, controlling when formulas are recalculated.
Corresponds to the calcMode attribute of <calcPr> in
ECMA-376 Section 18.2.2.
- Since:
- 7.0.0
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionFormulas are recalculated automatically whenever a dependent value changes.Formulas are recalculated automatically except for data table formulas.Formulas are only recalculated when explicitly triggered by the user (e.g. -
Method Summary
-
Enum Constant Details
-
AUTOMATIC
Formulas are recalculated automatically whenever a dependent value changes. This is the default mode. Corresponds tocalcMode="auto"in OOXML. -
AUTOMATIC_EXCEPT_TABLE
Formulas are recalculated automatically except for data table formulas. Corresponds tocalcMode="autoNoTable"in OOXML. -
MANUAL
Formulas are only recalculated when explicitly triggered by the user (e.g. viaSBook.calculateAll()). Corresponds tocalcMode="manual"in OOXML.
-
-
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
-