[]
        
(Showing Draft Content)

OpenFileFormat

Enum Class OpenFileFormat

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

public enum OpenFileFormat extends Enum<OpenFileFormat>
Represents the format in which the workbook is opened.
  • Enum Constant Details

    • Xlsx

      public static final OpenFileFormat Xlsx
      Represents an xlsx file.
    • Csv

      public static final OpenFileFormat Csv
      Represents a csv file.
    • Xlsm

      public static final OpenFileFormat Xlsm
      Represents an xlsm file.
    • Xltx

      public static final OpenFileFormat Xltx
      Represents a xltx file.
    • Sjs

      public static final OpenFileFormat Sjs
      Represents a SpreadJS .sjs file.
  • Method Details

    • values

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