GroupDocs.Assembly
22.12.0
dotnet add package GroupDocs.Assembly --version 22.12.0
NuGet\Install-Package GroupDocs.Assembly -Version 22.12.0
<PackageReference Include="GroupDocs.Assembly" Version="22.12.0" />
paket add GroupDocs.Assembly --version 22.12.0
#r "nuget: GroupDocs.Assembly, 22.12.0"
// Install GroupDocs.Assembly as a Cake Addin
#addin nuget:?package=GroupDocs.Assembly&version=22.12.0
// Install GroupDocs.Assembly as a Cake Tool
#tool nuget:?package=GroupDocs.Assembly&version=22.12.0
.NET API for Document Assembly
Product Page | Docs | Demo | API Reference | Examples | Blog | Search | Free Support | Temporary License
An on-premise API to generate documents of various formats based on user-defined templates as well as from other data sources, such as XML, OData, JSON, etc.
Document Assembly Processing Features
- Support for multiple data formats.
- Perform sequential data operations.
- Supports upper, lower, capital, first-cap formatting to template syntax strings.
- Apply ordinal, cardinal, alphabetic, numeric formatting in template syntax.
- Use custom variables in the template documents.
- Support for text comments within template syntax tags.
- Dynamically insert document content & hyperlinks in reports.
- Apply attributes to the email message body.
- Dynamically apply email attachments.
- Generate barcode in reports.
- Dynamically set background color of HTML documents.
- Supports formatting of numeric, text, image, date-time, chart elements in the template.
- Apply conditional formatting on template text elements.
- Linq-based template syntax.
- Use explicit specifications or file extensions to change the format of the assembled files.
- Supports the next field analog of Microsoft Word.
- Update fields during word processing document assembly.
- Support for applying formula during spreadsheet file assembly.
- Automatically remove empty paragraphs.
- Generate various report types, such as charts, lists, tables, etc.
- Instead of exception throwing, support for inline template syntax errors in generated docs.
- Load template documents from HTML with resources.
- Save assembled documents to HTML with resources.
Read & Write Microsoft Office Formats
Microsoft Word: DOC, DOT, DOCX, DOCM, DOTX, DOTM, RTF
Microsoft Excel: XLSX, XLSM, XLTX, XLTM, XLSB, XLS, XLT
Microsoft PowerPoint: PPTX, PPTM, PPSX, PPSM, POTX, POTM, PPT, PPS
Read & Write Other Formats
OpenOffice: ODS, ODT, OTT, OTP, ODP, OXPS
Email: EML, MSG, EMLX
Fixed Layout: PDF, XPS
Markup: HTML, MHTML, XML, XAML
Images: TIFF, SVG
eBook: EPUB
PostScript: PS
Printer Control: PCL
Markdown: MD
Text: TXT
Please visit the Supported Document Formats for details.
Platform Independence
GroupDocs.Assembly for .Net can be used to build applications for Windows, Mac OS X x64 as well as Linux x64. Developers may also code in PHP, VBScript, Delphi & C++ programming languages while using GroupDocs.Assembly for .Net via COM Interop.
Get Started
Are you ready to give GroupDocs.Assembly for .NET a try? Simply execute Install-Package GroupDocs.Assembly
from Package Manager Console in Visual Studio to fetch & reference GroupDocs.Assembly, assembly in your project. If you already have GroupDocs.Assembly for .Net and want to upgrade it, please execute Update-Package GroupDocs.Assembly
to get the latest version.
Please check the GitHub Repository for other common usage scenarios.
Generate a DOCX File from Markdown (MD) template via C# Code
//Setting up source document template
const String strDocumentTemplate = "Markdown Templates/ReadMe.md";
//Setting up destination Markdown reports
const String strDocumentReport = "Word Reports/ReadMe Out.docx";
//Setting up description variable
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();
//Assemble Document
assembler.AssembleDocument(
CommonUtilities.GetSourceDocument(strDocumentTemplate),
CommonUtilities.SetDestinationDocument(strDocumentReport),
new DataSourceInfo("GroupDocs.Assembly for .NET", "product"),
new DataSourceInfo(description, "description"));
}
Use Spreadsheet as a Data Source to Assemble a Document
string strDocumentTemplate = "Word Templates/Using Spreadsheet as Table of Data.docx";
string strDocumentReport = "Word Reports/Using Spreadsheet as Table of Data_Output.docx";
// Assemble a document using the external document table as a data source.
DocumentAssembler assembler = new DocumentAssembler();
assembler.AssembleDocument(CommonUtilities.GetSourceDocument(strDocumentTemplate),
CommonUtilities.SetDestinationDocument(strDocumentReport),
new DataSourceInfo(DataLayer.ExcelData(), "contracts"));
Product Page | Docs | Demo | API Reference | Examples | Blog | Search | Free Support | Temporary License
Product | Versions |
---|---|
.NET | net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows net7.0 net7.0-android net7.0-ios net7.0-maccatalyst net7.0-macos net7.0-tvos net7.0-windows |
.NET Core | netcoreapp2.0 netcoreapp2.1 netcoreapp2.2 netcoreapp3.0 netcoreapp3.1 |
.NET Standard | netstandard2.0 netstandard2.1 |
.NET Framework | net20 net35 net35-client net40 net40-client net403 net45 net451 net452 net46 net461 net462 net463 net47 net471 net472 net48 net481 |
MonoAndroid | monoandroid |
MonoMac | monomac |
MonoTouch | monotouch |
Tizen | tizen40 tizen60 |
Xamarin.iOS | xamarinios |
Xamarin.Mac | xamarinmac |
Xamarin.TVOS | xamarintvos |
Xamarin.WatchOS | xamarinwatchos |
-
.NETFramework 2.0
- No dependencies.
-
.NETFramework 3.5 Client
- No dependencies.
-
.NETFramework 4.0 Client
- No dependencies.
-
.NETStandard 2.0
- Microsoft.Win32.Registry (>= 4.7.0)
- SkiaSharp (>= 2.80.1)
- System.Drawing.Common (>= 4.7.0)
- System.Reflection.Emit (>= 4.3.0)
- System.Reflection.Emit.ILGeneration (>= 4.3.0)
- System.Security.Cryptography.Pkcs (>= 4.7.0)
- System.Text.Encoding.CodePages (>= 4.7.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
22.12.0 | 1,621 | 12/22/2022 |
22.2.0 | 13,429 | 3/5/2022 |
21.9.0 | 11,526 | 9/3/2021 |
21.7.0 | 13,015 | 7/9/2021 |
21.4.0 | 6,055 | 4/30/2021 |
21.3.0 | 7,686 | 3/19/2021 |
21.1.0 | 5,544 | 1/31/2021 |
20.12.0 | 4,371 | 12/28/2020 |
20.11.0 | 3,219 | 11/26/2020 |
20.9.0 | 7,751 | 9/30/2020 |
20.8.0 | 3,149 | 8/25/2020 |
20.6.0 | 11,999 | 6/22/2020 |
20.4.0 | 7,882 | 4/23/2020 |
20.3.0 | 5,526 | 3/17/2020 |
20.1.0 | 5,651 | 1/31/2020 |
19.12.0 | 2,741 | 12/21/2019 |
19.11.0 | 2,349 | 11/18/2019 |
19.10.0 | 639 | 10/12/2019 |
19.8.0 | 659 | 8/24/2019 |
19.7.0 | 642 | 7/16/2019 |
19.5.0 | 672 | 5/27/2019 |
19.3.0 | 836 | 3/8/2019 |
19.1.0 | 882 | 1/29/2019 |
18.12.0 | 835 | 12/6/2018 |
18.10.0 | 825 | 10/31/2018 |
18.9.0 | 929 | 9/11/2018 |
18.7.0 | 1,042 | 7/31/2018 |
18.6.0 | 1,040 | 7/2/2018 |
18.5.0 | 1,081 | 6/1/2018 |
18.2.0 | 1,104 | 3/1/2018 |
18.1.0 | 1,099 | 1/25/2018 |
17.12.0 | 1,087 | 12/26/2017 |
17.11.0 | 1,082 | 11/3/2017 |
17.9.0 | 1,055 | 10/2/2017 |
17.8.0 | 1,120 | 8/12/2017 |
17.5.0 | 1,115 | 5/18/2017 |
17.3.0 | 1,052 | 4/2/2017 |
17.1.0 | 1,082 | 2/2/2017 |
16.12.0 | 1,115 | 12/31/2016 |
3.3.0 | 1,084 | 9/30/2016 |
3.2.0 | 1,164 | 8/29/2016 |
3.1.0 | 1,178 | 7/1/2016 |
3.0.0 | 1,398 | 2/6/2016 |