I’ve got a letter template where the actual letter text is following an information page. I want to export the actual letter to PDF, without enclosing the information page-s. As this information thing can expand on several pages, according to the user’s typing, I need to know the actual page number where the letter itself starts.
For that I’ve set a bookmark in the letter header. I then need to know at what page this bookmark is. I can do this using the visible cursor, but, as I don’t want to break the work-flow, I’d prefer to use a text cursor instead so that the focused page is not changed.
I cannot find any information about the way to achieve this. Any hint or suggestion appreciated. There’s perhaps another way to achieve that goal.