Page 1 of 1

Create and export report from code

Posted: Mon Apr 20, 2020 2:07 pm
by alenlion
hi
I have a project in spring boot, I select data from database with hibernate and bind it to java class, I have .mrt file and I want to create a report bind data and export to pdf
without preview.
thanks.

Re: Create and export report from code

Posted: Tue Apr 21, 2020 12:45 am
by HighAley
Hello,

It's possible to export the report without the preview.

Please, look at this sample
https://www.stimulsoft.com/en/samples/j ... -from-code

Thank you.

Re: Create and export report from code

Posted: Tue Apr 21, 2020 2:12 am
by alenlion
I see that example but at this code you load data from XML file but I want to fill data from java collection

Re: Create and export report from code

Posted: Wed Apr 22, 2020 7:09 am
by Vadim
Hello.

Here is sample loading data with class database https://www.stimulsoft.com/en/samples/j ... in-runtime