PDF emitter page overflow configuration [message #1015747] |
Fri, 01 March 2013 22:48  |
Eclipse User |
|
|
|
Hello,
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 09:20] by Moderator
|
|
|
|
|
|
|
Re: PDF emitter page overflow configuration [message #1736809 is a reply to message #1028063] |
Fri, 01 July 2016 23:16  |
Eclipse User |
|
|
|
How can I mimick the settings in the birt web viewer? Debug Configuration, IPDFRenderOptions..? Is there an xml for the task, Run + Render. What are the default settings. Is that found in the emitter?
[Updated on: Fri, 01 July 2016 23:16] by Moderator
|
|
|
Powered by
FUDForum. Page generated in 0.26235 seconds