Eventhandlers for page loading events of IDML document opening
I'm opening an IDML document using ExtendScript. I want to register events for all the page loading events at the time of document opening.
I'm getting document specific events e.g. "beforeNew", "beforeOpen", "afterNew", "afterOpen" etc but i'm not able to get EventListeners for events related Pages, PagesItems etc.
Can you please suggest what is the best way to register and get events for pages specific events during document opening in the ExtendScript ?
My main objective is to apply specific MasterPages to the pages being loaded at the time of document opening. Later i intend to adjust the Widths of all the inlined items of a story as per the width of the MasterPage applied.
Any pointers or suggestions will be much appreciated.
