2 Replies Latest reply on Jul 28, 2011 12:01 AM by publishdude

    Detecting if a table has flowed on to the next page

    publishdude

      Hi,

       

      I'm trying to write a script that can detect when a table spans accross two pages, i.e. it starts on page 2 and continues on flowing into page 3.
      If it does I need to change the cell styles of the first row on page 3. I'm stumped. I tried iterating through each cell in the table to see what
      page it's on but that didn't work, as I can't see a property of a cell that would give me that info. If I get the parents of the cell it gives me
      the table which it says is on page two, even if i query a cell that is actually on page 3. Is there away to determine this? I'm using CS4.

       

      Any help would be appreciated.

       


      Thanks
      Dan