Skip to main content



      Home
Home » Archived » BIRT » IReportDocument page count
IReportDocument page count [message #698358] Tue, 19 July 2011 06:32 Go to next message
Eclipse UserFriend
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 09:11] by Moderator

Re: IReportDocument page count [message #698481 is a reply to message #698358] Tue, 19 July 2011 10:06 Go to previous messageGo to next message
Eclipse UserFriend
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 13:44 Go to previous messageGo to next message
Eclipse UserFriend
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 16:19 Go to previous message
Eclipse UserFriend
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: Tue Jul 22 18:09:26 EDT 2025

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

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

Back to the top