I'm using the InDesign Automation Objects through Delphi to scan all the notes inside a document and that works fine as long as the notes aren't inside tables.
For those notes inside tables as soon as I try to get the instance for a note I get the error "No text target or text model". Tried several ways of scanning the document to get to the notes but it doesn't make a difference.
Here's my code:
for I := 1 to FDoc.Stories.Count do
for J := 1 to FDoc.Stories.Item[I].Tables.Count do
for K := 1 to FDoc.Stories.Item[I].Tables.Item[J].Notes.Count do