Reports

The Reports add-on allows developers and end users to design and generate various reports by formatting data from the Jmix application using templates created in user-friendly office applications or HTML.

The add-on provides the following features:

  • Designing reports using annotated Java classes or at runtime using a comprehensive admin UI and a step-by-step wizard.

  • Generating reports in DOCX, ODT, XLSX, HTML and text formats, and converting report output to PDF.

  • Creating XLSX reports with a complex structure, including multi-level organization, data aggregation, and cross-tab features.

  • Using diagrams and formulas in XLSX reports.

  • Report access rights, REST API, and execution history.

This chapter provides reference information about creating and running reports.

Refer to the Report Generation guide for practical examples that demonstrate report design.

Installation

For automatic installation through Jmix Marketplace, follow instructions in the Add-ons section.

For manual installation, add the following dependencies to your build.gradle:

implementation 'io.jmix.reports:jmix-reports-starter'
implementation 'io.jmix.reports:jmix-reports-flowui-starter'

To access reports through the REST API, add also the following dependencies:

implementation 'io.jmix.reports:jmix-reports-rest-starter'

The Reports add-on uses the LibreOffice package to output reports in PDF and DOC formats. Install LibreOffice to support PDF and DOC output.