SaveFormat

Inheritance: java.lang.Object

public final class SaveFormat

Represents the format in which the workbook is saved.

Fields

FieldDescription
AUTOIf saving the file to the disk,the file format accords to the extension of the file name.
AZW_3Represents Azw3 file.
BMPWindows Bitmap
CSVComma-Separated Values(CSV) text file.
DIFData Interchange Format.
DOCXRepresents .docx file.
EMFWindows Enhanced Metafile.
EPUBRepresents Epub file.
EXCEL_97_TO_2003Represents an Excel97-2003 xls file.
FODSRepresents OpenDocument Flat XML Spreadsheet (.fods) file format.
GIFGif
HTMLRepresents a html file.
JPGJPEG JFIF.
JSONJson
MARKDOWNRepresents markdown document.
M_HTMLRepresents a mhtml file.
NUMBERSRepresents a numbers file.
ODSOpen Document Sheet(ODS) file.
OTSOpen Document Template Sheet(OTS) file.
PCLPCL (Printer Command Language)
PDFRepresents a Pdf file.
PNGPortable Network Graphics.
PPTXRepresents .pptx file.
SPREADSHEET_MLRepresents an Excel 2003 xml file.
SQL_SCRIPTSql
SVGSVG file.
SXCRepresents StarOffice Calc Spreadsheet (.sxc) file format.
TAB_DELIMITEDRepresents a tab delimited text file, same with LoadFormat.TSV.
TIFFRepresents a TIFF file.
TSVTab-Separated Values(TSV) text file.
UNKNOWNRepresents unrecognized format, cannot be saved.
XLAMRepresents an xltm file which enable addin macros.
XLSBRepresents an xlsb file.
XLSMRepresents an xlsm file which enable macros.
XLSXRepresents an xlsx file.
XLTExcel 97-2003 template file.
XLTMRepresents an xltm file which enable macros.
XLTXRepresents an xltx file.
XMLRepresents a simple xml file.
XPSXPS (XML Paper Specification) format.
X_HTMLRrepesents XHtml file.

Methods

MethodDescription
equals(Object arg0)
getClass()
hashCode()
notify()
notifyAll()
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

AUTO

public static final int AUTO

If saving the file to the disk,the file format accords to the extension of the file name. If saving the file to the stream, the file format is xlsx.

AZW_3

public static final int AZW_3

Represents Azw3 file.

BMP

public static final int BMP

Windows Bitmap

CSV

public static final int CSV

Comma-Separated Values(CSV) text file.

DIF

public static final int DIF

Data Interchange Format.

DOCX

public static final int DOCX

Represents .docx file.

EMF

public static final int EMF

Windows Enhanced Metafile.

EPUB

public static final int EPUB

Represents Epub file.

EXCEL_97_TO_2003

public static final int EXCEL_97_TO_2003

Represents an Excel97-2003 xls file.

FODS

public static final int FODS

Represents OpenDocument Flat XML Spreadsheet (.fods) file format.

GIF

public static final int GIF

Gif

HTML

public static final int HTML

Represents a html file.

JPG

public static final int JPG

JPEG JFIF.

JSON

public static final int JSON

Json

MARKDOWN

public static final int MARKDOWN

Represents markdown document.

M_HTML

public static final int M_HTML

Represents a mhtml file.

NUMBERS

public static final int NUMBERS

Represents a numbers file.

Remarks

Not supported.

ODS

public static final int ODS

Open Document Sheet(ODS) file.

OTS

public static final int OTS

Open Document Template Sheet(OTS) file.

PCL

public static final int PCL

PCL (Printer Command Language)

PDF

public static final int PDF

Represents a Pdf file.

PNG

public static final int PNG

Portable Network Graphics.

PPTX

public static final int PPTX

Represents .pptx file.

SPREADSHEET_ML

public static final int SPREADSHEET_ML

Represents an Excel 2003 xml file.

SQL_SCRIPT

public static final int SQL_SCRIPT

Sql

SVG

public static final int SVG

SVG file.

SXC

public static final int SXC

Represents StarOffice Calc Spreadsheet (.sxc) file format.

TAB_DELIMITED

public static final int TAB_DELIMITED

Represents a tab delimited text file, same with LoadFormat.TSV.

TIFF

public static final int TIFF

Represents a TIFF file.

TSV

public static final int TSV

Tab-Separated Values(TSV) text file.

UNKNOWN

public static final int UNKNOWN

Represents unrecognized format, cannot be saved.

XLAM

public static final int XLAM

Represents an xltm file which enable addin macros.

XLSB

public static final int XLSB

Represents an xlsb file.

XLSM

public static final int XLSM

Represents an xlsm file which enable macros.

XLSX

public static final int XLSX

Represents an xlsx file.

XLT

public static final int XLT

Excel 97-2003 template file.

XLTM

public static final int XLTM

Represents an xltm file which enable macros.

XLTX

public static final int XLTX

Represents an xltx file.

XML

public static final int XML

Represents a simple xml file.

XPS

public static final int XPS

XPS (XML Paper Specification) format.

X_HTML

public static final int X_HTML

Rrepesents XHtml file.

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

ParameterTypeDescription
arg0java.lang.Object

Returns: boolean

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

hashCode()

public native int hashCode()

Returns: int

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

toString()

public String toString()

Returns: java.lang.String

wait()

public final void wait()

wait(long arg0)

public final native void wait(long arg0)

Parameters:

ParameterTypeDescription
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParameterTypeDescription
arg0long
arg1int