7.0

Table Of Contents
Related topics:
Conditions (Page 276)
Local Conditions (Page 277)
Line Conditions (Page 277)
Data Selection Objects (Page 104)
18.1.3 Local Conditions
What is a local condition ?
A local condition is one that you associate with a particular page, object, or group. It is not available to any
other page, object, or group in the document, and appears only within the element in which you define it; it
does not appear in the Structure area. You cannot re-use or combine a local condition.
You can use global conditions as variables in a local condition.
Related topics:
Conditions (Page 276)
Global Conditions (Page 276)
Line Conditions (Page 277)
Data Selection Objects (Page 104)
18.1.4 Line Conditions
What is a line condition ?
A line condition is a condition that acts as a filter on a data selection. Only data selection objects can use line
conditions. The line condition determines two things: what lines (or records in the case of a database
emulation) to display in the data selection, and whether to display an empty line for any line (or record) that
does not display. Line conditions only make sense for data selections that extend over more than one line of
the data page (or record of the record set in the case of a database emulation).
A line condition performs its test on each line of the data page a data selection object references. There are
three types of line conditions you can define: one that tests for the presence of a text string, one that tests for
the absence of a text string, and one that you define yourself using a PlanetPress Talk expression.
What is a Line?
In a line condition, a line refers to an entire line of the data page, not just the portion of the line that falls
inside the data selection. The document tests the entire line of the data page when it evaluates a line
condition.
If you set a line condition, the document tests all lines of the data page that have a portion lying within the
data selection region. If the line condition resolves to True, the portion of the line that lies in the data
selection region displays. If the line condition resolves to False, the portion of the line that lies in the data
selection region does not display.
Examples of Line Conditions
You might use a line condition to accommodate an unstable data page structure. For example, consider a
document that uses ASCII emulation and for which the data selection you want does not always appear in
exactly the same place on every data page; the data selection shifts up or down by a few lines. The string
“PREF” appears on those data lines, making it possible to uniquely identify them. You create a data selection
Conditions - Key Concepts
Objectif Lune Inc. © 2009 277