Enum AttachmentDocumentFormat
- Namespace
- MailFathom.Application.Emails.Extraction.Attachments
- Assembly
- MailFathom.Application.dll
Names one document format an attachment may be recognized as.
public enum AttachmentDocumentFormat
Fields
Csv = 12A delimiter-separated data file, the format a
.csvfile carries, read as the characters it holds.LegacyPresentation = 6The legacy binary PowerPoint presentation a
.pptfile carries.LegacySpreadsheet = 5The legacy binary Excel workbook an
.xlsfile carries.LegacyWord = 4The legacy binary Word document a
.docfile carries.Markdown = 11A Markdown file, the format a
.mdfile carries, read as the characters it was written with.OpenDocumentPresentation = 9An OpenDocument presentation, the format an
.odpfile carries.OpenDocumentSpreadsheet = 8An OpenDocument spreadsheet, the format an
.odsfile carries.OpenDocumentText = 7An OpenDocument text document, the format an
.odtfile carries.Pdf = 0A PDF document.
PlainText = 10A plain-text file, the format a
.txtfile carries.PresentationOpenXml = 3An Office Open XML presentation, the format a
.pptxfile carries.SpreadsheetOpenXml = 2An Office Open XML workbook, the format an
.xlsxfile carries.WordOpenXml = 1An Office Open XML word-processing document, the format a
.docxfile carries.
Remarks
The set is closed and is the whole of what recognition may conclude, which is what makes an attachment outside it a stated refusal rather than an attempt. Recognizing a format is not the same as parsing one: the three legacy binary formats are recognized so that skipping one can say what it was, and IsExtracted(AttachmentDocumentFormat) is what separates the two.