This is a cross-platform library for creating, analyzing, and modifying Office Word documents without dependencies on MS Office. It exposes a robust and convenient object model (based on Open XML SDK) that provides access to document content and properties such as page settings, headers and footers, and so on. The object model was designed to make working with Office Word documents in code easier and more convenient. For example, the notion of ranges allows you to create accessor objects that stay with the designated portions of content even while the document is being modified. In addition, a platform-independent layout engine https://www.nuget.org/packages/GrapeCity.Documents.Word.Layout/ is provided which supports rendering and exporting Word documents to PDF and image formats. This library is compatible with .NET 8, .NET 7, .NET 6, .NET Standard 2.x, .NET Framework 4.6.1 or higher. All features are fully supported on Windows, macOS and Linux. The online demo browser is available at https://developer.mescius.com/document-solutions/dot-net-word-api/demos/
Install
| Product | Versions |
|---|---|
| .NET Standard | |
| Other |
README
Document Solutions for Word
Document Solutions for Word (DsWord, formerly GcWord) is a fast and powerful MS Word API library that provides a set of APIs that allow developers to implement fast and efficient processing of MS Word (DOCX) documents with no dependency on Microsoft Office.
Features include:
- Programmatically create, load, modify, save or inspect MS Word documents.
- Read-write support for DOCX, DOTM, DOCM and DOTX file formats.
- Read-only support for FlatOPC, FlatOpcMacroEnabled, FlatOpcTemplate and FlatOpcTemplateEnabled formats.
- Export documents to PDF or image formats with support for RTL, vertical and East Asian texts.
- Support for built-in and user-defined character, paragraph and table styles, list templates and themes.
- Shape and geometry type presets, themed shape styles.
- Add images to documents specifying various image formatting options.
- Powerful find and replace functionality.
- Report (Data) Templates that use Mustache-style markup to create data-bound documents.
DsWord is compatible with .NET 8, .NET 7, .NET 6, .NET Standard 2.x, .NET Framework 4.6.1 or higher.
All features are fully supported on Windows, macOS and Linux.
Resources
- DsWord Demos
- Getting Started
- License Information
- Licensing FAQ
- How to Get Trial Keys
- Online Documentation
- Offline Documentation (PDF)
Other Document Solutions Products
- Document Solutions for PDF
- Document Solutions for Word
- Document Solutions for Imaging
- Document Solutions for Excel, .NET Edition
- Document Solutions for Excel, Java Edition
Document Solutions JavaScript Viewers
Changes from Previous Version
Adoption Assessment
Assess this package against its supported frameworks, license, maintenance signals and dependency graph before making it a project standard.
Related Guides & Workflows
Learn how to evaluate, integrate, or audit this package in your .NET project.