Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Intelligence (Analytics)
BIRT generate page no problem in PDF
whlawdev
I am use BIRT ver 2.6. I have tried to make a report with a table and placed the page no of auto text in master page footer. But it cannot correctly display page no when the table only apart of the footer separate to next page. The page no are showed same no when I generate PDF. But I generate to html, it can correctly display page no. Is it a system bug or wrong setting I have set?
Find more posts tagged with
Comments
mwilliams
Hi whlawdev,
What is the problem you're having? The master page page count is correct given the page with only a small amount of text on it. Is the fact that the footer text appears on the second page and not the first the bug you're referring to? Let me know.
whlawdev
Hi mwilliams,
Thank you for your reply. I have use the attached design report generate the attached PDF. In the bottom of page placed the page no of autotext (in the master page footer), and the right hand side of master page footer placed a lable with script that it will display a text when page is last page (the attached file set to pageNumber <= 1). And also it has a label get the pageNumber that placed in top right corner. The problem is the page no on the last page cannot correctly get the page no. I suppose the last page will display "3/3", but now it display "2/3" same as the second page. Because the text in the master page footer will be displayed when the pageNumber equal totalPage, it cannot display the text when I set pageNumber equal totalPage. And the top right corner label it cannot get the pageNumber, it always display "0". If you or anyone have any suggestion, please reply me.
Many thanks,
mwilliams
Nevermind, I see what you're saying. If you select the grid in the footer of the list and go to the page break section of the property editor and choose page break inside as "avoid", does that make a difference? As for the page number you want to change in the layout. You put it in the header of the list. The header is only created once, so the first value of the variable pageNumber will be put in there and it will just repeat as that each time.