GrapeCity.Documents.Word 2.2.0.310

There is a newer version of this package available.
See the version list below for details.
dotnet add package GrapeCity.Documents.Word --version 2.2.0.310
NuGet\Install-Package GrapeCity.Documents.Word -Version 2.2.0.310
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="GrapeCity.Documents.Word" Version="2.2.0.310" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add GrapeCity.Documents.Word --version 2.2.0.310
#r "nuget: GrapeCity.Documents.Word, 2.2.0.310"
#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 GrapeCity.Documents.Word as a Cake Addin
#addin nuget:?package=GrapeCity.Documents.Word&version=2.2.0.310

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

GrapeCity Documents for Word (GcWord) is a cross-platform library that allows to create, analyze, and modify 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 GcWord object model was designed to make working with Office Word documents in code easier and more convenient.
For example, GcWord's notion of ranges allows to create accessor objects that stay with the designated portions of content even while the document is being modified.
In addition, GcWord provides a platform-independent layout engine that allows to render and export Word documents to PDF (GrapeCity.Documents.Layout).
The online Documents for Word sample browser is available at http://demos.componentone.com/gcdocs/gcword

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. 
.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 is compatible.  net462 was computed.  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 (15)

Showing the top 5 NuGet packages that depend on GrapeCity.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.

GrapeCity.Documents.Word.Layout

This is a cross-platform library providing document layout services to GrapeCity.Documents.Word. Adding this library to a project that uses GrapeCity.Documents.Word provides GcWordDocument.SaveAsPdf() and other methods that allow you to export Word documents to PDF and image formats (TIFF, JPEG, PNG). This library does not depend on MS Office and 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 that uses GrapeCity.Documents.Word.Layout to generate PDFs and images from Word documents is available at https://developer.mescius.com/document-solutions/dot-net-word-api/demos/.

GrapeCity.Documents.Layout

This is a cross-platform library providing document layout services to GrapeCity.Documents.Word (GcWord). Adding a reference to this library to a project that uses GcWord will provide GcWordDocument.SaveAsPdf() extension methods, which will allow to export Word documents to PDF. This library does not depend on MS Office or any third-party libraries, and works on all platforms that support .NET Standard 2.0. The online Documents for Word sample browser that uses GrapeCity.Documents.Layout to generate PDFs from Word documents is available at https://www.grapecity.com/documents-api-word/demos/

C1.Win.Document

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

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
7.1.1 84 4/24/2024
7.1.0 137 4/15/2024
7.0.4 803 3/22/2024
7.0.3 287 2/21/2024
7.0.2 244 1/25/2024
7.0.1 231 1/5/2024
7.0.0 338 12/11/2023
6.2.5 1,378 11/23/2023
6.2.4 1,797 10/27/2023
6.2.3 376 9/28/2023
6.2.2 333 9/13/2023
6.2.1 709 8/17/2023
6.2.0 359 8/7/2023
6.1.5 469 7/12/2023
6.1.4 1,469 6/20/2023
6.1.3 316 6/1/2023
6.1.2 868 5/8/2023
6.1.0 2,723 4/16/2023
6.0.7 353 4/7/2023
6.0.6 383 3/23/2023
6.0.5 832 2/28/2023
6.0.4 7,473 2/6/2023
6.0.3 4,311 1/20/2023
6.0.2 3,625 1/3/2023
6.0.1 491 12/27/2022
6.0.0 631 12/12/2022
5.2.0.805 3,526 12/9/2022
5.2.0.804 933 11/2/2022
5.2.0.803 3,718 10/10/2022
5.2.0.802 1,464 9/16/2022
5.2.0.801 803 8/24/2022
5.2.0.800 5,371 8/15/2022
5.1.0.796 8,609 7/29/2022
5.1.0.795 979 7/15/2022
5.1.0.793 5,165 6/10/2022
5.1.0.792 1,412 5/23/2022
5.1.0.791 1,310 4/29/2022
5.1.0.790 826 4/19/2022
5.0.0.776 783 4/7/2022
5.0.0.775 3,931 3/21/2022
5.0.0.774 742 3/2/2022
5.0.0.773 3,525 2/16/2022
5.0.0.770 6,509 1/24/2022
5.0.0.767 2,479 12/24/2021
5.0.0.762 2,142 12/13/2021
4.2.0.727 1,555 12/3/2021
4.2.0.726 23,200 10/29/2021
4.2.0.722 829 10/13/2021
4.2.0.719 526 9/23/2021
4.2.0.717 549 8/31/2021
4.2.0.715 682 8/16/2021
4.1.0.664 2,162 8/6/2021
4.1.0.663 7,407 7/6/2021
4.1.0.662 577 6/16/2021
4.1.0.660 581 5/19/2021
4.1.0.658 538 4/27/2021
4.0.0.633 570 4/1/2021
4.0.0.632 685 2/24/2021
4.0.0.625 3,204 1/26/2021
4.0.0.623 604 1/8/2021
4.0.0.619 605 12/8/2020
4.0.0.616 675 11/19/2020
3.2.0.560 3,796 12/30/2020
3.2.0.559 618 12/4/2020
3.2.0.558 939 10/29/2020
3.2.0.556 1,919 9/29/2020
3.2.0.554 2,923 9/7/2020
3.2.0.553 690 9/4/2020
3.2.0.550 1,073 8/11/2020
3.2.0.548 746 7/20/2020
3.1.0.519 801 7/3/2020
3.1.0.518 723 6/18/2020
3.1.0.514 720 6/2/2020
3.1.0.513 715 5/7/2020
3.1.0.512 705 4/22/2020
3.1.0.511 1,438 4/9/2020
3.1.0.508 814 3/5/2020
3.0.0.420 1,860 1/13/2020
3.0.0.419 909 1/3/2020
3.0.0.418 1,120 12/8/2019
3.0.0.415 1,407 11/14/2019
3.0.0.414 785 10/24/2019
2.2.0.320 725 2/4/2020
2.2.0.319 718 11/7/2019
2.2.0.318 736 11/6/2019
2.2.0.317 794 10/12/2019
2.2.0.316 1,000 9/20/2019
2.2.0.315 847 8/21/2019
2.2.0.314 816 8/5/2019
2.2.0.312 956 7/11/2019
2.2.0.310 1,832 6/9/2019
2.1.0.267 1,181 4/24/2019
2.1.0.265 888 3/25/2019
2.1.0.263 877 3/12/2019
2.1.0.262 807 3/1/2019
2.1.0.260 971 1/25/2019
2.0.0.208 959 12/18/2018
2.0.0.207 875 12/5/2018
2.0.0.206 921 11/21/2018
2.0.0.205 886 11/13/2018
2.0.0.201 955 10/24/2018
2.0.0.200 1,049 9/28/2018

