Search found 12 matches
- Thu Sep 15, 2022 9:36 am
- Forum: Stimulsoft Reports.JAVA
- Topic: Merge multiple reports into one
- Replies: 11
- Views: 4925
Re: Merge multiple reports into one
Nevermind, I found out, thanks to your reply in this topic : viewtopic.php?p=62829#p62829
- Thu Sep 15, 2022 8:44 am
- Forum: Stimulsoft Reports.JAVA
- Topic: Merge multiple reports into one
- Replies: 11
- Views: 4925
Re: Merge multiple reports into one
Hi, it's me again
I now have to do pagination on the whole document (the merged one).
For now, it shows pages like this: 1/1, 1/1, 1/2, 2/2, 1/4, 2/4, ...
I'd like to have the right values. For example: 1/15, 2/15, 3/15, ...
Do you have an idea ?
I now have to do pagination on the whole document (the merged one).
For now, it shows pages like this: 1/1, 1/1, 1/2, 2/2, 1/4, 2/4, ...
I'd like to have the right values. For example: 1/15, 2/15, 3/15, ...
Do you have an idea ?
- Fri Aug 05, 2022 12:50 pm
- Forum: Stimulsoft Reports.JAVA
- Topic: Merge multiple reports into one
- Replies: 11
- Views: 4925
Re: Merge multiple reports into one
So, My solution is: StiReport reportCombine = StiReport.newInstance(); reportCombine.setReportUnit(StiReportUnitType.Centimeters); reportCombine.getRenderedPages().clear(); for (/* for each sub report data */) { StiReport simpleReleve = StiSerializeManager.deserializeReport( Objects.requireNonNull(t...
- Fri Aug 05, 2022 12:22 pm
- Forum: Stimulsoft Reports.JAVA
- Topic: Merge multiple reports into one
- Replies: 11
- Views: 4925
Re: Merge multiple reports into one
It seems like I get my simpleReports without any components.
- Fri Aug 05, 2022 8:54 am
- Forum: Stimulsoft Reports.JAVA
- Topic: Merge multiple reports into one
- Replies: 11
- Views: 4925
Re: Merge multiple reports into one
Hi,
Thanks for your reply. The rendering does not crash anymore. Now I have to find out why I get a single blank page
Thanks for your reply. The rendering does not crash anymore. Now I have to find out why I get a single blank page
- Thu Aug 04, 2022 2:54 pm
- Forum: Stimulsoft Reports.JAVA
- Topic: Master component in Java code
- Replies: 3
- Views: 10041
Master component in Java code
Hello, I have to do a report that contains something like a nested data band: a report of multiple details, each details containing other datas. I had the idea of making a data band containg a panel with an other data band it the panel. My problem is to give the report all the data it needs, from Ja...
- Thu Aug 04, 2022 8:38 am
- Forum: Stimulsoft Reports.JAVA
- Topic: Merge multiple reports into one
- Replies: 11
- Views: 4925
Re: Merge multiple reports into one
Hi, Thank for your reply. I have this code: StiReport reportCombine = new StiReport(); reportCombine.setReportUnit(StiReportUnitType.Centimeters); reportCombine.render(); reportCombine.getRenderedPages().clear(); for (/* Datas to inject in each subreport */) { StiReport subReport = StiSerializeManag...
- Wed Aug 03, 2022 2:52 pm
- Forum: Stimulsoft Reports.JAVA
- Topic: Merge multiple reports into one
- Replies: 11
- Views: 4925
Merge multiple reports into one
Hi, I'd need to merge multiple reports into one. I found this topic: https://forum.stimulsoft.com/viewtopic.php?t=35102 about merging reports from code in C#. But if I try it in Java, reportPart.getCompiledReport(); returns null. IntelliJ shows me that reportPart.Compile(); does nothing (empty metho...
- Tue Aug 02, 2022 2:28 pm
- Forum: Stimulsoft Reports.JAVA
- Topic: Loading image from code
- Replies: 3
- Views: 1812
Re: Loading image from code
It works, thanks !
- Tue Aug 02, 2022 11:47 am
- Forum: Stimulsoft Reports.JAVA
- Topic: Loading image from code
- Replies: 3
- Views: 1812
Loading image from code
Hi, My objective is to be able to load a logo depending of an external content, only from java code. I have some troubles when I want to load an image (png format) in my report, and export it into PDF. My report has an image named "Image1", and I have this code to load the image file and s...