Question
CS3 table geometry and page breaks
Hi all,
I am writing a script that has to determine where (what row) a table continues on a new page and set an visual indicator (arrow graphic) to show that this is a continued table.
First Problem: I can get the Page number of each Row by iterating through the Cells and calling on the first Character's parent TextFrame and then up to Page. Strangely, InsertionPoint doesn't work here and sometimes it could be that there is no character at all...
Second Problem: I need to place the graphic in the upper left corner of the first cell. But there is no way (other than using InsertionPoint) to get geometric bounds of the cell.
Regards
Max
I am writing a script that has to determine where (what row) a table continues on a new page and set an visual indicator (arrow graphic) to show that this is a continued table.
First Problem: I can get the Page number of each Row by iterating through the Cells and calling on the first Character's parent TextFrame and then up to Page. Strangely, InsertionPoint doesn't work here and sometimes it could be that there is no character at all...
Second Problem: I need to place the graphic in the upper left corner of the first cell. But there is no way (other than using InsertionPoint) to get geometric bounds of the cell.
Regards
Max