4) In the Name field in the lower right hand column, type the name
of the reference you set in the subdocument you are referring to.
In our example, the reference is in Chapter 3, and its name is
word count
.
5) Click Insert, type any text you want to appear between the
reference and page number (such as “on page”), and then insert
another reference with the Page format. Nothing will appear in
the subdocument except tiny gray bars indicating the fields. If you
hover the mouse pointer over one of these fields, you should see
the field name (Figure 373).
Figure 373: Viewing the field name
(You can turn on the display of field codes by clicking View >
Field Names. The two fields shown as gray lines in Figure 373
now look like Figure 374.)
Figure 374. Displaying field codes
6) After you have inserted all the cross-references required in the
subdocument, save and close it and return to the master
document window.
Within the master document, navigate to the page of the
subdocument on which you inserted the cross-reference field. You
should now see the text of the cross-reference appear in the spot
where you inserted it (Figure 375), because within the master
document, the subdocument can find the target of that field
reference.
Figure 375. Field contents visible
This technique also works if you open a subdocument directly in step 2
(that is, not from within the master document) and insert a cross-
reference field.
430 OpenOffice.org 3 Writer Guide
Comments to this Manuals