Enum Class FormulaPolicy

java.lang.Object
java.lang.Enum<FormulaPolicy>
io.keikai.axyra.sheets.io.FormulaPolicy
All Implemented Interfaces:
Serializable, Comparable<FormulaPolicy>, Constable

public enum FormulaPolicy extends Enum<FormulaPolicy>
How formulas are written on export.
  • Enum Constant Details

    • KEEP

      public static final FormulaPolicy KEEP
      Keep the formula and its cached value (default).
    • BLANK

      public static final FormulaPolicy BLANK
      Write the cell blank (drop formula and value).
    • VALUES_ONLY

      public static final FormulaPolicy VALUES_ONLY
      Write the cached value only (drop the formula).
  • Method Details

    • values

      public static FormulaPolicy[] 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

      public static FormulaPolicy valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • code

      public int code()