DS.Documents.Word 8.0.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package DS.Documents.Word --version 8.0.0                
NuGet\Install-Package DS.Documents.Word -Version 8.0.0                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="DS.Documents.Word" Version="8.0.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add DS.Documents.Word --version 8.0.0                
#r "nuget: DS.Documents.Word, 8.0.0"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install DS.Documents.Word as a Cake Addin
#addin nuget:?package=DS.Documents.Word&version=8.0.0

// Install DS.Documents.Word as a Cake Tool
#tool nuget:?package=DS.Documents.Word&version=8.0.0                

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

Other Document Solutions Products

Document Solutions JavaScript Viewers

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 is compatible.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (10)

Showing the top 5 NuGet packages that depend on DS.Documents.Word:

Package Downloads
C1.Win.C1Document

The ComponentOne Document library for WinForms provides support for creating documents and reports.

C1.Document

The ComponentOne Document library provides support for creating documents and reports.

C1.Win.Document

The ComponentOne Document library for WinForms provides support for creating documents and reports.

C1.Win.C1Document.Ja

ComponentOne Document library for WinForms は、ドキュメントとレポートの作成をサポートします。 【本パッケージは日本語版製品です】

C1.WPF.Document

Document library that includes PDFDocumentSource for interacting with PDF documents. Read, export, print, and search PDFs.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
8.0.3 141 2/10/2025
8.0.2 382 1/15/2025
8.0.1 379 12/31/2024
8.0.0 382 12/9/2024
7.2.5 283 11/27/2024
7.2.4 540 10/23/2024
7.2.3 857 10/9/2024
7.2.2 894 9/20/2024
7.2.1 240 9/3/2024
7.2.0 2,758 8/19/2024
7.1.4 197 7/24/2024
7.1.3 332 6/26/2024
7.1.2 252 5/29/2024
7.1.1 3,946 4/24/2024
7.1.0 195 4/15/2024
7.0.4 222 3/23/2024
7.0.3 269 2/20/2024
7.0.2 220 1/25/2024
7.0.1 248 1/5/2024
7.0.0 243 12/11/2023

# Important note:
- This package replaces GrapeCity.Documents.Word, and provides the same functionality, ensures future enhancements, and is backwards compatible with GrapeCity.Documents.Word. Existing subscriptions will continue to apply to this new package.

# Changes since version 7.2.5:

## Breaking changes
- DS.Documents.Word.Layout package is discontinued, all functionality moved into DS.Documents.Word. Existing code will work, the only required change is removing references to DS.Documents.Word.Layout from existing projects. (DOC-6469)
- The 'net461' .NET Framework target changed to 'net462'. (DOC-6551)

## Added
- Implemented the ability to calculate field values and save the results in the document. (DOC-5138, DOC-5412)
- GcWordDocument.UpdateFields() method: updates the results of all document fields that support updating.
- RangeBase.UpdateFields() method: updates the results of all fields that support updating in the range.
- ComplexField.CanUpdate property: gets whether the field result can be updated.
- ComplexField.Update() method: updates the field result.
- ComplexField.ParentField property: gets the parent complex field.
- ComplexField.ChildFields property: gets the child complex fields.
- SimpleField.CanUpdate property: gets whether the field result can be updated.
- SimpleField.Update() method: updates the field result.
- SimpleField.ConvertToComplex(): converts this simple field to a complex field.
- ContentObject.OwnerSection property: gets the Section that owns this content object.
- Section.Index property: gets the index of this section in the document.
- WordLayoutSettings.Culture property: gets or sets the culture used to format calculated fields.
- ComplexFieldCollection, SimpleFieldCollection classes: added Add()/Insert() method overloads accepting IFieldOptions and field code/result strings.
- SimpleField, BidirectionalOverride, ControlContent, OMath, OMathElement, OMathParagraph, Hyperlink, Paragraph classes: added AddComplexField() method overloads accepting IFieldOptions and field code/result strings.
- GrapeCity.Documents.Word.Fields namespace added.
- GrapeCity.Documents.Word.Fields.StringStyle enum: specifies string formatting styles.
- GrapeCity.Documents.Word.Fields.ResultFormat enum: specifies formatting rules for updating the field result.
- GrapeCity.Documents.Word.Fields.IFieldOptions interface: provides methods for working with field options.
- GrapeCity.Documents.Word.Fields.BaseFieldOptions class: abstract base class representing field options.
- GrapeCity.Documents.Word.Fields.FieldFormatOptions class: represents options used to format field results.
- GrapeCity.Documents.Word.Fields.PageFieldOptions class: represents PAGE field options.
- GrapeCity.Documents.Word.Fields.PageRefFieldOptions class: represents PAGEREF field options.
- GrapeCity.Documents.Word.Fields.SectionFieldOptions class: represents SECTION field options.
- GrapeCity.Documents.Word.Fields.SectionPagesFieldOptions class: represents SECTIONPAGES field options.
- GrapeCity.Documents.Word.Fields.SeqFieldOptions class: represents SEQ field options.
- GrapeCity.Documents.Word.Fields.TcFieldOptions class: represents TC field options.
- GrapeCity.Documents.Word.Fields.TocFieldOptions class: represents TOC field options.

## Fixed
- Incorrect export of page numbers for some documents. (DOC-6593)
- ArgumentOutOfRangeException is thrown when loading a specific document. (DOC-6613)