7.5

Table Of Contents
You insert a data selection in a text object by creating a local variable that contains the data selection. Note that you cannot
modify the value of those variables through the PlanetPress Talk before paragraph and PlanetPress Talk after paragraph prop-
erties.
Also note that if you use a global variable to display Arabic text in a Text object, the data will not be displayed correctly in the
application. To fix this, you need to initialize the variable content using the MapUTF8 PlanetPress Talk command.
To determine the variables currently available in the text object, do any of the following:
l To determine the global variables available Choose Variables | Global Variables.
l To determine the local variables available Choose Variables | Data Selections Available.
To insert an existing variable, do one of the following:
l To insert a local variable Choose Variables | Data Selections Available. Then choose the local variable you
want to insert from the menu that appears.
l To insert a global variable Choose Variables | Global Variables. Then choose the global variable you want to
insert from the menu that appears.
PlanetPress Design inserts the variable in the Text area, displays its value on the current data page and highlights it in
blue.
To quickly insert a data selection as a local variable:
1. Choose Variables | SelectData.
2. Use the Data Selector to select the data for the variable.
3. Close the Data Selector.
PlanetPress Design inserts the variable, highlights it in blue, and displays its value on the current data page. Plan-
etPress Design also adds the variable name to the menu that appears when you right-click and choose Data Selec-
tions Available.
You can use the Data page box in the toolbars to navigate through the data pages and view the value of the variable on
other data pages.
To create a new local variable using the Variables dialog box:
1. Choose Variables | EditDataSelection.
2. Click Add Variable.
3. Click the variable name to select the variable. Then click the variable name a second time to select the name. Edit the
name, then click outside the variable name.
4. Click the variable in the Variables list to select it.
5. Use either of the following to define the value of the local variable. The value of the variable on the current data page
appears in the Variables list, beside its name and type.
Define a Data Selection value
Clear Custom data selection and define the new value by creating a data selection using either the line and column
boxes or the Data Selector.
If you use the Data Selector to select the data for the variable, and you select data that extends over more than a single
line, PlanetPress Design uses only the data on the first line (or record) as the data selection for the variable. Note that in
a database emulation, the Data Selector does not permit selections that extend over more than a single field.
Trim leading spaces: Select to remove any ASCII space characters that appear before the data in the data selection
for the variable.
Trim trailing spaces: Select to remove any ASCII space characters that appear after the data in the data selection
for the variable.
Define a Constant value OR a PlanetPress Talk Expression
Select Custom data selection and enter a constant value or a PlanetPress Talk expression in the String to dis-
Fonts and Styles
©2010 Objectif Lune Inc - 139 -