Using other fields to hold information that changes

From Apache OpenOffice Wiki
Jump to: navigation, search

One way that people use fields is to hold information that is likely to change during the course of a project. For example, the name of a manager, a product, or even your entire company may change just before the document is due to be printed. If you have inserted the changeable information as fields, you can change the information in one place, and it will automatically change in all the places where that field occurs.

Writer provides several places where you can store the information referred to by a field. We will look at some of them here.

Seven document properties (Time, Date, Title, Subject, Author, Page Number, and Page Count) are on the Insert > Fields menu. To insert one of these fields, click on it in the menu.

Other document properties are on the DocInformation and Document tabs of the Fields dialog box, reached by clicking Insert > Fields > Other or pressing Ctrl+F2. Notice the Custom item in the Type list; this is derived from the Custom Properties page of the Document Properties dialog box..

To insert one of these fields, select it in the Type list and then select from the Select and Format lists if choices appear. Finally, click Insert.

Inserting a Date Modified field using the DocInformation tab of the Fields dialog box.
Inserting a File name field using the Document tab of the Fields dialog box.

Some of these items are picked up from the User Data page of the Options dialog box (covered in Chapter 2, Setting up Writer), so make sure the information on that page is correct.

Tip.png Although these fields are often used to hold information that changes, you can make the content unchangeable by selecting the Fixed content checkbox when inserting the field. If necessary, you can come back to this dialog box later and deselect this checkbox to make the field variable again.

Content on this page is licensed under the Creative Common Attribution 3.0 license (CC-BY).
Personal tools