GroupDocs.Assembly for .NET 19.8 Release Notes

Major Features

Supported saving of assembled Markdown documents to Word Processing formats and saving of assembled Word Processing documents and emails to Markdown.

Full List of Features Covering all Changes in this Release

KeySummaryCategory
ASSEMBLYNET-125 Support saving of assembled Markdown documents to Word Processing formats Feature 
ASSEMBLYNET-126 Support saving of assembled Word Processing documents to Markdown Feature 
ASSEMBLYNET-127 Support saving of assembled emails to Markdown Feature 

Public API and Backward Incompatible Changes 

Since version 19.8, the GroupDocs.Assembly provides abilities for saving of assembled Markdown documents to Word Processing formats and saving of assembled Word Processing documents and emails to Markdown. 

New members of FileFormat

C#

/// <summary>
/// Specifies the Markdown format.
/// </summary>
Markdown

Assembled Markdown Document to Word Processing Format 

Use Case: Saving an assembled Markdown document to a Word Processing format using file extension.

C#

const string description =
    "GroupDocs.Assembly for .NET is a class library that enables you to generate documents in popular " +
    "office and email file formats based upon template documents and data obtained from various sources " +
    "including databases, XML, JSON, OData, objects of custom .NET types, external documents, and more.";

DocumentAssembler assembler = new DocumentAssembler();

assembler.AssembleDocument(
    "ReadMe.md",
    "ReadMe Out.docx",
    new DataSourceInfo("GroupDocs.Assembly for .NET", "product"),
    new DataSourceInfo(description, "description"));

Assembled Word Processing Document or Email to Markdown

Use Case: Saving an assembled Word Processing document or email to Markdown using file extension.

C#

const string description =
    "GroupDocs.Assembly for .NET is a class library that enables you to generate documents in popular " +
    "office and email file formats based upon template documents and data obtained from various sources " +
    "including databases, XML, JSON, OData, objects of custom .NET types, external documents, and more.";

DocumentAssembler assembler = new DocumentAssembler();

assembler.AssembleDocument(
    "ReadMe.docx",
    "ReadMe Out.md",
    new DataSourceInfo("GroupDocs.Assembly for .NET", "product"),
    new DataSourceInfo(description, "description"));

Assembled Word Processing Document or Email to Markdown (Explicit)

Use Case: Saving an assembled Word Processing document or email to Markdown using explicit specifying.

C#

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

DataSourceInfo dataSourceInfo = new DataSourceInfo(...);
DocumentAssembler assembler = new DocumentAssembler();

assembler.AssembleDocument(sourceStream, targetStream, new LoadSaveOptions(FileFormat.Markdown), dataSourceInfo);

© Aspose Pty Ltd 2001-2022. All Rights Reserved.