GroupDocs.Assembly for .NET 20.12 Release Notes

Major Features

Provided options to control JSON simple values’ recognition and supported working with the XLT Spreadsheet document format.

Full List of Features Covering all Changes in this Release

ASSEMBLYNET-174Provide a mode where types of JSON simple values are determined from JSON notation itselfFeature
ASSEMBLYNET-175Provide a way to parse date-time values using an exact format for JsonDataSourceFeature
ASSEMBLYNET-177Support working with XLT formatFeature

Public API and Backward Incompatible Changes 

Provided Options to Control JSON Simple Values’ Recognition

A detailed description of this feature can be found in the “Working with JSON Data Sources” section.

Supported Working with the XLT Spreadsheet Document Format

Starting from the 20.12 version, GroupDocs.Assembly provides abilities for loading of template XLT Spreadsheet documents and saving of assembled Spreadsheet documents to the XLT format.

New members of FileFormat

/// <summary>
/// Specifies the Microsoft Excel 97 - 2007 Binary Template format.
/// </summary>

UC1: Loading of an XLT template for Spreadsheet document assembly

DocumentAssembler assembler = new DocumentAssembler();
assembler.AssembleDocument("template.xlt", "result.xlsx", ...);

UC2: Saving an assembled Spreadsheet document to the XLT format using file extension

DocumentAssembler assembler = new DocumentAssembler();
assembler.AssembleDocument("template.xlsx", "result.xlt", ...);

UC3: Saving an assembled Spreadsheet document to the XLT format using explicit specifying

Stream sourceStream = ...;
Stream targetStream = ...;

DocumentAssembler assembler = new DocumentAssembler();
assembler.AssembleDocument(sourceStream, targetStream, new LoadSaveOptions(FileFormat.Xlt), ...);