GroupDocs.Assembly for .NET 19.8 Release Notes
This page contains release notes for GroupDocs.Assembly for .NET 19.8
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
Key | Summary | Category |
---|---|---|
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 |
This section lists public API changes that were introduced in GroupDocs.Assembly for .NET 19.8. It includes not only new and obsoleted public methods, but also a description of any changes in the behavior behind the scenes in GroupDocs.Assembly which may affect existing code. Any behavior introduced that could be seen as a regression and modifies existing behavior is especially important and is documented here.
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.
For a moment the following Markdown features are supported:HeadingsBlock quotesHorizontal rulesBold emphasisItalic emphasisThe set of supported Markdown features will be extended in future releases of GroupDocs.Assembly.
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);
The following attached sample templates were used:ReadMe.mdReadMe.docx