SaveFormat
Inheritance: java.lang.Object
public final class SaveFormat
Represents the format in which the workbook is saved.
Fields
Field | Description |
---|---|
AUTO | If saving the file to the disk,the file format accords to the extension of the file name. |
AZW_3 | Represents Azw3 file. |
BMP | Windows Bitmap |
CSV | Comma-Separated Values(CSV) text file. |
DIF | Data Interchange Format. |
DOCX | Represents .docx file. |
EMF | Windows Enhanced Metafile. |
EPUB | Represents Epub file. |
EXCEL_97_TO_2003 | Represents an Excel97-2003 xls file. |
FODS | Represents OpenDocument Flat XML Spreadsheet (.fods) file format. |
GIF | Gif |
HTML | Represents a html file. |
JPG | JPEG JFIF. |
JSON | Json |
MARKDOWN | Represents markdown document. |
M_HTML | Represents a mhtml file. |
NUMBERS | Represents a numbers file. |
ODS | Open Document Sheet(ODS) file. |
OTS | Open Document Template Sheet(OTS) file. |
PCL | PCL (Printer Command Language) |
Represents a Pdf file. | |
PNG | Portable Network Graphics. |
PPTX | Represents .pptx file. |
SPREADSHEET_ML | Represents an Excel 2003 xml file. |
SQL_SCRIPT | Sql |
SVG | SVG file. |
SXC | Represents StarOffice Calc Spreadsheet (.sxc) file format. |
TAB_DELIMITED | Represents a tab delimited text file, same with LoadFormat.TSV. |
TIFF | Represents a TIFF file. |
TSV | Tab-Separated Values(TSV) text file. |
UNKNOWN | Represents unrecognized format, cannot be saved. |
XLAM | Represents an xltm file which enable addin macros. |
XLSB | Represents an xlsb file. |
XLSM | Represents an xlsm file which enable macros. |
XLSX | Represents an xlsx file. |
XLT | Excel 97-2003 template file. |
XLTM | Represents an xltm file which enable macros. |
XLTX | Represents an xltx file. |
XML | Represents a simple xml file. |
XPS | XPS (XML Paper Specification) format. |
X_HTML | Rrepesents XHtml file. |
Methods
Method | Description |
---|---|
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)
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:
Parameter | Type | Description |
---|---|---|
arg0 | java.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:
Parameter | Type | Description |
---|---|---|
arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long | |
arg1 | int |