How to get the location of a pageitem when there are pageitems with same UID?
There are two text frames with same UID but on different pages( also defferent spreads ). What I want to know is how I can get the location of them both.
The following code can only get the location of the first frame because the second frame has the same UIDRef with the first one(because they are in one document with same UID) .
InterfacePtr<IGeometry> splineGeo(ItemRef, IID_IGEOMETRY);
PMMatrix itemPMMatrix = ::InnerToPasteboardMatrix( splineGeo );
PMRect itemPMRect = itemGeo->GetStrokeBoundingBox( itemPMMatrix );
Is there any way I can get the second frame location?
Thanks a lot.
