Last active
September 4, 2019 10:16
-
-
Save usman-aziz/70acd9812c5dbdb4b9259fcc9493763c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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")); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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