
Chapter 3: Managing Text Documents With Writer
Conditional Text
Fields can be used in a document to display text when a condition is met. For example, one
can define the conditional text that is displayed in a series of reminder letters.
Setting up conditional text is a two-part process:
1. Create a variable, then
2. Create the condition.
Defining and using conditional text – by example
Defining a conditional variable
The first step in the process is defining a variable for the condition statement.
Type “Reminder” in the document, and then add space.
1. Select Insert > Fields > Other.
2. Click the Variables tab.
3. Click “Set variable” in the Type list.
4. Type a name for the variable in the Name box, for example “Reminder”.
OpenOffice.org User Guide for 2.x 147
Comentarios a estos manuales