Jump to content

5 page document with non-sequential text frames


Recommended Posts


Im trying to merge a csv file 1696 records on to a five page document with one text frame on each page. I need the first page to call the first record and the second page to call the 2nd record and the third page to call the 3rd record...so on until the five pages are used. After the fifth page the documents needs to merge the 6th record on the first page and the 7th record on the 2nd page so on until all 1696 records are used and i have a total of 1696 pages in a series of 5.

In other words, I am trying to create printed tabs so they can go into approx 80 binders. Its one large document with 1696 different tabs non-sequential.


I appreciate the help!


Link to comment
Share on other sites

I'm not sure what you mean by "non-sequential."


If the pages are all radically different, then you can just set all five Body Pages to Unused in the Page Usage dialog, and then do this in OnRecordStart:

var BodyPage = (FusionPro.Composition.outputRecordNumber - 1) % 5 + 1;
FusionPro.Composition.SetBodyPageUsage(BodyPage, true);

If the pages have similar layouts, then instead of having five separate Body pages in your PDF, you could probably just use a single Body page template, and possibly move some frames around with the FindTextFrame and FindGraphicFrame functionality, again keying off of some logic using the modulus (remainder) operator (like FusionPro.Composition.outputRecordNumber % 5) in a rule.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...