No, there is something like this: I have text (say, 'text1') that is in pageFooter, it is needed to be on each page, and some text (say, 'text2') only at last page. If I put text in lastPageFooter than 'text1' will be replaced by last page footer on last page. Or I need duplication of code to do this ('text1' needed at pageFooter and lastPageFooter). May be there is another method - if I know overall pages number than I can use condition (CURRENT_PAGE == LAST_PAGE), but on generation time there is no info about overall pages number, isn't it? What can you advise?