WordProcessingFileType

WordProcessingFileType class

Defines Word Processing files that contain user information in plain text or rich text format. A plain text file format contains unformatted text and no font or page settings etc. can be applied. In contrast, a rich text file format allows formatting options such as setting fonts type, styles (bold, italic, underline, etc.), page margins, headings, bullets and numbers, and several other formatting features. Includes the following file types: Doc, Docm, Docx, Dot, Dotm, Dotx, Odt, Ott, Rtf, Txt. Md. Learn more about Word Processing formats here.

public sealed class WordProcessingFileType : FileType

Constructors

Name Description
WordProcessingFileType() Serialization constructor

Properties

Name Description
Description { get; } File type description
Extension { get; } The file extension
Family { get; } The file family
FileFormat { get; } The file format

Methods

Name Description
CompareTo(object) Compares current object to other.
override Equals(Enumeration) Implements Equals
override Equals(object) Determines whether two object instances are equal.
override GetHashCode() Serves as the default hash function.
override ToString() String representation

Fields

Name Description
static readonly Doc Files with .doc extension represent documents generated by Microsoft Word or other word processing documents in binary file format. Learn more about this file format here.
static readonly Docm DOCM files are Microsoft Word 2007 or higher generated documents with the ability to run macros. Learn more about this file format here.
static readonly Docx DOCX is a well-known format for Microsoft Word documents. Introduced from 2007 with the release of Microsoft Office 2007, the structure of this new Document format was changed from plain binary to a combination of XML and binary files. Learn more about this file format here.
static readonly Dot Files with .DOT extension are template files created by Microsoft Word to have pre-formatted settings for generation of further DOC or DOCX files. Learn more about this file format here.
static readonly Dotm A file with DOTM extension represents template file created with Microsoft Word 2007 or higher. Learn more about this file format here.
static readonly Dotx Files with DOTX extension are template files created by Microsoft Word to have pre-formatted settings for generation of further DOCX files. Learn more about this file format here.
static readonly Md Text files created with Markdown language dialects is saved with .MD or .MARKDOWN file extension. MD files are saved in plain text format that uses Markdown language which also includes inline text symbols, defining how a text can be formatted such as indentations, table formatting, fonts, and headers. Learn more about this file format here.
static readonly Odt ODT files are type of documents created with word processing applications that are based on OpenDocument Text File format. Learn more about this file format here.
static readonly Ott Files with OTT extension represent template documents generated by applications in compliance with the OASIS’ OpenDocument standard format. Learn more about this file format here.
static readonly Rtf Introduced and documented by Microsoft, the Rich Text Format (RTF) represents a method of encoding formatted text and graphics for use within applications. Learn more about this file format here.
static readonly Txt A file with .TXT extension represents a text document that contains plain text in the form of lines. Learn more about this file format here.

See Also