# Inserting Cross-References

/text/swriter/guide/references.xhp
references; inserting cross-references
cross-references; inserting and updating
tables; cross-referencing
pictures; cross-referencing
objects; cross-referencing
OLE objects;cross-referencing
draw objects;cross-referencing
updating;cross-references
inserting;cross-references
Inserting Cross-References
Cross-references allow you to jump to specific text passages and objects in a single document. A cross-reference consists of a target and a reference that are inserted as fields in the document.
Objects with captions and bookmarks can be used as targets.
Cross-Referencing Text
Before you can insert a cross-reference, you must first specify the targets in your text.
To Insert a Target
- Select the text that you want to use as a target for the cross-reference.
- Choose Insert - Cross-reference.
- In the Type list, select “Set Reference”.
- Type a name for the target in the Name box. The selected text is displayed in the Value box.
- Click Insert. The name of the target is added to the Selection list.
Leave the dialog open and proceed to the next section.
To Create a Cross-Reference to a Target
- Position the cursor in the text where you want to insert a cross-reference.
- Choose Insert - Cross-reference to open the dialog, if it is not open already.
- In the Type list, select "Insert Reference".
- In the Selection list, select the target that you want to cross-reference.
- In the Insert reference to list, select the format for the cross-reference. The format specifies the type of information that is displayed as the cross-reference. For example, "Reference" inserts the target text, and "Page" inserts the page number where the target is located. For footnotes the footnote number is inserted.
- Click Insert.
- Click Close when finished.
Cross-Referencing an Object
You can cross-reference most objects in your document, such as graphics, drawing objects, OLE objects, and tables, so long as they have a caption. To add a caption to an object, select the object, and then choose Insert - Caption.
- Click in the document where you want to insert the cross-reference.
- Choose Insert - Cross-reference.
- In the Type list, select the caption category of the object.
- In the Selection list, select the caption number of the object that you want to cross-reference.
- In the Insert reference to list, select the format of the cross-reference. The format specifies the type of information that is displayed as the cross-reference. For example, "Reference" inserts the caption category and caption text of the object.
- Click Insert.
- Click Close when finished.
Updating Cross-References
To manually update the cross-references in a document, press F9.
Choose View - Fields to switch between viewing the reference names and the reference contents.