|PDF emitter page overflow configuration [message #1015747]
||Sat, 02 March 2013 03:48
| John 555
Registered: September 2012
I noticed that when I export a report as a PDF from the BIRT web viewer, the page overflow behavior is different than what happens when I run it programmatically through the report engine API. Exporting from the web viewer allows dynamic page breaks within statically sized grids, while running the report programmatically does not.
I have attached an example report. If I open this report in the report designer and click View Report as PDF, the resulting report is only 1 page long. The PDF emitter appears to use the CLIP_CONTENT option from the IPDFRenderOption class. However, if I click View Report in Web Viewer, and in the web viewer use the Export Report button to export a PDF, 53 pages are produced.
What I need to know is how to get the PDF emitter to allow page breaks as it does in the web emitter through the report engine API. I tried the following code to set an option in my PDFRenderOption, but it didn't change the behavior.
renderOption.setOption(IPDFRenderOption.PAGE_OVERFLOW, IPDFRenderOption. OUTPUT_TO_MULTIPLE_PAGES);
Does anyone know how to get this to work?
[Updated on: Mon, 04 March 2013 14:20]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.05478 seconds