[]
        
立即试用
(Showing Draft Content)

SpecialCellType

Enum Class SpecialCellType

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

public enum SpecialCellType extends Enum<SpecialCellType>
指定单元格的类型。
  • Enum Constant Details

    • AllFormatConditions

      public static final SpecialCellType AllFormatConditions
      指定范围内任何格式条件的单元格。
    • AllValidation

      public static final SpecialCellType AllValidation
      指定范围内具有验证条件的单元格。
    • Blanks

      public static final SpecialCellType Blanks
      指定范围内的空单元格。
    • Comments

      public static final SpecialCellType Comments
      指定范围内包含注释的单元格。
    • Constants

      public static final SpecialCellType Constants
      包含常量的单元格。使用 SpecialCellsValue 枚举按数据类型过滤值。
    • Formulas

      public static final SpecialCellType Formulas
      包含公式的单元格。使用 SpecialCellsValue 枚举按返回类型过滤公式。
    • LastCell

      public static final SpecialCellType LastCell
      指定范围的工作表使用范围中最后一个可见单元格。
    • SameFormatConditions

      public static final SpecialCellType SameFormatConditions
      具有与指定范围左上角单元格相同格式的单元格。
    • SameValidation

      public static final SpecialCellType SameValidation
      具有与指定范围左上单元格相同验证条件的单元格。
    • Visible

      public static final SpecialCellType Visible
      指定范围内所有可见的单元格。
    • MergedCells

      public static final SpecialCellType MergedCells
      合并与指定范围相交的单元格。
    • Tags

      public static final SpecialCellType Tags
      指定范围内包含标签的单元格。
  • Method Details

    • values

      public static SpecialCellType[] 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 SpecialCellType 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
    • getValue

      public int getValue()
    • forValue

      public static SpecialCellType forValue(int value)