Re: Exporting landscape report to pdf
Data Dynamics Reports Support
Exporting landscape report to pdf
06-24-2009, 9:25 AM
I have a report in landscape orientation. The report displays correctly in the report viewer. However, when exported to PDF format, the PDF report contains 102 pages instead of 1.
Report is attached for your reference.
Re: Exporting landscape report to pdf
06-24-2009, 1:41 PM
Hello,
I have tested this issue at my end using the latest build 1.6.1296.0 by creating a single page report and then exporting it to pdf format and I was not able to replicate it.
If possible can you please provide us a small running sample application/report along with the data that your report is using so that we can look into the scenario.
Regards,
Sandeep
Re: Exporting landscape report to pdf
07-02-2009, 1:54 AM
Unfortunately I have been unable to reproduce this issue as well. Does the issue consistently occur with every PDF export or does it only occur intermittently or when the report is bound to specific datasets?
Not that this is related to your issue, but I have noticed heavy usage of parameters to define styles, fonts, colors on various report items. Have you considered using Themes or using the API available via the ReportDefinition class to modify the properties of the report items at runtime?
Additionally, I have tested this using very basic sample data with your report. Are you willing to serialize a DataSet which consistently reproduces this issue so I can load up the exact report that you have and attempt rendering to PDF to see if I observe similar results?
Thanks,
Jon
Re: Exporting landscape report to pdf
07-03-2009, 7:29 AM
Hi Jon - Thanks for looking into this. Attached is an XML file that contains real data to test with. I will look into the themes and api. Do you think this would improve performance (in terms of speed) when rendering reports?
Re: Exporting landscape report to pdf
07-07-2009, 5:46 AM
Thanks for providing the real data for testing this issue.
I have tested it at my end and could not replicate it. The pages in the reportPreview exactly match with the one in the exported PDF document.
You said that a 1 page report is getting exported to 102 pages. What data is in rest of the pages? Are they blank or is the data getting repeated on every page?
Which version of DataDynamics Reports are you using? You may download the latest build (1.6.1280.0) from here:
https://grapecity.sharefile.com/d-sd8f5314e0994ffb8
Regarding the usage of themes, it might not improve performance however it will definitely make the designing easier.
Regards,
Amit
Amit Pal
GrapeCity- DataDynamics