How to detect which rows of a table are in one part?
Hello,
I have a big table (with header and footer rows and different row heights) that runs in one text flow across different frames, some with several text columns.
I would like to know which table rows are shown in which frame. And if the frame has more than one text column, in which text column the rows are shown.
So if you think of InDesign "splitting" the table in several smaller ones for each column and textframe, I want to know which rows are together in one table and where this table is located.
I think I can get the parent text frame with:
currentCell.insertionPoints[0].parentTextFrames[0]
and then remember which cells (and their rows) are in the same frame.
But I do not know how to get the correct text column in the parent text frame.
Or maybe there is different/better way to collect this information.
Best regards,
Ingo
PS: The reason for this problem is that first, the table with content is created. Then I want to run a script that does some adjustements to the table to produce a nicer layout (e.g. a sort of vertical balancing)