Table of Contents

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 = 12

A delimiter-separated data file, the format a .csv file carries, read as the characters it holds.

LegacyPresentation = 6

The legacy binary PowerPoint presentation a .ppt file carries.

LegacySpreadsheet = 5

The legacy binary Excel workbook an .xls file carries.

LegacyWord = 4

The legacy binary Word document a .doc file carries.

Markdown = 11

A Markdown file, the format a .md file carries, read as the characters it was written with.

OpenDocumentPresentation = 9

An OpenDocument presentation, the format an .odp file carries.

OpenDocumentSpreadsheet = 8

An OpenDocument spreadsheet, the format an .ods file carries.

OpenDocumentText = 7

An OpenDocument text document, the format an .odt file carries.

Pdf = 0

A PDF document.

PlainText = 10

A plain-text file, the format a .txt file carries.

PresentationOpenXml = 3

An Office Open XML presentation, the format a .pptx file carries.

SpreadsheetOpenXml = 2

An Office Open XML workbook, the format an .xlsx file carries.

WordOpenXml = 1

An Office Open XML word-processing document, the format a .docx file 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.