[]
        
立即试用
(Showing Draft Content)

CalculationMode

Enum Class CalculationMode

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

public enum CalculationMode extends Enum<CalculationMode>
Excel计算模式。
  • Enum Constant Details

    • Automatic

      public static final CalculationMode Automatic
      自动重新计算。每当有变更时会自动重新计算,且每次打开工作簿时也会进行计算。
    • Semiautomatic

      public static final CalculationMode Semiautomatic
      半自动重新计算。除数据表和Python公式外,会自动重新计算。
    • Manual

      public static final CalculationMode Manual
      手动触发计算。仅在用户按下F9或CTRL+ALT+F9明确请求时,或在工作簿保存时重新计算。
  • Method Details

    • values

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