FileFormat
Leave feedback
On this page
Inheritance: java.lang.Object, java.lang.Enum
public enum FileFormat extends Enum<FileFormat>
Specifies a document file format.
| Field | Description |
|---|---|
| UNKNOWN | Format is unknown and should be detected automatically. |
| DOC | Microsoft Word 97-2003 Document (.doc). |
| DOCX | Microsoft Word Document (.docx). |
| DOCM | Microsoft Word Macro-Enabled Document (.docm). |
| DOT | Microsoft Word 97-2003 Template (.dot). |
| DOTX | Microsoft Word Template (.dotx). |
| DOTM | Microsoft Word Macro-Enabled Template (.dotm). |
| RTF | Rich Text Format (.rtf). |
| ODT | OpenDocument Text (.odt). |
| OTT | OpenDocument Text Template (.ott). |
| XLSX | Microsoft Excel Spreadsheet (.xlsx). |
| XLS | Microsoft Excel 97-2003 Spreadsheet (.xls). |
| XLSB | Microsoft Excel Binary Spreadsheet (.xlsb). |
| XLSM | Microsoft Excel Macro-Enabled Spreadsheet (.xlsm). |
| CSV | Comma-Separated Values (.csv). |
| TSV | Tab-Separated Values (.tsv). |
| ODS | OpenDocument Spreadsheet (.ods). |
| OTS | OpenDocument Spreadsheet Template (.ots). |
| Portable Document Format (.pdf). | |
| EPUB | Electronic Publication (.epub). |
| MOBI | Mobipocket E-Book (.mobi). |
| TXT | Plain Text (.txt). |
| MD | Markdown (.md). |
| CHM | Compiled HTML Help (.chm). |
| Method | Description |
|---|---|
| values() | |
| valueOf(String name) |
public static final FileFormat UNKNOWN
Format is unknown and should be detected automatically.
public static final FileFormat DOC
Microsoft Word 97-2003 Document (.doc).
public static final FileFormat DOCX
Microsoft Word Document (.docx).
public static final FileFormat DOCM
Microsoft Word Macro-Enabled Document (.docm).
public static final FileFormat DOT
Microsoft Word 97-2003 Template (.dot).
public static final FileFormat DOTX
Microsoft Word Template (.dotx).
public static final FileFormat DOTM
Microsoft Word Macro-Enabled Template (.dotm).
public static final FileFormat RTF
Rich Text Format (.rtf).
public static final FileFormat ODT
OpenDocument Text (.odt).
public static final FileFormat OTT
OpenDocument Text Template (.ott).
public static final FileFormat XLSX
Microsoft Excel Spreadsheet (.xlsx).
public static final FileFormat XLS
Microsoft Excel 97-2003 Spreadsheet (.xls).
public static final FileFormat XLSB
Microsoft Excel Binary Spreadsheet (.xlsb).
public static final FileFormat XLSM
Microsoft Excel Macro-Enabled Spreadsheet (.xlsm).
public static final FileFormat CSV
Comma-Separated Values (.csv).
public static final FileFormat TSV
Tab-Separated Values (.tsv).
public static final FileFormat ODS
OpenDocument Spreadsheet (.ods).
public static final FileFormat OTS
OpenDocument Spreadsheet Template (.ots).
public static final FileFormat PDF
Portable Document Format (.pdf).
public static final FileFormat EPUB
Electronic Publication (.epub).
public static final FileFormat MOBI
Mobipocket E-Book (.mobi).
public static final FileFormat TXT
Plain Text (.txt).
public static final FileFormat MD
Markdown (.md).
public static final FileFormat CHM
Compiled HTML Help (.chm).
public static FileFormat[] values()
Returns: com.groupdocs.markdown.FileFormat[]
public static FileFormat valueOf(String name)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| name | java.lang.String |
Returns: FileFormat
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.