|
Re: How to override Page Autotext's initial value [message #900397 is a reply to message #900255] |
Mon, 06 August 2012 20:54 |
|
Jomar,
If you are using the viewer or using separate run and render task with
the API you can do this with a simple page variable and script:
http://www.eclipse.org/birt/phoenix/project/notable2.5.php#jump_4
Attached is an example that uses a page variable on the master page that
starts at 10. Look at the onPageEnd script and look at the master page
header.
Jason
On 8/6/2012 4:21 AM, Jomar Romero wrote:
> Hello,
>
> I just wanted to ask if there is a way on how to override the initial
> value of Page autotext (currently 1) to let's say 10. The reason behind
> this is I sliced up my report with 10 pages each (10 .rptdesign files
> with 10 pages each) and concatenated them with itext library. (please
> note that I have placed a static text on the Max page part) The problem
> with that is the page numbering that I have in page footer displays
> 1/100...10/100...1/100 (because of concatenated report)... 10/100...
> 1/100 and so on... My idea was to assign a default value on the Page
> Autotext on each of the rptdesign files so that it won't get reset on
> each report.
>
> any help would be appreciated.
|
|
|
Re: How to override Page Autotext's initial value [message #900398 is a reply to message #900255] |
Mon, 06 August 2012 20:54 |
|
Jomar,
If you are using the viewer or using separate run and render task with
the API you can do this with a simple page variable and script:
http://www.eclipse.org/birt/phoenix/project/notable2.5.php#jump_4
Attached is an example that uses a page variable on the master page that
starts at 10. Look at the onPageEnd script and look at the master page
header.
Jason
On 8/6/2012 4:21 AM, Jomar Romero wrote:
> Hello,
>
> I just wanted to ask if there is a way on how to override the initial
> value of Page autotext (currently 1) to let's say 10. The reason behind
> this is I sliced up my report with 10 pages each (10 .rptdesign files
> with 10 pages each) and concatenated them with itext library. (please
> note that I have placed a static text on the Max page part) The problem
> with that is the page numbering that I have in page footer displays
> 1/100...10/100...1/100 (because of concatenated report)... 10/100...
> 1/100 and so on... My idea was to assign a default value on the Page
> Autotext on each of the rptdesign files so that it won't get reset on
> each report.
>
> any help would be appreciated.
|
|
|
Re: How to override Page Autotext's initial value [message #900400 is a reply to message #900255] |
Mon, 06 August 2012 20:54 |
|
Jomar,
If you are using the viewer or using separate run and render task with
the API you can do this with a simple page variable and script:
http://www.eclipse.org/birt/phoenix/project/notable2.5.php#jump_4
Attached is an example that uses a page variable on the master page that
starts at 10. Look at the onPageEnd script and look at the master page
header.
Jason
On 8/6/2012 4:21 AM, Jomar Romero wrote:
> Hello,
>
> I just wanted to ask if there is a way on how to override the initial
> value of Page autotext (currently 1) to let's say 10. The reason behind
> this is I sliced up my report with 10 pages each (10 .rptdesign files
> with 10 pages each) and concatenated them with itext library. (please
> note that I have placed a static text on the Max page part) The problem
> with that is the page numbering that I have in page footer displays
> 1/100...10/100...1/100 (because of concatenated report)... 10/100...
> 1/100 and so on... My idea was to assign a default value on the Page
> Autotext on each of the rptdesign files so that it won't get reset on
> each report.
>
> any help would be appreciated.
|
|
|
Re: How to override Page Autotext's initial value [message #900401 is a reply to message #900255] |
Mon, 06 August 2012 20:54 |
|
Jomar,
If you are using the viewer or using separate run and render task with
the API you can do this with a simple page variable and script:
http://www.eclipse.org/birt/phoenix/project/notable2.5.php#jump_4
Attached is an example that uses a page variable on the master page that
starts at 10. Look at the onPageEnd script and look at the master page
header.
Jason
On 8/6/2012 4:21 AM, Jomar Romero wrote:
> Hello,
>
> I just wanted to ask if there is a way on how to override the initial
> value of Page autotext (currently 1) to let's say 10. The reason behind
> this is I sliced up my report with 10 pages each (10 .rptdesign files
> with 10 pages each) and concatenated them with itext library. (please
> note that I have placed a static text on the Max page part) The problem
> with that is the page numbering that I have in page footer displays
> 1/100...10/100...1/100 (because of concatenated report)... 10/100...
> 1/100 and so on... My idea was to assign a default value on the Page
> Autotext on each of the rptdesign files so that it won't get reset on
> each report.
>
> any help would be appreciated.
|
|
|
Re: How to override Page Autotext's initial value [message #900402 is a reply to message #900255] |
Mon, 06 August 2012 20:54 |
|
Jomar,
If you are using the viewer or using separate run and render task with
the API you can do this with a simple page variable and script:
http://www.eclipse.org/birt/phoenix/project/notable2.5.php#jump_4
Attached is an example that uses a page variable on the master page that
starts at 10. Look at the onPageEnd script and look at the master page
header.
Jason
On 8/6/2012 4:21 AM, Jomar Romero wrote:
> Hello,
>
> I just wanted to ask if there is a way on how to override the initial
> value of Page autotext (currently 1) to let's say 10. The reason behind
> this is I sliced up my report with 10 pages each (10 .rptdesign files
> with 10 pages each) and concatenated them with itext library. (please
> note that I have placed a static text on the Max page part) The problem
> with that is the page numbering that I have in page footer displays
> 1/100...10/100...1/100 (because of concatenated report)... 10/100...
> 1/100 and so on... My idea was to assign a default value on the Page
> Autotext on each of the rptdesign files so that it won't get reset on
> each report.
>
> any help would be appreciated.
|
|
|
Re: How to override Page Autotext's initial value [message #900403 is a reply to message #900255] |
Mon, 06 August 2012 20:54 |
|
Jomar,
If you are using the viewer or using separate run and render task with
the API you can do this with a simple page variable and script:
http://www.eclipse.org/birt/phoenix/project/notable2.5.php#jump_4
Attached is an example that uses a page variable on the master page that
starts at 10. Look at the onPageEnd script and look at the master page
header.
Jason
On 8/6/2012 4:21 AM, Jomar Romero wrote:
> Hello,
>
> I just wanted to ask if there is a way on how to override the initial
> value of Page autotext (currently 1) to let's say 10. The reason behind
> this is I sliced up my report with 10 pages each (10 .rptdesign files
> with 10 pages each) and concatenated them with itext library. (please
> note that I have placed a static text on the Max page part) The problem
> with that is the page numbering that I have in page footer displays
> 1/100...10/100...1/100 (because of concatenated report)... 10/100...
> 1/100 and so on... My idea was to assign a default value on the Page
> Autotext on each of the rptdesign files so that it won't get reset on
> each report.
>
> any help would be appreciated.
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03810 seconds