No anchored frames found
Dear friends,
Again I need your sharp eyes. In the document I traverse there are at least 10 anchored frames.But the following while is immediatly skipped:
oObject = oDoc.MainFlowInDoc.FirstTextFrameInFlow.FirstAFrame;
while (oObject.ObjectValid()) {
sFound = oObject.UserString;
oTL = oObject.TextLoc;
oUstring = new KLD_Z.oUserString("AFrame", sFound, oTL);
aoUserStrings.push (oUstring);
oObject = oObject.NextAFrame;
}
What is hidden from my eyes?
Edit 2022-06-27 20:21
Working from the back does not help either. The resultant object is invalid:
oObject = oDoc.MainFlowInDoc.LastTextFrameInFlow.LastAFrame;

