-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2 from xdev-software/develop
1.0.0
- Loading branch information
Showing
930 changed files
with
117,563 additions
and
237 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# 1.0.0 | ||
|
||
Initial release of the fork | ||
|
||
## Differences to [dynamicreports/dynamicreports-core](https://github.com/dynamicreports/dynamicreports/tree/f7d73961462f3f13cbc27c91df90d4cc3ccc669e/dynamicreports-core) | ||
* Renamed ``net.sf.dynamicreports`` to ``software.xdev.dynamicreports`` to prevent conflicts with existing installations | ||
* Dependency shedding | ||
* Removed [``Defaults``](./src/main/java/software/xdev/dynamicreports/report/defaults/Defaults.java)-XML subsystem; can be supplied manually to the builder or using [Java Service Loading](https://docs.oracle.com/javase/8/docs/api/java/util/ServiceLoader.html) | ||
* ``jakarta.xml.bind:jakarta.xml.bind-api`` | ||
* ``org.glassfish.jaxb:jaxb-runtime`` | ||
* Removed barcode subsystem | ||
* ``net.sf.barcode4j:barcode4j`` | ||
* ``com.google.zxing:core`` | ||
* ``net.sourceforge.barbecue:barbecue`` | ||
* Removed charts subsystem | ||
* Removed boolean to image subsystem | ||
* ``org.apache.xmlgraphics:batik-bridge`` | ||
* Dropped support for ``XLS`` as the required dependency was never shipped | ||
* ``XLSX`` still works as expected | ||
* Removed ``org.apache.commons:commons-text`` as it was only used on a single unused line of code | ||
* Removed XML subsystem as XML exports were never producing valid XML | ||
* Removed half-way implemented Image subsystem as it is unused | ||
* Updated dependencies to lastest versions | ||
* Fixed compile errors |
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
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
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
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
32 changes: 32 additions & 0 deletions
32
dynamicreports-core-for-grid-exporter-demo/src/main/java/software/xdev/Application.java
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
package software.xdev; | ||
|
||
import java.util.stream.Stream; | ||
|
||
import software.xdev.dynamicreports.jasper.builder.export.Exporters; | ||
import software.xdev.dynamicreports.report.builder.DynamicReports; | ||
import software.xdev.dynamicreports.report.builder.column.ColumnBuilders; | ||
import software.xdev.dynamicreports.report.exception.DRException; | ||
|
||
|
||
public class Application | ||
{ | ||
@SuppressWarnings("java:S106") // Just a simple demo | ||
public static void main(final String[] args) throws DRException | ||
{ | ||
DynamicReports.report() | ||
.setDataSource(Stream.of("a", "b", "c") | ||
.map(DummyDTO::new) | ||
.toList()) | ||
.columns(new ColumnBuilders() | ||
.column("value", String.class)) | ||
.export(Exporters.csvExporter(System.out)); | ||
} | ||
|
||
public record DummyDTO(String value) | ||
{ | ||
public String getValue() | ||
{ | ||
return this.value(); | ||
} | ||
} | ||
} |
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
Oops, something went wrong.