1*cdf0e10cSrcweir<?xml version="1.0" encoding="UTF-8"?>
2*cdf0e10cSrcweir<helpdocument version="1.0">
3*cdf0e10cSrcweir
4*cdf0e10cSrcweir<!--
5*cdf0e10cSrcweir***********************************************************************
6*cdf0e10cSrcweir *
7*cdf0e10cSrcweir * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
8*cdf0e10cSrcweir *
9*cdf0e10cSrcweir * Copyright 2000, 2010 Oracle and/or its affiliates.
10*cdf0e10cSrcweir *
11*cdf0e10cSrcweir * OpenOffice.org - a multi-platform office productivity suite
12*cdf0e10cSrcweir *
13*cdf0e10cSrcweir * This file is part of OpenOffice.org.
14*cdf0e10cSrcweir *
15*cdf0e10cSrcweir * OpenOffice.org is free software: you can redistribute it and/or modify
16*cdf0e10cSrcweir * it under the terms of the GNU Lesser General Public License version 3
17*cdf0e10cSrcweir * only, as published by the Free Software Foundation.
18*cdf0e10cSrcweir *
19*cdf0e10cSrcweir * OpenOffice.org is distributed in the hope that it will be useful,
20*cdf0e10cSrcweir * but WITHOUT ANY WARRANTY; without even the implied warranty of
21*cdf0e10cSrcweir * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
22*cdf0e10cSrcweir * GNU Lesser General Public License version 3 for more details
23*cdf0e10cSrcweir * (a copy is included in the LICENSE file that accompanied this code).
24*cdf0e10cSrcweir *
25*cdf0e10cSrcweir * You should have received a copy of the GNU Lesser General Public License
26*cdf0e10cSrcweir * version 3 along with OpenOffice.org.  If not, see
27*cdf0e10cSrcweir * <http://www.openoffice.org/license.html>
28*cdf0e10cSrcweir * for a copy of the LGPLv3 License.
29*cdf0e10cSrcweir *
30*cdf0e10cSrcweir ************************************************************************
31*cdf0e10cSrcweir -->
32*cdf0e10cSrcweir
33*cdf0e10cSrcweir
34*cdf0e10cSrcweir<meta>
35*cdf0e10cSrcweir      <topic id="textswriterguidereferencesxml" indexer="include">
36*cdf0e10cSrcweir         <title xml-lang="en-US" id="tit">Inserting Cross-References</title>
37*cdf0e10cSrcweir         <filename>/text/swriter/guide/references.xhp</filename>
38*cdf0e10cSrcweir      </topic>
39*cdf0e10cSrcweir   </meta>
40*cdf0e10cSrcweir   <body>
41*cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="index" id="bm_id3145087"><bookmark_value>references; inserting cross-references</bookmark_value>
42*cdf0e10cSrcweir      <bookmark_value>cross-references; inserting and updating</bookmark_value>
43*cdf0e10cSrcweir      <bookmark_value>tables; cross-referencing</bookmark_value>
44*cdf0e10cSrcweir      <bookmark_value>pictures; cross-referencing</bookmark_value>
45*cdf0e10cSrcweir      <bookmark_value>objects; cross-referencing</bookmark_value>
46*cdf0e10cSrcweir      <bookmark_value>OLE objects;cross-referencing</bookmark_value>
47*cdf0e10cSrcweir      <bookmark_value>draw objects;cross-referencing</bookmark_value>
48*cdf0e10cSrcweir      <bookmark_value>updating;cross-references</bookmark_value>
49*cdf0e10cSrcweir      <bookmark_value>inserting;cross-references</bookmark_value>
50*cdf0e10cSrcweir</bookmark>
51*cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id3145087" role="heading" level="1" l10n="U"
52*cdf0e10cSrcweir                 oldref="28"><variable id="references"><link href="text/swriter/guide/references.xhp" name="Inserting Cross-References">Inserting Cross-References</link>
53*cdf0e10cSrcweir</variable></paragraph>
54*cdf0e10cSrcweir      <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>
55*cdf0e10cSrcweir      <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>
56*cdf0e10cSrcweir      <paragraph xml-lang="en-US" id="hd_id3149833" role="heading" level="2" l10n="U"
57*cdf0e10cSrcweir                 oldref="38">Cross-Referencing Text</paragraph>
58*cdf0e10cSrcweir      <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>
59*cdf0e10cSrcweir      <paragraph xml-lang="en-US" id="hd_id3156105" role="heading" level="3" l10n="U"
60*cdf0e10cSrcweir                 oldref="52">To Insert a Target</paragraph>
61*cdf0e10cSrcweir      <list type="ordered">
62*cdf0e10cSrcweir         <listitem>
63*cdf0e10cSrcweir            <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>
64*cdf0e10cSrcweir         </listitem>
65*cdf0e10cSrcweir         <listitem>
66*cdf0e10cSrcweir            <paragraph xml-lang="en-US" id="par_id3153125" role="listitem" l10n="U" oldref="41">Choose <emph>Insert - Cross-reference</emph>.</paragraph>
67*cdf0e10cSrcweir         </listitem>
68*cdf0e10cSrcweir         <listitem>
69*cdf0e10cSrcweir            <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>
70*cdf0e10cSrcweir         </listitem>
71*cdf0e10cSrcweir         <listitem>
72*cdf0e10cSrcweir            <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>
73*cdf0e10cSrcweir         </listitem>
74*cdf0e10cSrcweir         <listitem>
75*cdf0e10cSrcweir            <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>
76*cdf0e10cSrcweir               <emph/>list.</paragraph>
77*cdf0e10cSrcweir         </listitem>
78*cdf0e10cSrcweir      </list>
79*cdf0e10cSrcweir      <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>
80*cdf0e10cSrcweir      <paragraph xml-lang="en-US" id="hd_id3153370" role="heading" level="3" l10n="U"
81*cdf0e10cSrcweir                 oldref="53">To Create a Cross-Reference to a Target</paragraph>
82*cdf0e10cSrcweir      <list type="ordered">
83*cdf0e10cSrcweir         <listitem>
84*cdf0e10cSrcweir            <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>
85*cdf0e10cSrcweir         </listitem>
86*cdf0e10cSrcweir         <listitem>
87*cdf0e10cSrcweir            <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>
88*cdf0e10cSrcweir         </listitem>
89*cdf0e10cSrcweir         <listitem>
90*cdf0e10cSrcweir            <paragraph xml-lang="en-US" id="par_id3153392" role="listitem" l10n="U" oldref="46">In the <emph>Type</emph> list, select "Insert Reference".</paragraph>
91*cdf0e10cSrcweir         </listitem>
92*cdf0e10cSrcweir         <listitem>
93*cdf0e10cSrcweir            <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>
94*cdf0e10cSrcweir         </listitem>
95*cdf0e10cSrcweir         <listitem>
96*cdf0e10cSrcweir            <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>
97*cdf0e10cSrcweir         </listitem>
98*cdf0e10cSrcweir         <listitem>
99*cdf0e10cSrcweir            <paragraph xml-lang="en-US" id="par_id3155895" role="listitem" l10n="U" oldref="49">Click <emph>Insert</emph>.</paragraph>
100*cdf0e10cSrcweir         </listitem>
101*cdf0e10cSrcweir         <listitem>
102*cdf0e10cSrcweir            <paragraph xml-lang="en-US" id="par_id3148685" role="listitem" l10n="U" oldref="54">Click <emph>Close</emph> when finished.</paragraph>
103*cdf0e10cSrcweir         </listitem>
104*cdf0e10cSrcweir      </list>
105*cdf0e10cSrcweir      <paragraph xml-lang="en-US" id="hd_id3149980" role="heading" level="2" l10n="U"
106*cdf0e10cSrcweir                 oldref="29">Cross-Referencing an Object</paragraph>
107*cdf0e10cSrcweir      <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>
108*cdf0e10cSrcweir      <list type="ordered">
109*cdf0e10cSrcweir         <listitem>
110*cdf0e10cSrcweir            <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>
111*cdf0e10cSrcweir         </listitem>
112*cdf0e10cSrcweir         <listitem>
113*cdf0e10cSrcweir            <paragraph xml-lang="en-US" id="par_id3150212" role="listitem" l10n="U" oldref="11">Choose <emph>Insert - Cross-reference</emph>.</paragraph>
114*cdf0e10cSrcweir         </listitem>
115*cdf0e10cSrcweir         <listitem>
116*cdf0e10cSrcweir            <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>
117*cdf0e10cSrcweir         </listitem>
118*cdf0e10cSrcweir         <listitem>
119*cdf0e10cSrcweir            <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>
120*cdf0e10cSrcweir         </listitem>
121*cdf0e10cSrcweir         <listitem>
122*cdf0e10cSrcweir            <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>
123*cdf0e10cSrcweir         </listitem>
124*cdf0e10cSrcweir         <listitem>
125*cdf0e10cSrcweir            <paragraph xml-lang="en-US" id="par_id3150535" role="listitem" l10n="U" oldref="35">Click <emph>Insert</emph>.</paragraph>
126*cdf0e10cSrcweir         </listitem>
127*cdf0e10cSrcweir         <listitem>
128*cdf0e10cSrcweir            <paragraph xml-lang="en-US" id="par_id3151092" role="listitem" l10n="U" oldref="55">Click <emph>Close</emph> when finished.</paragraph>
129*cdf0e10cSrcweir         </listitem>
130*cdf0e10cSrcweir      </list>
131*cdf0e10cSrcweir      <paragraph xml-lang="en-US" id="hd_id3151115" role="heading" level="2" l10n="U"
132*cdf0e10cSrcweir                 oldref="56">Updating Cross-References</paragraph>
133*cdf0e10cSrcweir      <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>
134*cdf0e10cSrcweir      <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>
135*cdf0e10cSrcweir      <embed href="text/shared/00/00000004.xhp#related"/>
136*cdf0e10cSrcweir      <embed href="text/swriter/guide/references_modify.xhp#references_modify"/>
137*cdf0e10cSrcweir      <embed href="text/swriter/guide/hyperlinks.xhp#hyperlinks"/>
138*cdf0e10cSrcweir      <embed href="text/shared/guide/hyperlink_insert.xhp#hyperlink_insert"/>
139*cdf0e10cSrcweir   </body>
140*cdf0e10cSrcweir</helpdocument>