MCPcopy Index your code
hub / github.com/dynamicreports/dynamicreports

github.com/dynamicreports/dynamicreports @6.20.1

Chat with this repo
repository ↗ · DeepWiki ↗ · release 6.20.1 ↗ · + Follow
12,195 symbols 43,516 edges 1,526 files 9,661 documented · 79%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Master

Build Status codecov

Development

Build Status codecov

Dynamic Reports

DynamicReports is an open source Java reporting library based on JasperReports. It allows to create dynamic report designs and it doesn't need a visual report designer. You can very quickly create reports and produce documents that can be displayed, printed or exported into many popular formats such as PDF, Excel, Word and others.

The original source code was first hosted on sourceforge and interactions were carried out through [dynamicreports.org]. After using this project and libraries, we the maintainers felt compelled to support the development for it has been a great tool. However the source code has not been easily accessible and the original hosting website on which this project was first created is no longer responsive and we do not want to see a great project go down and disappear like that.

Project Goals

This project aims to maintain the original source code of the same using familiar tools, like maven in a way that is accessible to allow contributions. It is based on version 5.1.0 of dynamic reports and Jasper Reports version 6.5.1. We are not trying to rewrite the whole thing, but rather to enhance that which is a already a great work.

These are the main goals of the project - Make the source code easily accessible and assessable - Enhance the build tools. Not to replace maven, but to make it possible to rebuild the project and all artifacts from a local machine - Upgrade dependencies. The project works, but could still have more features, one was to include latest open source tools available - In order to support the former, we need to first increase out test coverage to make sure nothing breaks - Create a wiki with comprehensive explanations and illustrations on the usage of the library - Enhance the documentation in the source code that would make the user clear on what the library is trying to do

Documentation

DynamicReprots documentation available at Readthedocs

Project API documentation - Core API documentaion, https://dynamicreports.github.io/apidocs/dr/core/ - AdHoc reports API documentation, https://dynamicreports.github.io/apidocs/dr/adhoc/ - GoogleCharts integration API documentation, https://dynamicreports.github.io/apidocs/dr/googlecharts/ - Examples API documentation, https://dynamicreports.github.io/apidocs/dr/examples/

Project Dependencies

A few tools merit to be mentioned: - Java version 8 - Versioning : git - Build Tool : maven - CI : Travis (yet to fully setup) - Code style: google. Enforced by checkstyle. (Setting that up too) - Documentation Hosting: readthedocs.org

Usage or Build

DynamicReports is synchronized with a Maven central repository. For Maven projects you just add dependency to your maven configuration. In case you would like to use a development version, add a Sonatype Nexus snapshot repository to your maven configuration.

Maven

Core module

<dependency>
    <groupId>net.sourceforge.dynamicreports</groupId>
    <artifactId>dynamicreports-core</artifactId>
    <version>6.12.0</version>
</dependency>

AdHoc module

<dependency>
    <groupId>net.sourceforge.dynamicreports</groupId>
    <artifactId>dynamicreports-adhoc</artifactId>
    <version>6.12.0</version>
</dependency>

Google Chart addon module

<dependency>
    <groupId>net.sourceforge.dynamicreports</groupId>
    <artifactId>dynamicreports-googlecharts</artifactId>
    <version>6.12.0</version>
</dependency>

For non Maven projects you can to download jar file from maven repository

Build from source

Check release page to download source release files.

Unzip the souces, execute mvnw clean install from project root directory. This compile project sources and create project jar files.

Contributing

See CONTRIBUTING

Raising Issues or bug reports

Before submitting a bug report see this checklist and be sure to follow this approach with as many details as possible. and fill out the issue template

Rules for Mergeable PRs

This is a young project and we would like it to continue to grow, and because of that, kindly be gentle and understanding when it seems like the maintainers are just making stuff up as they go: - The travis build must run successfully. - The PR must have test cases and must not reduce the code coverage (That needs to be setup) - The PR adheres to the template provided - Watch this space :)

Extension points exported contracts — how you extend this code

