summaryrefslogtreecommitdiff
path: root/helpcontent2/source/text/swriter/guide/references.xhp
blob: 45aed24fd88597aef493f896c24c56c5a6924e86 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
<?xml version="1.0" encoding="UTF-8"?>

<!--
 ***********************************************************************
 *
 *  OpenOffice.org - a multi-platform office productivity suite
 *
 *  $RCSfile: references.xhp,v $fileonly,v $
 *
 *  $Revision: 1.5 $
 *
 *  last change: $Author: rt $ $Date: 2008-01-29 15:31:21 $
 *
 *  The Contents of this file are made available subject to
 *  the terms of GNU Lesser General Public License Version 2.1.
 *
 *
 *    GNU Lesser General Public License Version 2.1
 *    =============================================
 *    Copyright 2005 by Sun Microsystems, Inc.
 *    901 San Antonio Road, Palo Alto, CA 94303, USA
 *
 *    This library is free software; you can redistribute it and/or
 *    modify it under the terms of the GNU Lesser General Public
 *    License version 2.1, as published by the Free Software Foundation.
 *
 *    This library is distributed in the hope that it will be useful,
 *    but WITHOUT ANY WARRANTY; without even the implied warranty of
 *    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 *    Lesser General Public License for more details.
 *
 *    You should have received a copy of the GNU Lesser General Public
 *    License along with this library; if not, write to the Free Software
 *    Foundation, Inc., 59 Temple Place, Suite 330, Boston,
 *    MA  02111-1307  USA
 *
 ************************************************************************
 -->


		<helpdocument version="1.0">
