Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » BIRT » Any way to set page break at render time?
Any way to set page break at render time? [message #872296] Tue, 15 May 2012 21:10 Go to next message
Jonathan Missing name is currently offline Jonathan Missing nameFriend
Messages: 3
Registered: July 2009
Junior Member
I'm using BIRT 2.5 with the runtime with a custom plugin for XLS that renders charts.
The report contains a crosstab and some charts. The issue is that when the chart is shown, and depending on the configuration, it else shows the charts streched or the crosstab garbled.
To resolve that issue my idea was to use a new sheet for charts.

On the otherside the report is executed first in HTML and then exported to XLS if the user desires so.

The issue arises that I don't want to paginate in HTML but I do want to paginate in XLS.

As the report's RunTask is executed only once and there are two different RenderTasks, I need the page break to be done only on the render time but when I do, I get:
"Page break can't be set at render time"

A solution would be to run again the query but the queries take 10 minutes so it's not an option for the user to wait for it do be done again.

So, is there another way to set the page break according to the report output?

Thanks
Re: Any way to set page break at render time? [message #872720 is a reply to message #872296] Wed, 16 May 2012 17:19 Go to previous messageGo to next message
Jonathan Missing name is currently offline Jonathan Missing nameFriend
Messages: 3
Registered: July 2009
Junior Member
Using the web viewer I see that there are buttons to select which page to show... Is there any request parameter that I can use so it exports to single page?
Re: Any way to set page break at render time? [message #873136 is a reply to message #872720] Thu, 17 May 2012 15:09 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

The issue is that pagination is determined at run time. I would look at
the original issue again. Can you post a screen shot of the garbled chart?

Jason

On 5/16/2012 1:19 PM, Jonathan Mising name wrote:
> Using the web viewer I see that there are buttons to select which page
> to show... Is there any request parameter that I can use so it exports
> to single page?
Re: Any way to set page break at render time? [message #873644 is a reply to message #872296] Fri, 18 May 2012 18:45 Go to previous messageGo to next message
Jonathan Missing name is currently offline Jonathan Missing nameFriend
Messages: 3
Registered: July 2009
Junior Member
Here is a screenshot..
I'm using the native xls plugin for adding the image to xls.
The crosstab contains seconds in an hour so that columns cannot be reduced.


The crosstab is shown this way as it's limited by the page size. So I increased the page size, but that makes the chart stretch also..

If I add the chart in a new page this problem is fixed but I would need to runandrender again..
  • Attachment: Untitled.png
    (Size: 89.11KB, Downloaded 135 times)
Re: Any way to set page break at render time? [message #882035 is a reply to message #873644] Tue, 05 June 2012 17:08 Go to previous message
Denis Volkov is currently offline Denis VolkovFriend
Messages: 1
Registered: June 2012
Junior Member
Hallo Jonathan,
I'm just facing the same problem you had 3 years ago: I have tested my multy-side excel report, but it renders onto one page in the separate mode. Actually I have to use run-and-render-separately, because I need to create a toc on other reports (pdf). Ok, I could avoid the problem, by setting "rr-together" for excel and "r-separated-r" for pdf's. But I find it fool.
Perhabs you know the solution?

Thanks very much and

best regards

Denis
Previous Topic:Exporting Dynamic Images From BIRT
Next Topic:Bookmarks missing from PDF Reports
Goto Forum:
  


Current Time: Sat Dec 20 07:24:44 GMT 2014

Powered by FUDForum. Page generated in 0.02671 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software