[]
        
(Showing Draft Content)

InvalidFormulaHandling

Enum Class InvalidFormulaHandling

java.lang.Object
java.lang.Enum<InvalidFormulaHandling>
com.grapecity.documents.excel.InvalidFormulaHandling
All Implemented Interfaces:
Serializable, Comparable<InvalidFormulaHandling>, Constable

public enum InvalidFormulaHandling extends Enum<InvalidFormulaHandling>
Specifies how invalid formulas are handled.
  • Enum Constant Details

    • Throw

      public static final InvalidFormulaHandling Throw
      Throw an exception when an invalid formula is encountered.
    • Discard

      public static final InvalidFormulaHandling Discard
      Discard invalid formulas and their cached values.
    • DiscardFormulaOnly

      public static final InvalidFormulaHandling DiscardFormulaOnly
      Discard invalid formulas while preserve their cached values.
    • Preserve

      public static final InvalidFormulaHandling Preserve
      Preserve invalid formula text and cached values.
  • Method Details

    • values

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