GroupDocs.Assembly Overview

A Java library designed for automated document creation and seamless data integration.

Illustration assembly

Merge Business Data into Templates with Java

Easily create professional reports by embedding data from JSON, XML, or other sources into pre-designed templates using GroupDocs.Assembly for Java.

Work with Embedded Objects

Automatically populate elements like tables, charts, and diagrams in documents using data from external sources.

Advanced Customization

GroupDocs.Assembly for Java offers flexible features like generating barcodes, pulling online data through URLs, and exporting output in different formats.

Platform independence

GroupDocs.Assembly for Java works seamlessly with popular operating systems, development frameworks, and package managers.

Amazon
Docker
Azure
Eclipse
IntelliJ
Windows
Linux
Maven

Supported file formats

GroupDocs.Assembly for Java supports a wide range of document formats.

Microsoft Office formats

  • Word: DOCX, DOC, DOCM, DOT, DOTX, DOTM, RTF, WordprocessingML
  • Excel: XLSX, XLS, XLSM, XLSB, XLTM, XLT, XLTM, XLTX, SpreadsheetML
  • PowerPoint: PPT, PPTX, PPTM, PPS, PPSX, PPSM, POTM, POTX

Images & Other Formats

  • Portable: PDF
  • Images: SVG, TIFF
  • Other office formats: ODT, OTT, OTS, ODS, ODP, OTP

Other formats

  • Web: HTML, MHTML
  • Emails: EML, MSG, EMLX
  • Other: EPUB, MD

Key Capabilities of GroupDocs.Assembly

Create professional documents and reports with advanced data handling.

Feature icon

Visual Data Elements

Add and format elements like charts, tables, images, and lists directly in your documents.

Feature icon

Data Transformation

Use formulas, sorting, and other tools to organize and present your data effectively.

Feature icon

Support for Multiple Formats

Easily work with common file types for both templates and output files.

Feature icon

Enhanced Template Formatting

Customize templates with numeric, alphabetic, and other advanced formatting options.

Feature icon

Dynamic Barcode Generation

Quickly create and insert barcode images into documents as needed.

Feature icon

Flexible Text Styling

Apply text transformations like uppercase, lowercase, title case, or other styles in templates.

Feature icon

Import External Content

Embed content from external files dynamically while generating documents.

Feature icon

Export in Multiple Formats

Save final documents in various file formats using specified extensions or configurations.

Feature icon

Dynamic Media Embedding

Insert images or other content using Base64-encoded data during document creation.

Code samples

Explore sample code for common tasks with GroupDocs.Assembly.

Create a Bulleted List in Word

Learn how to add bulleted lists to Word documents for organized data representation. This example shows how to generate a list in Word using GroupDocs.Assembly.

Create a Bulleted List in Word

// Insert this template on a document page:
// Managers' performance indicators
// . <<foreach [in products]>><<[ProductName]>>
// <</foreach>>

// Specify the template path
String template = "Bulleted List Template.docx";

// Set the output file path
String result = "Result Report.docx"

// Retrieve managers' data from a JSON source
JsonDataSource dataSource = new JsonDataSource("Report data.json");
DataSourceInfo data = new DataSourceInfo(dataSource, "managers")

// Generate the report with the filled data
DocumentAssembler assembler = new DocumentAssembler();
assembler.assembleDocument(template, result, data);

Create Pie Charts in PPTX

Use templates and XML to add pie charts to your presentations. Make your reports more engaging by including pie charts to visualize data.

Create Pie Charts in PPTX

// Add the chart title template to the presentation:
// Customers' revenue <<foreach [in customers]>> 
// <<x [CustomerName]>>

// Also include the chart data template:
// Total Order Price<<foreach [in customers]>> 
// <<x [CustomerName]>>

// Specify the chart template path
String template = "Pie Chart Template.pptx";

// Set the output file path
String result = "Result Report.pptx"

// Retrieve customers' data from an XML source
JsonDataSource dataSource = new JsonDataSource("Chart data.xml");
DataSourceInfo data = new DataSourceInfo(dataSource, "customers")

// Generate the chart and save the result
DocumentAssembler assembler = new DocumentAssembler();
assembler.assembleDocument(template, result, data);

Ready to get started?

Download GroupDocs.Assembly for free or get a trial license for full access!

Useful resources

Explore documentation, code samples, and community support to enhance your experience.

Temporary license tips

1
Sign up with your work email.
Free mail services are not allowed.
2
Use Get a temporary license button on the second step.
 English