Sorry it is not working. It copies the table from start. I need only the remaining columns. If 7 columns is present in table. 3 is in first frame. 4 is within overset.I need remaining 4 only in nextframe.
Sorry it is not working. It copies the table from start. I need only the remaining columns. If 7 columns is present in table. 3 is in first frame. 4 is within overset.I need remaining 4 only in nextframe.
By @Aysha27550661f9sm
Are you referring to my code?
Yes, in your code:
nextparentTextFram = myStory.TextContainers.item(-1).contents
you are copying visible part of the last TextContainer - which contains visible part of the Table - which is wrong.
My code isn't copying anything - it creates a new TextFrame and let's remaing Rows flow there.
You shouldn't use "columns" to describe what is "hidden"/overset - those are still "rows" of the Table - the fact that you've rotated your TextFrame 90 degrees doesn't change Rows to Columns - or vice versa - it only changes orientation and how you see it.
Try to do "it" in the InDesign manually - click on the "outport" (C) - red "+" - go to the next page (A) and either draw new TextFrame or just click anywhere on that page (B).
Those same steps you need to perform through scripting - but not in exactly same order:
(A) Set myNewTF = myNewPage.TextFrames.add
(B) myNewTF.GeometricBounds = Array(0,0,100,100) ' you need to read PageBounds and substract margins
(C) myStory.TextContainers.item(-1).NextTextFrame = myNewTF
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.
