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) 專家即時聊天詢問。