Back to Devexpress

DocumentFormat Enum

aspnet-js-documentformat.md

latest1.5 KB
Original Source

DocumentFormat Enum

Lists file document formats.

Declaration

ts
declare enum DocumentFormat {
    Undefined = 0,
    PlainText = 1,
    Rtf = 2,
    Html = 3,
    OpenXml = 4,
    Mht = 5,
    WordML = 6,
    OpenDocument = 7,
    ePub = 9,
    Doc = 10
}

Members

NameDescription
Doc

MS Word 97-2003 binary file format.

| | Html |

The HTML format.

| | Mht |

The MHT format - web page archive format used to save HTML code with resources represented by external links (images etc.), in a single file

| | OpenDocument |

The OpenDocument text format (.odt, implemented by OpenOffice.org office suite).

| | OpenXml |

The OpenXML file format (aka default MS Office 2007 format or .docx)

| | PlainText |

The plain text format.

| | Rtf |

The Rich Text Format (RTF).

| | Undefined |

The document’s format is undefined.

| | WordML |

The WordprocessingML format (.xml, implemented in MS Office 2003).

| | ePub |

EPUB® - standard format for electronic books and other digital publications.

|

Remarks

Values listed by this enumeration are used to set the RichEditFileInfo.documentFormat property and are also used as parameters in the following methods.