View Word Documents


Text files include plain text e.g. TXT and LOG files and rich text formats e.g. DOCX and ODT files. Rich text formats contain pages that can include text, graphics, tables, formatting, and other media. The most commonly used applications for Text files are Microsoft Word, LibreOffice Writer, Apache OpenOffice Writer, and Apple Pages.

Supported Text Formats

The following Text formats are supported by the GroupDocs.Viewer

Auto Detection means that GroupDocs.Viewer for Java can determine the type of the Text file by reading the information in the file header.

File ExtensionFile TypeAuto Detection
.DOCXMicrosoft Word DocumentYes
.DOCMicrosoft Word 97-2003 DocumentYes
.DOCMMicrosoft Word Macro-Enabled DocumentYes
.DOTMicrosoft Word 97-2003 TemplateYes
.DOTMMicrosoft Word Macro-Enabled TemplateYes
.DOTXMicrosoft Word TemplateYes
.ODTOpenDocument TextYes
.OTTOpenDocument Text TemplateYes
.RTFRich Text DocumentYes
.TXTPlain Text DocumentYes
.VCFElectronic Business Card (vCard)Yes

Note: to get actual information about supported formats it is recommended to call getSupportedFileTypes() method of FileType class

In this section

The articles given in this section describes the usage of GroupDocs.Viewer to convert Text files with different available options.