Hi, Thomas!
tawulf wrote:
Is there maybe a callback for the renderer's page change event?
None that I know.
You can add a tag to each paragraph - this tag could be a string with the artists name.
After layouting the document, you can use GetDocumentObjectsFromPage (or maybe GetRenderInfoFromPage) to find which tags are on which page.
Then create a new document with correct headers based on the information from the first run.
GetDocumentObjectsFromPage is public, so this is the preferred method.
See also (on how to make GetRenderInfoFromPage available):
viewtopic.php?p=1960#p1960