GrapeCity Documents for Word 4.0.0.616

Adds the ability to create data templates along with support for .NET 5.0.
December 11, 2020
New Version

Features

  • 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

Generate, load, edit and save Word documents without dependency on Microsoft Word.

Got a Question?

Live Chat with our MESCIUS (formerly GrapeCity) licensing specialists now.