Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
// Set text for description field
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.";
// Create document assembler
DocumentAssembler assembler = new DocumentAssembler();
// Generate report
assembler.AssembleDocument(
"ReadMe.docx",
"ReadMe_Out.md",
new DataSourceInfo("GroupDocs.Assembly for .NET", "product"),
new DataSourceInfo(description, "description"));
// Set text for description field
final String description =
"GroupDocs.Assembly for Java 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 Java types, external documents, and more.";
// Create document assembler
DocumentAssembler assembler = new DocumentAssembler();
// Generate report
assembler.assembleDocument(
"ReadMe.docx",
"ReadMe_Out.md",
new DataSourceInfo("GroupDocs.Assembly for Java", "product"),
new DataSourceInfo(description, "description"));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.