Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » IReportDocument page count
IReportDocument page count [message #698358] Tue, 19 July 2011 10:32 Go to next message
sam va is currently offline sam vaFriend
Messages: 121
Registered: July 2011
Senior Member
I have a report which has content specific to excel and content specific to pdf in the same report. When the report document is generated, it contains the data for both the outputs. Now if we get the page count on the report document, it will be a combination of both excel and pdf. Is there anyway to get the page count only for a specific output without using render task?

Thanks in advance.

[Updated on: Tue, 19 July 2011 13:11]

Report message to a moderator

Re: IReportDocument page count [message #698481 is a reply to message #698358] Tue, 19 July 2011 14:06 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

Currently pagination is done at run time so I do not know of a work
around for this issue. I assume you are using visibility expressions to
control what content is rendered for an output? If so you may want to
look at using the de api in script to drop content and re-run the report
for a specific output.

Jason

On 7/19/2011 6:32 AM, forums-noreply@eclipse.org wrote:
> I have a report which has content specific to excel and content specific
> to pdf in the same report. When the report document is generated, it
> contains the data for both the outputs. Now if we get the page count on
> the report document, it will be a combination of both excel and pdf. Is
> there anyway to get the page count only for a specific output?
>
> Thanks in advance.
Re: IReportDocument page count [message #698563 is a reply to message #698481] Tue, 19 July 2011 17:44 Go to previous messageGo to next message
sam va is currently offline sam vaFriend
Messages: 121
Registered: July 2011
Senior Member
Thanks for the quick reply

would it not hit performance. my queries are huge and take couple of minutes to run. If we run the same query again for each output, that would take a hit on performance. Is there anyway we can set the dataset results from one report to another one?

Thanks
Re: IReportDocument page count [message #698619 is a reply to message #698563] Tue, 19 July 2011 20:19 Go to previous message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

I do not know of any easy way around this. I know there is a bug
reported on visibility expressions currently but I do know of a work
around. If you re-run the report it will hit the queries again.

Jason

On 7/19/2011 1:44 PM, forums-noreply@eclipse.org wrote:
> Thanks for the quick reply
>
> would it not hit performance. my queries are huge and take couple of
> minutes to run. If we run the same query again for each output, that
> would take a hit on performance. Is there anyway we can set the dataset
> results from one report to another one?
>
> Thanks
Previous Topic:Reusing the query results
Next Topic:Range of row numbers in table header
Goto Forum:
  


Current Time: Fri Mar 29 11:01:50 GMT 2024

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

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

Back to the top