I need to show different text in footer, e.g. set note "Continued on next page" on footer of all pages except latest one. The task seems simple but I haven't found any docs how to do that...
I tried to create hidden variable outside of footer and set hidden paragraph depending on it, but seems like all variables in LibreOffice is global for whole document. I tried to create "text with condition" depended on variable, but it also same for any page. How to do that properly?
Also I would be glad if anyone tell me how to access embed variable with page number.