GrapeCity Documents for Word 4.0.0.616

添加创建数据模板以及支持 .NET 5.0 的功能。
12月 11, 2020
新版本

特性

  • Added support for Microsoft .NET 5.0.
  • Introduced data templates feature which provides a flexible mechanism for creating data-bound documents. Template tags are added to the document, and processed using the GcWordDocument.DataTemplate property.
  • Added GrapeCity.Documents.Word.Templates.DataTemplate class which provides properties and methods that are used to associate a GcWordDocument with template data sources, and to process data templates.
  • Added DataTemplate.DataSources property which gets the collection of data sources associated with the current document's data templates. However, only one data source is supported in this version.
  • Added DataTemplate.Process() method which processes templates in the document, iterating over root items in DataSources, and replacing template tags in the document with data.
  • Added DataTemplate.BatchProcess() method which iterates over root items in DataSources, starting with a fresh copy of the document and processing templates separately for each root data item.
  • Added GcWordDocument.DataTemplate property which gets the DataTemplate object that provides properties and methods used to manage template data sources and process data templates.
Data templates

Document Solutions for Word

生成、加载、编辑和保存 Word 文档。

有任何疑问吗?

透过Live Chat与我们的MESCIUS (formerly GrapeCity) 专家联络!