1cdf0e10cSrcweir<?xml version="1.0" encoding="UTF-8"?>
2cdf0e10cSrcweir<helpdocument version="1.0">
3cdf0e10cSrcweir
4*0e4b25e7SAndrew Rist<!--***********************************************************
5cdf0e10cSrcweir *
6*0e4b25e7SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one
7*0e4b25e7SAndrew Rist * or more contributor license agreements.  See the NOTICE file
8*0e4b25e7SAndrew Rist * distributed with this work for additional information
9*0e4b25e7SAndrew Rist * regarding copyright ownership.  The ASF licenses this file
10*0e4b25e7SAndrew Rist * to you under the Apache License, Version 2.0 (the
11*0e4b25e7SAndrew Rist * "License"); you may not use this file except in compliance
12*0e4b25e7SAndrew Rist * with the License.  You may obtain a copy of the License at
13*0e4b25e7SAndrew Rist *
14*0e4b25e7SAndrew Rist *   http://www.apache.org/licenses/LICENSE-2.0
15*0e4b25e7SAndrew Rist *
16*0e4b25e7SAndrew Rist * Unless required by applicable law or agreed to in writing,
17*0e4b25e7SAndrew Rist * software distributed under the License is distributed on an
18*0e4b25e7SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
19*0e4b25e7SAndrew Rist * KIND, either express or implied.  See the License for the
20*0e4b25e7SAndrew Rist * specific language governing permissions and limitations
21*0e4b25e7SAndrew Rist * under the License.
22*0e4b25e7SAndrew Rist *
23*0e4b25e7SAndrew Rist ***********************************************************-->
24*0e4b25e7SAndrew Rist
25*0e4b25e7SAndrew Rist
26cdf0e10cSrcweir
27cdf0e10cSrcweir
28cdf0e10cSrcweir<meta>
29cdf0e10cSrcweir      <topic id="textswriterguidereferencesxml" indexer="include">
30cdf0e10cSrcweir         <title xml-lang="en-US" id="tit">Inserting Cross-References</title>
31cdf0e10cSrcweir         <filename>/text/swriter/guide/references.xhp</filename>
32cdf0e10cSrcweir      </topic>
33cdf0e10cSrcweir   </meta>
34cdf0e10cSrcweir   <body>
35cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="index" id="bm_id3145087"><bookmark_value>references; inserting cross-references</bookmark_value>
36cdf0e10cSrcweir      <bookmark_value>cross-references; inserting and updating</bookmark_value>
37cdf0e10cSrcweir      <bookmark_value>tables; cross-referencing</bookmark_value>
38cdf0e10cSrcweir      <bookmark_value>pictures; cross-referencing</bookmark_value>
39cdf0e10cSrcweir      <bookmark_value>objects; cross-referencing</bookmark_value>
40cdf0e10cSrcweir      <bookmark_value>OLE objects;cross-referencing</bookmark_value>
41cdf0e10cSrcweir      <bookmark_value>draw objects;cross-referencing</bookmark_value>
42cdf0e10cSrcweir      <bookmark_value>updating;cross-references</bookmark_value>
43cdf0e10cSrcweir      <bookmark_value>inserting;cross-references</bookmark_value>
44cdf0e10cSrcweir</bookmark>
45cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3145087" role="heading" level="1" l10n="U"
46cdf0e10cSrcweir                 oldref="28"><variable id="references"><link href="text/swriter/guide/references.xhp" name="Inserting Cross-References">Inserting Cross-References</link>
47cdf0e10cSrcweir</variable></paragraph>
48cdf0e10cSrcweir      <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>
49cdf0e10cSrcweir      <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>
50cdf0e10cSrcweir      <paragraph xml-lang="en-US" id="hd_id3149833" role="heading" level="2" l10n="U"
51cdf0e10cSrcweir                 oldref="38">Cross-Referencing Text</paragraph>
52cdf0e10cSrcweir      <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>
53cdf0e10cSrcweir      <paragraph xml-lang="en-US" id="hd_id3156105" role="heading" level="3" l10n="U"
54cdf0e10cSrcweir                 oldref="52">To Insert a Target</paragraph>
55cdf0e10cSrcweir      <list type="ordered">
56cdf0e10cSrcweir         <listitem>
57cdf0e10cSrcweir            <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>
58cdf0e10cSrcweir         </listitem>
59cdf0e10cSrcweir         <listitem>
60cdf0e10cSrcweir            <paragraph xml-lang="en-US" id="par_id3153125" role="listitem" l10n="U" oldref="41">Choose <emph>Insert - Cross-reference</emph>.</paragraph>
61cdf0e10cSrcweir         </listitem>
62cdf0e10cSrcweir         <listitem>
63cdf0e10cSrcweir            <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>
64cdf0e10cSrcweir         </listitem>
65cdf0e10cSrcweir         <listitem>
66cdf0e10cSrcweir            <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>
67cdf0e10cSrcweir         </listitem>
68cdf0e10cSrcweir         <listitem>
69cdf0e10cSrcweir            <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>
70cdf0e10cSrcweir               <emph/>list.</paragraph>
71cdf0e10cSrcweir         </listitem>
72cdf0e10cSrcweir      </list>
73cdf0e10cSrcweir      <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>
74cdf0e10cSrcweir      <paragraph xml-lang="en-US" id="hd_id3153370" role="heading" level="3" l10n="U"
75cdf0e10cSrcweir                 oldref="53">To Create a Cross-Reference to a Target</paragraph>
76cdf0e10cSrcweir      <list type="ordered">
77cdf0e10cSrcweir         <listitem>
78cdf0e10cSrcweir            <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>
79cdf0e10cSrcweir         </listitem>
80cdf0e10cSrcweir         <listitem>
81cdf0e10cSrcweir            <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>
82cdf0e10cSrcweir         </listitem>
83cdf0e10cSrcweir         <listitem>
84cdf0e10cSrcweir            <paragraph xml-lang="en-US" id="par_id3153392" role="listitem" l10n="U" oldref="46">In the <emph>Type</emph> list, select "Insert Reference".</paragraph>
85cdf0e10cSrcweir         </listitem>
86cdf0e10cSrcweir         <listitem>
87cdf0e10cSrcweir            <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>
88cdf0e10cSrcweir         </listitem>
89cdf0e10cSrcweir         <listitem>
90cdf0e10cSrcweir            <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>
91cdf0e10cSrcweir         </listitem>
92cdf0e10cSrcweir         <listitem>
93cdf0e10cSrcweir            <paragraph xml-lang="en-US" id="par_id3155895" role="listitem" l10n="U" oldref="49">Click <emph>Insert</emph>.</paragraph>
94cdf0e10cSrcweir         </listitem>
95cdf0e10cSrcweir         <listitem>
96cdf0e10cSrcweir            <paragraph xml-lang="en-US" id="par_id3148685" role="listitem" l10n="U" oldref="54">Click <emph>Close</emph> when finished.</paragraph>
97cdf0e10cSrcweir         </listitem>
98cdf0e10cSrcweir      </list>
99cdf0e10cSrcweir      <paragraph xml-lang="en-US" id="hd_id3149980" role="heading" level="2" l10n="U"
100cdf0e10cSrcweir                 oldref="29">Cross-Referencing an Object</paragraph>
101cdf0e10cSrcweir      <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>
102cdf0e10cSrcweir      <list type="ordered">
103cdf0e10cSrcweir         <listitem>
104cdf0e10cSrcweir            <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>
105cdf0e10cSrcweir         </listitem>
106cdf0e10cSrcweir         <listitem>
107cdf0e10cSrcweir            <paragraph xml-lang="en-US" id="par_id3150212" role="listitem" l10n="U" oldref="11">Choose <emph>Insert - Cross-reference</emph>.</paragraph>
108cdf0e10cSrcweir         </listitem>
109cdf0e10cSrcweir         <listitem>
110cdf0e10cSrcweir            <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>
111cdf0e10cSrcweir         </listitem>
112cdf0e10cSrcweir         <listitem>
113cdf0e10cSrcweir            <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>
114cdf0e10cSrcweir         </listitem>
115cdf0e10cSrcweir         <listitem>
116cdf0e10cSrcweir            <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>
117cdf0e10cSrcweir         </listitem>
118cdf0e10cSrcweir         <listitem>
119cdf0e10cSrcweir            <paragraph xml-lang="en-US" id="par_id3150535" role="listitem" l10n="U" oldref="35">Click <emph>Insert</emph>.</paragraph>
120cdf0e10cSrcweir         </listitem>
121cdf0e10cSrcweir         <listitem>
122cdf0e10cSrcweir            <paragraph xml-lang="en-US" id="par_id3151092" role="listitem" l10n="U" oldref="55">Click <emph>Close</emph> when finished.</paragraph>
123cdf0e10cSrcweir         </listitem>
124cdf0e10cSrcweir      </list>
125cdf0e10cSrcweir      <paragraph xml-lang="en-US" id="hd_id3151115" role="heading" level="2" l10n="U"
126cdf0e10cSrcweir                 oldref="56">Updating Cross-References</paragraph>
127cdf0e10cSrcweir      <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>
128cdf0e10cSrcweir      <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>
129cdf0e10cSrcweir      <embed href="text/shared/00/00000004.xhp#related"/>
130cdf0e10cSrcweir      <embed href="text/swriter/guide/references_modify.xhp#references_modify"/>
131cdf0e10cSrcweir      <embed href="text/swriter/guide/hyperlinks.xhp#hyperlinks"/>
132cdf0e10cSrcweir      <embed href="text/shared/guide/hyperlink_insert.xhp#hyperlink_insert"/>
133cdf0e10cSrcweir   </body>
134cdf0e10cSrcweir</helpdocument>