|
Re: autotext [message #557468 is a reply to message #557427] |
Tue, 07 September 2010 14:25 |
|
You can do this with a text element like:
<viewtime-value-of>
pageNumber
</viewtime-value-of>
or in a label onRenderScript like:
this.text = pageNumber +" of " + totalPage;
Jason
On 9/7/2010 7:51 AM, Prashant wrote:
> Hi,
>
> I want to display page number in a non-master page. For e.g. in one of
> the table column data.
>
> Is it possible to use autotext outside master page?
>
> Thanks.
|
|
|
|
Re: autotext [message #557548 is a reply to message #557545] |
Wed, 08 September 2010 04:39 |
|
What version of Birt are you using and how are you running the report?
On 9/8/2010 12:25 AM, Prashant wrote:
> Hi Jason,
>
> It is always displaying 1 of 1 even though there are multiple pages for
> both label and text element,
>
> Thanks,
> Prashant
>
|
|
|
Re: autotext [message #557549 is a reply to message #557545] |
Wed, 08 September 2010 04:39 |
|
What version of Birt are you using and how are you running the report?
On 9/8/2010 12:25 AM, Prashant wrote:
> Hi Jason,
>
> It is always displaying 1 of 1 even though there are multiple pages for
> both label and text element,
>
> Thanks,
> Prashant
>
|
|
|
Re: autotext [message #557552 is a reply to message #557545] |
Wed, 08 September 2010 04:39 |
|
What version of Birt are you using and how are you running the report?
On 9/8/2010 12:25 AM, Prashant wrote:
> Hi Jason,
>
> It is always displaying 1 of 1 even though there are multiple pages for
> both label and text element,
>
> Thanks,
> Prashant
>
|
|
|
|
|
Re: autotext [message #633871 is a reply to message #633846] |
Tue, 19 October 2010 16:04 |
|
Page variables currently require that you have separate run and render
task. If you are using the viewer are you using the /frameset mapping?
Jason
On 10/19/2010 11:04 AM, Anatoly wrote:
> Under 2.6.1 runtime both methods doesn't work :(
>
> I got birt-runtime-2_6_1.zip from BIRT site at 27.09.2010
>
> Any ideas ? Thanks.
|
|
|
|
Re: pageNumber, totalPage variables in pdf [message #675446 is a reply to message #675168] |
Tue, 31 May 2011 14:30 |
|
Several bugs have been logged on the viewtime value of statement.
https://bugs.eclipse.org/bugs/buglist.cgi?query_format=advanced;short_desc=viewtime;short_desc_type=allwordssubstr;product=BIRT;classification=BIRT
I just tested with BIRT 3.7 and it appears that it has been fixed. BIRT
3.7 will be released in June.
Jason
On 5/30/2011 9:34 AM, forums-noreply@eclipse.org wrote:
> Hi, Jason.
>
> I'm using BIRT 2.6.2 without web viewer.
> I try to generate pdf report programmatically with methods, described on
> "New and Notable Features within BIRT 2.6" page.
>
> But these methods doesn't work (in report Master Page):
> <viewtime-value-of>pageNumber</viewtime-value-of> = 'pageNumber' on
> every page,
> pageNumber = 1 and totalPage = 1 on every page.
>
> However auto-text field "Page n of m" works correctly.
>
> How can I separate run and render phase correctly to get report
> variables work?
>
>> Page variables currently require that you have separate run and render
>> task. If you are using the viewer are you using the /frameset mapping?
>
>> Jason
|
|
|
|
Powered by
FUDForum. Page generated in 0.03631 seconds