GcDocs.Word 8.0.0

dotnet add package GcDocs.Word --version 8.0.0                
NuGet\Install-Package GcDocs.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="GcDocs.Word" Version="8.0.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add GcDocs.Word --version 8.0.0                
#r "nuget: GcDocs.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 GcDocs.Word as a Cake Addin
#addin nuget:?package=GcDocs.Word&version=8.0.0

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

GcDocs.Word

GcDocs.Word (GcWord) 是一个快速而强大的 MS Word API 库,提供了一组 API,允许开发人员实现快速高效地处理 MS Word (DOCX) 文档,而无需依赖于 Microsoft Office。

其功能包括:

  • 以编程方式创建、加载、修改、保存或检查 MS Word 文档。
  • 支持 DOCX、DOTM、DOCM 和 DOTX 文件格式的读写操作。
  • 对于 FlatOPC、FlatOpcMacroEnabled、FlatOpcTemplate 和 FlatOpcTemplateEnabled 格式的只读支持。
  • 将文档导出为 PDF 或图像格式,并支持 RTL、竖排和东亚文字。
  • 支持内置和用户定义的字符、段落和表格样式、列表模板和主题。
  • 形状和几何类型预设,主题形状样式。
  • 在文档中添加图像,并指定各种图像格式选项。
  • 强大的查找和替换功能。
  • 使用 Mustache 风格标记创建数据绑定文档的报表(数据)模板。

GcWord 兼容 .NET 7、.NET 6、.NET Core 3.1、.NET Standard 2.x、.NET Framework 4.6.1 或更高版本。

所有功能在 Windows、macOS 和 Linux 上得到完全支持。

相关资源

GcDocs 服务端组件

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 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 (4)

Showing the top 4 NuGet packages that depend on GcDocs.Word:

Package Downloads
GcDocs.Word.Layout

这是一个为 GcDocs.Word(GcWord)提供文档布局服务的跨平台库。 将此库添加到使用 GcWord 的项目中,可以使用 GcWordDocument.SaveAsPdf() 和其他方法将 Word 文档导出为 PDF 和图像格式(TIFF、JPEG、PNG)。 该库不依赖于 MS Office,并与。NET 7、.NET 6、.NET 5、.NET Core 3.x 和 2.x、。NET Standard 2.x、.NET Framework 4.6.1 或更高版本兼容。所有功能在 Windows、macOS 和 Linux 上都得到完全支持。 使用此库从 Word 文档生成 PDF 和图像的在线演示浏览器可在 https://demo.grapecity.com.cn/GcWord/ 上访问。

C1.Win.Document.Cn

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

C1.Win.C1Document.Cn

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

C1.Document.Cn

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

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
8.0.0 75 12/9/2024
7.2.5 112 11/27/2024
7.2.4 113 10/23/2024
7.2.3 124 10/9/2024
7.2.2 129 9/20/2024
7.2.1 152 9/3/2024
7.2.0 221 8/19/2024
7.1.4 138 7/24/2024
7.1.3 146 6/26/2024
7.1.2 154 5/29/2024
7.1.1 189 4/24/2024
7.1.0 144 4/15/2024
7.0.4 168 3/22/2024
7.0.3 178 2/19/2024
7.0.2 176 1/25/2024
7.0.1 204 1/5/2024
7.0.0 214 12/11/2023

# 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)