[]
        
立即试用
(Showing Draft Content)

SaveFileFormat

Enum Class SaveFileFormat

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

public enum SaveFileFormat extends Enum<SaveFileFormat>
代表工作簿保存的格式。
  • Enum Constant Details

    • Xlsx

      public static final SaveFileFormat Xlsx
      表示一个xlsx文件。
    • Csv

      public static final SaveFileFormat Csv
      代表一个csv文件。
    • Pdf

      public static final SaveFileFormat Pdf
      代表一个PDF文件。
    • Xlsm

      public static final SaveFileFormat Xlsm
      代表一个xlsm文件。
    • Html

      public static final SaveFileFormat Html
      代表一个HTML文件。
    • Xltx

      public static final SaveFileFormat Xltx
      代表一个xltx文件。
    • Sjs

      public static final SaveFileFormat Sjs
      代表一个SpreadJS .sjs文件。
  • Method Details

    • values

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