OpenOffice.org OpenOffice - 3.3 User Manual Page 400

  • Download
  • Add to my manuals
  • Print
  • Page
    / 464
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 399
Figure 398: Defining a variable to use with conditional content
5) A small gray mark should be visible where you inserted the field. Hover the
mouse pointer over this mark and you will see the field formula ProLite = Lite.
We will come back to this field later.
Tip
Because the gray mark is so small, you may have trouble finding it
again, especially if you have other fields in the document. You may
prefer to leave the variable field visible while you work, and change it
to invisible just before you create final copy.
At any time, you can place the insertion point just before the field and
choose Edit > Fields or right-click the field, and then click Fields on
the pop-up menu. On the Edit Fields dialog box (Figure 394), select or
deselect the Invisible option.
Apply the condition to the content
Now that you have defined the variable, you can use it in a condition statement. This
topic describes some of the possibilities.
Conditional text
First, let us set up some conditional text that will insert the words Great Product
Lite into the Lite version and Great Product Pro into the Pro version of the manual.
You would use this field whenever you want to mention the name of the product.
1) Place the cursor where you want one of these phrases to appear. (You can
move or delete it later, if you wish.)
2) Open the Fields dialog box by clicking Insert > Fields > Other, select the
Functions page, and select Conditional text in the Type list.
400 OpenOffice.org 3.3 Writer Guide
Page view 399
1 2 ... 395 396 397 398 399 400 401 402 403 404 405 ... 463 464

Comments to this Manuals

No comments