Question
On what page am I?
Hello!
For a plugin I must know on which page (in which chapter, section too but that should work the same way) a specific text index (or rather an owned item anchored there) in a text model resides.
I know how to find that out, the problem is that I need that information to be always up to date. The page number marker provided by InDesign is able to stay up to date somehow and I'd need to know how it does that.
I guess some kind of observer but I wasn't able to find how to attach one for that purpose. Can someone help me here?
Regards,
Martin
For a plugin I must know on which page (in which chapter, section too but that should work the same way) a specific text index (or rather an owned item anchored there) in a text model resides.
I know how to find that out, the problem is that I need that information to be always up to date. The page number marker provided by InDesign is able to stay up to date somehow and I'd need to know how it does that.
I guess some kind of observer but I wasn't able to find how to attach one for that purpose. Can someone help me here?
Regards,
Martin