|
Re: PDF and page number [message #656454 is a reply to message #656440] |
Fri, 25 February 2011 17:23 |
|
Nicola,
Can you post the design?
Jason
On 2/25/2011 11:26 AM, nicola wrote:
> Hi,
> in birt 2.6.1 when I export a single html page to PDF, my pdf file
> contains 2 pages and the second one display page number as 1/1 (instead
> of 2/2).
> I can't figure out how to workaround this problem, any suggestios, please?
>
> Thank you,
> Nicola
|
|
|
Re: PDF and page number [message #713648 is a reply to message #656440] |
Mon, 08 August 2011 18:04 |
Nick Padilla Messages: 16 Registered: August 2011 Location: New Mexico |
Junior Member |
|
|
Hello,
I am assuming that you have a custom page break for your report? I have found that the custom page break, which in my case will show all rows per grouping. I display the BirtViewer in HTML layout, basically housed within an existing web application. What I have found is when your custom page break creates a page that cannot fit on an exported document, PDF or DOC, you end up with this functionality. You end up with 2 pages that say they are page one, you can have any number of pages show page 1, depending on the amount of data on the one page; from the custom page breaks. I think a quick way around this is in the custom script to see if the process is an export process, if so then allow the application to create page breaks; set everything to 'auto'.
Is there a way to do this? I haven't tried yet, was looking for a quick solution. I will embark on this and figure out what needs to happen to resolve this problem and post back.
|
|
|
Re: PDF and page number [message #713674 is a reply to message #713648] |
Mon, 08 August 2011 18:54 |
|
Nick,
While you are looking at this, remember pagination is done at run time
not render time. So in order to change it the report has to be re-executed.
Jason
On 8/8/2011 2:04 PM, Nick Padilla wrote:
> Hello,
>
> I am assuming that you have a custom page break for your report? I have
> found that the custom page break, which in my case will show all rows
> per grouping. I display the BirtViewer in HTML layout, basically housed
> within an existing web application. What I have found is when your
> custom page break creates a page that cannot fit on an exported
> document, PDF or DOC, you end up with this functionality. You end up
> with 2 pages that say they are page one, you can have any number of
> pages show page 1, depending on the amount of data on the one page; from
> the custom page breaks. I think a quick way around this is in the custom
> script to see if the process is an export process, if so then allow the
> application to create page breaks; set everything to 'auto'.
> Is there a way to do this? I haven't tried yet, was looking for a quick
> solution. I will embark on this and figure out what needs to happen to
> resolve this problem and post back.
|
|
|
|
Powered by
FUDForum. Page generated in 0.03772 seconds