Obtaining coordinates and dimensions of page items using .NET and IDML.
I'll preface this by saying that I am extremely new to Adobe software.
I have been assigned a task that requires me to obtain the coordinates and dimensions of all TextFrames in an InDesign document. I need to have these coordinates in an x,y format.
Essentially what I want to be able to do is identify where these page items are, in universal terms. I have read the relevant sections of the IDML spec, and searched through post after post, but I'm still not quite getting it.
For a TextFrame, the height and width are easy. It's the coordinates that are blowing my mind. I've gotten far enough to know that I need to calculate based off of the item's ItemTransform attribute, but I am just not sure what to do with it. I feel like I'm missing a couple of basic points. Any and all help is most appreciated.
Thanks