🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: adobe.scripting.indesign
6 messages
6 total messages Started by Bruce_Jameson Tue, 24 Mar 2009 02:30
Table size in Frame ?
#411
Author: Bruce_Jameson
Date: Tue, 24 Mar 2009 02:30
13 lines
1001 bytes
Hi all -

I have what is probably a very simple question.

I have a Table which spans a number of pages in Indesign

Each page has a different applied master - but the frames are named the same e.g. "TheCoolTableFrame" and the Table sits inside these identically named frames. (though does not always take up exactly the entire frame)

My question is - if my table spans 3 pages say, how can i tell the height of the table in each individual page?

regards

Bruce
Re: Table size in Frame ?
#412
Author: Dave_Saunders
Date: Tue, 24 Mar 2009 02:37
3 lines
761 bytes
I presume this is a scripting question. You have to cycle through the rows checking the parent text frame of the text in the first cell of each row. Not very convenient I'm afraid.

Dave
Re: Table size in Frame ?
#413
Author: Bruce_Jameson
Date: Tue, 24 Mar 2009 02:40
3 lines
726 bytes
But if the parent frame is always named the same on all pages - then this wont work will it?

Bruce
Re: Table size in Frame ?
#414
Author: Dave_Saunders
Date: Tue, 24 Mar 2009 02:49
3 lines
829 bytes
What does it matter what the name of the frame is -- or more precisely the label? They are different frames and you can distinguish them in many ways. Just comparing them will give a false result.

Dave
Re: Table size in Frame ?
#415
Author: Bruce_Jameson
Date: Tue, 24 Mar 2009 03:53
3 lines
630 bytes
ahh yes the label is what i meant for "the name"

bryce
Re: Table size in Frame ?
#417
Author: Bruce_Jameson
Date: Tue, 24 Mar 2009 06:07
7 lines
1029 bytes
Turns out the solution was to keep track of the height of the table as you paginate - ergo can keep the sizes in an array.

Also turns out that it was a bad choice of attempted solutions
as i need to know the different in height between the last row of the table and the bottom of the text frame containing it (the table) - useful when populating the table through XML as i need to know when to paginate !

anyone got any thoughts on this one?
Bruce
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads