With a Pagination Rule, an anchored object can be automatically generated and repeated for each data element. A data element can represent a single record, a group of records, an enhanced tabular field, individual rows within a table, or a set of images stored in a field
To enable this function, select the anchored item Apply the appropriate Pagination Options:
Paginate : Once Per Record
By default, the item is repeated for each record when the parent frame is populated. If you want the item to repeat for each row in an Enhanced Tabular field, set the Group Name to the name of that field. If the frame is an image box, linked to an image field, the item will be repeated for each image in that field.
Paginate : Once Per Group
The item is repeated once for each Group Name. This can be the name of a group in the data panel or an enhanced tabular field.
Paginate When Anchored : Yes
This enables this feature.
Anchor Separator Text
The text inserted between the repeated elements. This may include meta characters such as ^p or ^t.
Insert: As Inline
Duplicates the entire anchored item.
Insert: Frame Contents
Copies the text inside an anchored text frame into the text.
Append Return : Yes/No
if the case of Insert: As Inline this indicates each anchored item should be followed by a carriage return.
Example Usage
Using thisย sample_products data, we can group a panel by Category:
Then we setup an anchored text frame with another anchored text frame inside. The outer text frame is set to Paginate Once Per Group, Category. It’s also set to Insert Frame Contents as we want the contents of this in the output. The inner frame is set to Insert Inline and Paginate Once Per Record.ย Don’t forget to Paginate When Anchored to Yes on both frames:
When the entire data is dragged to the containing text frame, the following output is generated
Here’s the sample document shown here:ย Paginate When Anchored Demo.indd
For details on how to use this feature with tabular fields, see the example at the bottom ofย this page.