xref: /trunk/main/helpcontent2/source/text/swriter/guide/references.xhp (revision a3cdc23e488c57f3433f22cd4458e65c27aa499c)
1<?xml version="1.0" encoding="UTF-8"?>
2
3<!--***********************************************************
4 *
5 * Licensed to the Apache Software Foundation (ASF) under one
6 * or more contributor license agreements.  See the NOTICE file
7 * distributed with this work for additional information
8 * regarding copyright ownership.  The ASF licenses this file
9 * to you under the Apache License, Version 2.0 (the
10 * "License"); you may not use this file except in compliance
11 * with the License.  You may obtain a copy of the License at
12 *
13 *   http://www.apache.org/licenses/LICENSE-2.0
14 *
15 * Unless required by applicable law or agreed to in writing,
16 * software distributed under the License is distributed on an
17 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
18 * KIND, either express or implied.  See the License for the
19 * specific language governing permissions and limitations
20 * under the License.
21 *
22 ***********************************************************-->
23
24<helpdocument version="1.0">
25<meta>
26<topic id="textswriterguidereferencesxml" indexer="include">
27<title xml-lang="en-US" id="tit">Inserting Cross-References</title>
28<filename>/text/swriter/guide/references.xhp</filename>
29</topic>
30</meta>
31<body>
32<bookmark xml-lang="en-US" branch="index" id="bm_id3145087">
33<bookmark_value>references; inserting cross-references</bookmark_value>
34<bookmark_value>cross-references; inserting and updating</bookmark_value>
35<bookmark_value>tables; cross-referencing</bookmark_value>
36<bookmark_value>pictures; cross-referencing</bookmark_value>
37<bookmark_value>objects; cross-referencing</bookmark_value>
38<bookmark_value>OLE objects;cross-referencing</bookmark_value>
39<bookmark_value>draw objects;cross-referencing</bookmark_value>
40<bookmark_value>updating;cross-references</bookmark_value>
41<bookmark_value>inserting;cross-references</bookmark_value>
42</bookmark>
43<paragraph xml-lang="en-US" id="hd_id3145087" role="heading" level="1" l10n="U"><variable id="references"><link href="text/swriter/guide/references.xhp" name="Inserting Cross-References">Inserting Cross-References</link>
44</variable></paragraph>
45<paragraph xml-lang="en-US" id="par_id3159263" role="paragraph" l10n="CHG">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 <link href="text/swriter/guide/fields.xhp" name="fields">fields</link> in the document.</paragraph>
46<paragraph xml-lang="en-US" id="par_id3155860" role="paragraph" l10n="U">Objects with captions and bookmarks can be used as targets.</paragraph>
47<paragraph xml-lang="en-US" id="hd_id3149833" role="heading" level="2" l10n="U">Cross-Referencing Text</paragraph>
48<paragraph xml-lang="en-US" id="par_id3149846" role="paragraph" l10n="U">Before you can insert a cross-reference, you must first specify the targets in your text.</paragraph>
49<paragraph xml-lang="en-US" id="hd_id3156105" role="heading" level="3" l10n="U">To Insert a Target</paragraph>
50<list type="ordered">
51<listitem>
52<paragraph xml-lang="en-US" id="par_id3153408" role="listitem" l10n="U">Select the text that you want to use as a target for the cross-reference.</paragraph>
53</listitem>
54<listitem>
55<paragraph xml-lang="en-US" id="par_id3153125" role="listitem" l10n="U">Choose <emph>Insert - Cross-reference</emph>.</paragraph>
56</listitem>
57<listitem>
58<paragraph xml-lang="en-US" id="par_id3149634" role="listitem" l10n="U">In the <item type="menuitem">Type</item> list, select “Set Reference”.</paragraph>
59</listitem>
60<listitem>
61<paragraph xml-lang="en-US" id="par_id3149614" role="listitem" l10n="U">Type a name for the target in the <emph>Name</emph> box. The selected text is displayed in the <emph>Value</emph> box.</paragraph>
62</listitem>
63<listitem>
64<paragraph xml-lang="en-US" id="par_id3145110" role="listitem" l10n="U">Click <item type="menuitem">Insert</item>. The name of the target is added to the <item type="menuitem">Selection</item> list.</paragraph>
65</listitem>
66</list>
67<paragraph xml-lang="en-US" id="par_id3156257" role="paragraph" l10n="U">Leave the dialog open and proceed to the next section.</paragraph>
68<paragraph xml-lang="en-US" id="hd_id3153370" role="heading" level="3" l10n="U">To Create a Cross-Reference to a Target</paragraph>
69<list type="ordered">
70<listitem>
71<paragraph xml-lang="en-US" id="par_id7032074" role="listitem" l10n="NEW">Position the cursor in the text where you want to insert a cross-reference.</paragraph>
72</listitem>
73<listitem>
74<paragraph xml-lang="en-US" id="par_id7796868" role="listitem" l10n="NEW">Choose <emph>Insert - Cross-reference</emph> to open the dialog, if it is not open already.</paragraph>
75</listitem>
76<listitem>
77<paragraph xml-lang="en-US" id="par_id3153392" role="listitem" l10n="U">In the <emph>Type</emph> list, select "Insert Reference".</paragraph>
78</listitem>
79<listitem>
80<paragraph xml-lang="en-US" id="par_id3154256" role="listitem" l10n="U">In the <emph>Selection</emph> list, select the target that you want to cross-reference.</paragraph>
81</listitem>
82<listitem>
83<paragraph xml-lang="en-US" id="par_id3154856" role="listitem" l10n="CHG">In the <emph>Insert reference to</emph> list, select the format for the cross-reference. The <link href="text/swriter/01/04090002.xhp" name="format">format</link> 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.</paragraph>
84</listitem>
85<listitem>
86<paragraph xml-lang="en-US" id="par_id3155895" role="listitem" l10n="U">Click <emph>Insert</emph>.</paragraph>
87</listitem>
88<listitem>
89<paragraph xml-lang="en-US" id="par_id3148685" role="listitem" l10n="U">Click <emph>Close</emph> when finished.</paragraph>
90</listitem>
91</list>
92<paragraph xml-lang="en-US" id="hd_id3149980" role="heading" level="2" l10n="U">Cross-Referencing an Object</paragraph>
93<paragraph xml-lang="en-US" id="par_id3149992" role="paragraph" l10n="U">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 <link href="text/swriter/guide/captions.xhp" name="Insert - Caption"><emph>Insert - Caption</emph></link>.</paragraph>
94<list type="ordered">
95<listitem>
96<paragraph xml-lang="en-US" id="par_id3147123" role="listitem" l10n="U">Click in the document where you want to insert the cross-reference.</paragraph>
97</listitem>
98<listitem>
99<paragraph xml-lang="en-US" id="par_id3150212" role="listitem" l10n="U">Choose <emph>Insert - Cross-reference</emph>.</paragraph>
100</listitem>
101<listitem>
102<paragraph xml-lang="en-US" id="par_id3150236" role="listitem" l10n="U">In the <emph>Type</emph> list, select the caption category of the object.</paragraph>
103</listitem>
104<listitem>
105<paragraph xml-lang="en-US" id="par_id3150942" role="listitem" l10n="U">In the <emph>Selection</emph> list, select the caption number of the object that you want to cross-reference.</paragraph>
106</listitem>
107<listitem>
108<paragraph xml-lang="en-US" id="par_id3150968" role="listitem" l10n="CHG">In the <emph>Insert reference to</emph> list, select the format of the cross-reference. The <link href="text/swriter/01/04090002.xhp" name="format">format</link> 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.</paragraph>
109</listitem>
110<listitem>
111<paragraph xml-lang="en-US" id="par_id3150535" role="listitem" l10n="U">Click <emph>Insert</emph>.</paragraph>
112</listitem>
113<listitem>
114<paragraph xml-lang="en-US" id="par_id3151092" role="listitem" l10n="U">Click <emph>Close</emph> when finished.</paragraph>
115</listitem>
116</list>
117<paragraph xml-lang="en-US" id="hd_id3151115" role="heading" level="2" l10n="U">Updating Cross-References</paragraph>
118<paragraph xml-lang="en-US" id="par_id3153594" role="paragraph" l10n="U">To manually update the cross-references in a document, press F9.</paragraph>
119<paragraph xml-lang="en-US" id="par_id7321390" role="tip" l10n="NEW">Choose <emph>View - Fields</emph> to switch between viewing the reference names and the reference contents.</paragraph>
120<embed href="text/shared/00/00000004.xhp#related"/>
121<embed href="text/swriter/guide/references_modify.xhp#references_modify"/>
122<embed href="text/swriter/guide/hyperlinks.xhp#hyperlinks"/>
123<embed href="text/shared/guide/hyperlink_insert.xhp#hyperlink_insert"/>
124</body>
125</helpdocument>
126