# Changes from version 2.1.0.267:

## Breakikng Changes
- The type of Document property changed from GcWordDocument to DocumentBase on the following classes: ContentObject, ContentRange, RangeBase, Style, StyleCollection, ListTemplateCollection.
- The ImageData(GcWordDocument document, bool isPictureBullet) ctor changed to ImageData(DocumentBase document, bool isPictureBullet).
- Theme colors now cannot be modified directly via GcWordDocument.Theme. Use Settings to modify theme colors instead.
- Removed Theme.ColorScheme[ThemeColorId] indexer, use the new ThemeColor Settings.GetThemeColor(ThemeColorId) method instead.
- Removed ColorScheme.RemapColor(ThemeColorId, ThemeColorSchemeId) method, use the new Settings.RemapColor(ThemeColorId, ThemeColorSchemeId) method instead.
- The Section class is no longer derived from ContentObject (sections in MS Word OM are actually section type breaks, hence this and related changes).
- The SectionCollection class is now derived from ContentCollection (was derived from ContentObjectCollection).
- Removed Section.Guid and Section.ParentContent properties.
- Removed SectionCollection.Add(), SectionCollection.Insert() and Section.Split() methods (use the new Paragraph.AddSectionBreak() method instead).

## Fixed
- Incorrect saving of background color shading in some cases could cause MS Word to show the message "not enough memory to update the display" when loading the saved document. (DOC-1248)
- Wrong exception message was shown when applying a wrong style type to a content object.

## Changed
- Method Range.CompareLocationWith(RangeBase) now accepts RangeBase as argument (was Range).

## Added
- Added Marker.StartSection and Marker.EndSection properties, get the section that starts/ends in this marker.
- Added Paragraph.AddSectionBreak(SectionStart) method: breaks the parent section right after this paragraph.
- DocumentBase class: base class for GcWordDocument and GlossaryDocument classes.
- GlossaryDocument class: document storage which stores definition and content that is carried with the document for future insertion and/or use, but is not visible within the contents of the main document story.
- FormattedMark class: specifies the set of properties applied to the the special content mark.
- BuildingBlockCollection class: represents a collection of building blocks.
- BuildingBlock class: represents a building block in a document. A building block is pre-built content, similar to autotext, that may contain text, images, and formatting.
- Category class: Specifies the categorization for a building block.
- CustomXmlPart class: represents a custom XML data storage in the document.
- CustomXmlPartCollection class: represents a collection of CustomXmlPart objects in the document.
- BuildingBlockGallery enum: specifies a building block gallery.
- BuildingBlockType enum: specifies the type of a building block.
- BuildingBlockInsertOptions enum: specifies how a building block is inserted into a document.
- GcWordDocument.GlossaryDocument property: gets the glossary document.
- CellCollection.Insert(string, InsertLocation) method: inserts a cell into this collection.
- RowCollection.Insert(string[], InsertLocation) method: inserts a row into this collection.
- BodyType.BuildingBlock property: gets the body of a building block.
- Settings.AttachedXmlSchemas property: gets the list of custom XML schemas whose target namespace should be associated with this document when it is loaded.
- GcWordDocument.CustomXmlParts property: gets the collection of CustomXmlPart objects.
- ContentControlType enum: specifies the type of a content control.
- ContentControlLevel enum: specifies the layout level of a content control.
- ContentControlAppearance enum: specifies the appearance of a content control.
- CalendarType enum: specifies the calendar type.
- DateStorageFormat enum: specifies the date translation which shall be applied to a date content control.
- WebExtensionRelationship enum: specifies a relationship between a content control and an Office Web Extension.
- ContentControl class: represents a content control.
- ContentControlCollection class: represents a collection of ContentControl items.
- ControlContent: provides access to the content of a ContentControl.
- ContentControlEndMark class: represents the set of properties applied to the mark present to delimit the end of the control contents.
- CheckBoxSymbol class: specifies a symbol to be used for a checkbox state.
- DropDownItem class: specifies a single list item within the content control.
- DropDownItemCollection class: represents a list of DropDownItem objects.
- XmlMapping class: specifies the information which shall be used to establish a mapping between a content control and an XML node stored within a Custom XML Data part in the document.
- RangeBase.ContentControls property: gets the collection of content controls included in this range.
- Range.ParentContentControl property: gets the parent content control where the range content is stored.
- ImageData.ContentType property: the image content type.