FileFormat
FileFormat enumeration
Specifies a document file format. Used both as input format (when loading a document for conversion to Markdown) and as output format (when exporting Markdown to a document).
public enum FileFormat
Values
| Name | Value | Description |
|---|---|---|
| Unknown | 0 |
The file format is not specified. The library will attempt to detect the format automatically. |
| Doc | 1 |
Microsoft Word 97-2003 Document (.doc). |
| Docx | 2 |
Microsoft Word Document (.docx). |
| Docm | 3 |
Microsoft Word Macro-Enabled Document (.docm). |
| Dot | 4 |
Microsoft Word 97-2003 Template (.dot). |
| Dotx | 5 |
Microsoft Word Template (.dotx). |
| Dotm | 6 |
Microsoft Word Macro-Enabled Template (.dotm). |
| Rtf | 7 |
Rich Text Format (.rtf). |
| Odt | 8 |
OpenDocument Text (.odt). |
| Ott | 9 |
OpenDocument Text Template (.ott). |
| Xlsx | 10 |
Microsoft Excel Spreadsheet (.xlsx). |
| Xls | 11 |
Microsoft Excel 97-2003 Spreadsheet (.xls). |
| Xlsb | 12 |
Microsoft Excel Binary Spreadsheet (.xlsb). |
| Xlsm | 13 |
Microsoft Excel Macro-Enabled Spreadsheet (.xlsm). |
| Csv | 14 |
Comma-Separated Values (.csv). |
| Tsv | 15 |
Tab-Separated Values (.tsv). |
| Ods | 16 |
OpenDocument Spreadsheet (.ods). |
| Ots | 17 |
OpenDocument Spreadsheet Template (.ots). |
18 |
Portable Document Format (.pdf). | |
| Epub | 19 |
Electronic Publication (.epub). |
| Mobi | 20 |
Mobipocket E-Book (.mobi). |
| Txt | 21 |
Plain Text (.txt). |
| Md | 22 |
Markdown (.md). Used as input format for reverse conversion (Markdown to document). |
| Chm | 23 |
Compiled HTML Help (.chm). |
Remarks
Pass a value from this enum to the LoadOptions constructor to explicitly specify the source document format, or use Unknown to let the library detect it automatically. Use GetSupportedFormats to retrieve all formats supported for conversion.
See Also
- namespace GroupDocs.Markdown
- assembly GroupDocs.Markdown