7.0

Table Of Contents
A) If you do not know in advance how many lines of data each data page contains, enter a 0 value in the To line
property to ensure that all the lines of data will be processed by the object. B) If this object can be used to process no
more than 15 lines of data, for example, use the &iteration count variable in the Condition to exit and overflow property
and equate it (>=) with a fixed value of 15. When the variable is larger or equal to the fixed value, the object stops
iterating, the current page is completed and repeated to accommodate the overflowing data.
When PlanetPress Design is processing an object with repeat properties and this condition becomes true, it
stops repeating the object, performs the remaining objects on the document page and then performs the
whole page once again, only this time using the surplus data. When all the data included in the current data
page has been printed, PlanetPress Design stops repeating that page and goes on to the other pages that may
be included in the document.
The fact that the same page is repeated to accommodate the surplus data does not mean that the initial page
and the additional pages have to have the same appearance. The status of the condition to exit and overflow
may be used to turn on objects that were turned off on the first page and vice versa. Note that all these
objects must belong to the same group.
Static and Line Repeat Examples
As an example of a Static repeat, you might use the Repeat properties to create an empty table to use as an
overlay on a page containing data selections. If the table consists of five columns, each of different widths,
you might use text/box objects to create a single row of the table, group those objects, and then use the
Repeat properties of the group to build the remaining rows of the table.
As an example of a Line repeat, consider an invoice document for car parts. The invoice document uses a CSV
emulation. In the data page, the information for each item in the invoice appears on a separate line, and there
is a definable range of lines containing item information. You want the invoice document to present the item
information in a table, one item per line, with each piece of information (part number, a description, quantity
ordered, quantity shipped, quantity backordered, price of the item, amount charged) aligned in a column. You
want each piece of information to appear in its own box. You create a Contiguous data selection for each piece
of information, associate the appropriate style with each data selection, define a border for the background
box of each piece of information, and organize the data selections into a row, spaced as you want them to
appear in the final invoice. You then group the data selections, and use the Repeat properties of that group to
create the remaining rows of the table. In the Repeat properties of the group, you select Line repeat and
Working with Objects - Key Concepts
Objectif Lune Inc. © 2009 242