[]
        
立即试用
(Showing Draft Content)

IgnoredErrorType

Enum Class IgnoredErrorType

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

public enum IgnoredErrorType extends Enum<IgnoredErrorType>
单元格中可能发生的错误类型。
  • Enum Constant Details

    • InconsistentListFormula

      public static final IgnoredErrorType InconsistentListFormula
      忽略计算列中公式内不一致性的错误。
    • InconsistentFormula

      public static final IgnoredErrorType InconsistentFormula
      忽略在范围内公式不一致的错误。
    • OmittedCells

      public static final IgnoredErrorType OmittedCells
      忽略包含指向省略了可能包含的相邻单元格的区域的公式的单元格中的错误。
    • TextDate

      public static final IgnoredErrorType TextDate
      忽略公式中包含的被误解为错误世纪的文本格式化单元格年份时的错误。
    • EmptyCellReferences

      public static final IgnoredErrorType EmptyCellReferences
      忽略公式中包含对空单元格的引用时的错误。
    • ListDataValidation

      public static final IgnoredErrorType ListDataValidation
      忽略不符合数据验证规则中的单元格值错误,该规则限制数据必须为列表中预定义的项目。
    • EvaluateToError

      public static final IgnoredErrorType EvaluateToError
      忽略公式结果错误的错误。
      公式结果错误类型包括 #DIV/0!#N/A#NAME?#NULL!#NUM!#REF!,以及 #VALUE!
    • NumberAsText

      public static final IgnoredErrorType NumberAsText
      忽略包含以文本形式存储的数字或前面带有撇号的单元格中的错误。
    • UnlockedFormulaCells

      public static final IgnoredErrorType UnlockedFormulaCells
      忽略包含公式的未锁定单元格中的错误。
  • Method Details

    • values

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