File Formats: Microsoft Word Document (DOCX/DOC) (original) (raw)
The DOCX and DOC file extensions are used for Microsoft Word documents, part of the Microsoft Office Suite of software.
DOCX/DOC files are used to store word processing data.
DOCX is part of Microsoft Office Open XML specification (also known as OOXML or OpenXML) and was introduced with Office 2007. DOCX is a zipped, XML-based file format. Microsoft Word 2007 and later uses DOCX as the default file format when creating a new document. Support for loading and saving legacy DOC files is also included.
DOC is the default format used with Office 97-2003. DOC is a Microsoft proprietary Binary Interchange File Format. Microsoft Word 97-2003 uses DOC as the default file format when creating a new document. Support for loading and saving DOCX files can be added using an add-in.
LEADTOOLS supports Microsoft Word document format:
- From Office 97 DOC up to DOCX.
- DOCX file support through the DOCX filter.
- DOC file support through the DOC filter.
Additional features supported by LEADTOOLS:
- Loading DOCX/DOC files as a raster image or SVG (Scalable vector graphics) document
- Loading files with different DPI
- Loading files with different page width and height
- Loading documents with different rasterization options
- Advanced features such as right-to-left rendering, paragraph borders, and table cell shading
The default extension used by this format is: DOCX or DOC.
The file constants associated with this file format are:
Constant | Read Support | Write Support | Description |
---|---|---|---|
Doc | 1, 8, 16, 24 BPP | See Note below | DOC, Microsoft Word 97-2003 document file format |
Docx | 1, 8, 16, 24 BPP | See Note below | DOCX, Microsoft Word document file format |
Required DLL: Leadtools.Codecs.Dox.dll or Leadtools.Codecs.Doc.dll. The DOCX file format requires .NET Framework 3.5 or later, as well as the DocumentFormat.OpenXml.dll (ver. 2.0).
For a listing of the exact DLLs needed, based on the toolkit version, refer to File Format Support.
Platform Support
Extension | Module | Value | Win32 | Win64 | Net32 | Net64 | Linux | Android | Apple | UWP | MimeType | Friendly Name |
---|---|---|---|---|---|---|---|---|---|---|---|---|
Doc | DOC | 342 | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | application/msword | DOC - Microsoft Word 97-2003 File Format |
Docx | DOCX | 350 | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | application/vnd.openxmlformats-officedocument.wordprocessingml.document | DOCX - Microsoft Office Word File Format |
For a complete list for supported file formats, see Summary of All Supported File Formats.
For details of the file formats supported across products and platforms, refer to File Format Comparison Chart.
Note
LEADTOOLS supports writing the DOCX/DOC file format using the LEADTOOLS Document Writers.
DOCX and DOC file formats are supported in the Document/Medical products.
For more information, refer to LEADTOOLS Document Writers SDK.