intive-FDV / DynamicJasper

Dynamic Reports using Jasper Reports
http://intive-fdv.github.io/DynamicJasper/
GNU Lesser General Public License v3.0
244 stars 128 forks source link

orientation lost during DJJRDesignHelper.downCast #79

Closed seboss69 closed 1 year ago

seboss69 commented 5 years ago

Hello, during the DJJRDesignHelper.downCast function, the DynamicJasperDesign returned doesn't copy the orientation.

It causes trouble when you want to print the generated report, it doesn't automatically select the landscape orientation for example.

Here is the example (i can't upload .java and .jrxml you must rename it !)

landscape2.txt

DJOrientationIssue.txt

By adding the instruction

djd.setOrientation(jd.getOrientationValue());

In the downCast function, the problem doesn't appear anymore.

juanalvarezg commented 4 years ago

I need to add this...