<meta>
<topic id="textswriterguidereferencesxml" indexer="include" status="PUBLISH">
<title id="tit" xml-lang="en-US">Inserting Cross-References</title>
<filename>/text/swriter/guide/references.xhp</filename>
</topic>
</meta>
<body>
<bookmark xml-lang="en-US" branch="index" id="bm_id3145087"><bookmark_value>references; inserting cross-references</bookmark_value>
<bookmark_value>cross-references; inserting and updating</bookmark_value>
<bookmark_value>tables; cross-referencing</bookmark_value>
<bookmark_value>pictures; cross-referencing</bookmark_value>
<bookmark_value>objects; cross-referencing</bookmark_value>
<bookmark_value>OLE objects;cross-referencing</bookmark_value>
<bookmark_value>draw objects;cross-referencing</bookmark_value>
<bookmark_value>updating;cross-references</bookmark_value>
<bookmark_value>inserting;cross-references</bookmark_value>
</bookmark>
<paragraph role="heading" id="hd_id3145087" xml-lang="en-US" level="1" l10n="U" oldref="28"><variable id="references"><link href="text/swriter/guide/references.xhp" name="Inserting Cross-References">Inserting Cross-References</link>
</variable></paragraph>
<paragraph role="paragraph" id="par_id3159263" xml-lang="en-US" 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>
<paragraph role="paragraph" id="par_id3155860" xml-lang="en-US" l10n="U" oldref="21">Objects with captions and bookmarks can be used as targets.</paragraph>
<paragraph role="heading" id="hd_id3149833" xml-lang="en-US" level="2" l10n="U" oldref="38">Cross-Referencing Text</paragraph>
<paragraph role="paragraph" id="par_id3149846" xml-lang="en-US" l10n="U" oldref="39">Before you can insert a cross-reference, you must first specify the targets in your text.</paragraph>
<paragraph role="heading" id="hd_id3156105" xml-lang="en-US" level="3" l10n="U" oldref="52">To insert a target:</paragraph>
<list type="ordered">
<listitem>
<paragraph role="listitem" id="par_id3153408" xml-lang="en-US" l10n="U" oldref="40">Select the text that you want to use as a target for the cross-reference.</paragraph>
</listitem>
<listitem>
<paragraph role="listitem" id="par_id3153125" xml-lang="en-US" l10n="U" oldref="41">Choose <emph>Insert - Cross-reference</emph>.</paragraph>
</listitem>
<listitem>
<paragraph role="listitem" id="par_id3149634" xml-lang="en-US" l10n="U" oldref="42">In the <emph>Type</emph> list, select <emph>Set Reference</emph>.</paragraph>
</listitem>
<listitem>
<paragraph role="listitem" id="par_id3149614" xml-lang="en-US" 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>
</listitem>
<listitem>
<paragraph role="listitem" id="par_id3145110" xml-lang="en-US" l10n="U" oldref="44">Click <emph>Insert</emph>. The name of the target is added to the <emph>Selection </emph>list.</paragraph>
</listitem>
</list>
<paragraph role="paragraph" id="par_id3156257" xml-lang="en-US" l10n="U" oldref="45">Leave the dialog open and proceed to the next section.</paragraph>
<paragraph role="heading" id="hd_id3153370" xml-lang="en-US" level="3" l10n="U" oldref="53">To create a cross-reference to a target:</paragraph>
<list type="ordered">
<listitem>
<paragraph role="listitem" id="par_id7032074" xml-lang="en-US" l10n="NEW">Position the cursor in the text where you want to insert a cross-reference.</paragraph>
</listitem>
<listitem>
<paragraph role="listitem" id="par_id7796868" xml-lang="en-US" l10n="NEW">Choose <emph>Insert - Cross-reference</emph> to open the dialog, if it is not open already.</paragraph>
</listitem>
<listitem>
<paragraph role="listitem" id="par_id3153392" xml-lang="en-US" l10n="U" oldref="46">In the <emph>Type</emph> list, select "Insert Reference".</paragraph>
</listitem>
<listitem>
<paragraph role="listitem" id="par_id3154256" xml-lang="en-US" l10n="U" oldref="47">In the <emph>Selection</emph> list, select the target that you want to cross-reference.</paragraph>
</listitem>
<listitem>
<paragraph role="listitem" id="par_id3154856" xml-lang="en-US" l10n="U" oldref="48">In the <emph>Format</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.</paragraph>
</listitem>
<listitem>
<paragraph role="listitem" id="par_id3155895" xml-lang="en-US" l10n="U" oldref="49">Click <emph>Insert</emph>.</paragraph>
</listitem>
<listitem>
<paragraph role="listitem" id="par_id3148685" xml-lang="en-US" l10n="U" oldref="54">Click <emph>Close</emph> when finished.</paragraph>
</listitem>
</list>
<paragraph role="heading" id="hd_id3149980" xml-lang="en-US" level="2" l10n="U" oldref="29">Cross-Referencing an Object</paragraph>
<paragraph role="paragraph" id="par_id3149992" xml-lang="en-US" 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>
<list type="ordered">
<listitem>
<paragraph role="listitem" id="par_id3147123" xml-lang="en-US" l10n="U" oldref="14">Click in the document where you want to insert the cross-reference.</paragraph>
</listitem>
<listitem>
<paragraph role="listitem" id="par_id3150212" xml-lang="en-US" l10n="U" oldref="11">Choose <emph>Insert - Cross-reference</emph>.</paragraph>
</listitem>
<listitem>
<paragraph role="listitem" id="par_id3150236" xml-lang="en-US" l10n="U" oldref="32">In the <emph>Type</emph> list, select the caption category of the object.</paragraph>
</listitem>
<listitem>
<paragraph role="listitem" id="par_id3150942" xml-lang="en-US" l10n="U" oldref="33">In the <emph>Selection</emph> list, select the caption number of the object that you want to cross-reference.</paragraph>
</listitem>
<listitem>
<paragraph role="listitem" id="par_id3150968" xml-lang="en-US" l10n="U" oldref="34">In the <emph>Format</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>
</listitem>
<listitem>
<paragraph role="listitem" id="par_id3150535" xml-lang="en-US" l10n="U" oldref="35">Click <emph>Insert</emph>.</paragraph>
</listitem>
<listitem>
<paragraph role="listitem" id="par_id3151092" xml-lang="en-US" l10n="U" oldref="55">Click <emph>Close</emph> when finished.</paragraph>
</listitem>
</list>
<paragraph role="heading" id="hd_id3151115" xml-lang="en-US" level="2" l10n="U" oldref="56">Updating Cross-References</paragraph>
<paragraph role="paragraph" id="par_id3153594" xml-lang="en-US" l10n="U" oldref="51">To manually update the cross-references in a document, press F9.</paragraph>
<paragraph role="tip" id="par_id7321390" xml-lang="en-US" l10n="NEW">Choose <emph>View - Fields</emph> to switch between viewing the reference names and the reference contents.</paragraph>
<embed href="text/shared/00/00000004.xhp#related"/>
<embed href="text/swriter/guide/references_modify.xhp#references_modify"/>
<embed href="text/swriter/guide/hyperlinks.xhp#hyperlinks"/>
<embed href="text/shared/guide/hyperlink_insert.xhp#hyperlink_insert"/>
</body>
</helpdocument>