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