JasperIPptxExporter (Interface)
JasperIPptxExporter interface. @author Ricardo Mariaca [8 implementers]
dynamicreports-core/src/main/java/net/sf/dynamicreports/jasper/definition/export/JasperIPptxExporter.java
GeoMapDataset (Interface)
GeoMapDataset interface. @author Ricardo Mariaca [6 implementers]
dynamicreports-googlecharts/src/main/java/net/sf/dynamicreports/googlecharts/jasper/geomap/GeoMapDataset.java
AdhocReportCustomizer (Interface)
AdhocReportCustomizer interface. Enables runtime-provided report configurations to be added to the library, w [26 implementers]
dynamicreports-adhoc/src/main/java/net/sf/dynamicreports/adhoc/report/AdhocReportCustomizer.java
ChartGenerator (Interface)
ChartGenerator interface. @author Ricardo Mariaca [2 implementers]
dynamicreports-examples/src/main/java/net/sf/dynamicreports/examples/genericelement/openflashchart/ChartGenerator.java
JasperIRtfExporter (Interface)
JasperIRtfExporter interface. @author Ricardo Mariaca [8 implementers]
dynamicreports-core/src/main/java/net/sf/dynamicreports/jasper/definition/export/JasperIRtfExporter.java
DRIGeoMap (Interface)
DRIGeoMap interface. @author Ricardo Mariaca [4 implementers]
dynamicreports-googlecharts/src/main/java/net/sf/dynamicreports/googlecharts/report/geomap/DRIGeoMap.java
IXmlToAdhocTransform (Interface)
(no doc) [31 implementers]
dynamicreports-adhoc/src/main/java/net/sf/dynamicreports/adhoc/transformation/IXmlToAdhocTransform.java
DRIDesignChartTitle (Interface)
DRIDesignChartTitle interface. @author Ricardo Mariaca [12 implementers]
dynamicreports-core/src/main/java/net/sf/dynamicreports/design/definition/chart/DRIDesignChartTitle.java

Core symbols most depended-on inside this repo

add
called by 1615
dynamicreports-core/src/main/java/net/sf/dynamicreports/report/datasource/DRDataSource.java
getObject
called by 1214
dynamicreports-core/src/main/java/net/sf/dynamicreports/report/builder/AbstractBuilder.java
column
called by 944
dynamicreports-core/src/main/java/net/sf/dynamicreports/report/builder/column/Columns.java
text
called by 490
dynamicreports-core/src/main/java/net/sf/dynamicreports/report/builder/subtotal/Subtotals.java
get
called by 480
dynamicreports-core/src/main/java/net/sf/dynamicreports/jasper/base/reporthandler/JasperPrintListFileHandler.java
build
called by 358
dynamicreports-core/src/main/java/net/sf/dynamicreports/report/builder/style/ReportStyleBuilder.java
columns
called by 324
dynamicreports-core/src/main/java/net/sf/dynamicreports/report/builder/ReportBuilder.java
style
called by 289
dynamicreports-core/src/main/java/net/sf/dynamicreports/report/builder/style/Styles.java

Shape

Method 10,481
Class 1,343
Interface 284
Enum 87

Languages

Java100%

Modules by API surface

dynamicreports-core/src/main/java/net/sf/dynamicreports/report/base/DRReportTemplate.java259 symbols
dynamicreports-core/src/main/java/net/sf/dynamicreports/design/transformation/TemplateTransform.java208 symbols
dynamicreports-core/src/main/java/net/sf/dynamicreports/report/builder/ReportBuilder.java188 symbols
dynamicreports-core/src/main/java/net/sf/dynamicreports/report/defaults/Default.java175 symbols
dynamicreports-core/src/main/java/net/sf/dynamicreports/report/builder/ReportTemplateBuilder.java142 symbols
dynamicreports-core/src/main/java/net/sf/dynamicreports/report/base/DRReport.java129 symbols
dynamicreports-core/src/main/java/net/sf/dynamicreports/report/definition/DRIReportTemplate.java128 symbols
dynamicreports-core/src/main/java/net/sf/dynamicreports/jasper/base/export/AbstractJasperExcelExporter.java81 symbols
dynamicreports-core/src/main/java/net/sf/dynamicreports/design/base/DRDesignReport.java68 symbols
dynamicreports-core/src/main/java/net/sf/dynamicreports/report/definition/DRIReport.java64 symbols
dynamicreports-adhoc/src/main/java/net/sf/dynamicreports/adhoc/report/DefaultAdhocReportCustomizer.java60 symbols
dynamicreports-core/src/main/java/net/sf/dynamicreports/jasper/transformation/ConstantTransform.java59 symbols

For agents

$ claude mcp add dynamicreports \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact