xref: /trunk/main/helpcontent2/source/text/shared/guide/hyperlink_insert.xhp (revision 8e9b354db194089eefda0c2e615ab9aaa8e92b16)
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="textsharedguidehyperlink_insertxml" indexer="include" status="PUBLISH">
27<title id="tit" xml-lang="en-US">Inserting Hyperlinks</title>
28<filename>/text/shared/guide/hyperlink_insert.xhp</filename>
29</topic>
30</meta>
31<body>
32<bookmark xml-lang="en-US" branch="index" id="bm_id3150789"><bookmark_value>hyperlinks; inserting</bookmark_value>
33<bookmark_value>links; inserting</bookmark_value>
34<bookmark_value>inserting; hyperlinks</bookmark_value>
35</bookmark>
36<paragraph role="heading" id="hd_id3150789" xml-lang="en-US" level="1" l10n="U" oldref="4"><variable id="hyperlink_insert"><link href="text/shared/guide/hyperlink_insert.xhp" name="Inserting Hyperlinks">Inserting Hyperlinks</link>
37</variable></paragraph>
38<paragraph role="paragraph" id="par_id3149095" xml-lang="en-US" l10n="U" oldref="5">You can insert hyperlinks in two ways: as text or as a button. In both cases, the visible text can be different from the URL.</paragraph>
39<list type="ordered">
40<listitem>
41<paragraph role="listitem" id="par_id3153527" xml-lang="en-US" l10n="U" oldref="7">Display the <emph>Hyperlink</emph>
42<emph>Bar</emph> by choosing <emph>View - Toolbars - Hyperlink Bar</emph>. Type the visible text in the left field and the full URL in the right field, including http:// or file://.</paragraph>
43</listitem>
44<listitem>
45<paragraph role="listitem" id="par_id3149811" xml-lang="en-US" l10n="U" oldref="8">Place the text cursor in the document at the point where you want to insert the hyperlink. Click the <emph>Hyperlink</emph> icon on the <emph>Hyperlink</emph>
46<emph>Bar</emph>. The hyperlink is inserted as text.</paragraph>
47</listitem>
48<listitem>
49<paragraph role="listitem" id="par_id3155421" xml-lang="en-US" l10n="U" oldref="31">If you want to insert the hyperlink as a button, click and hold the <emph>Hyperlink</emph> icon and select <emph>As Button</emph> from the sub-menu.</paragraph>
50</listitem>
51</list>
52<table id="tbl_id3154306">
53<tablerow>
54<tablecell colspan="" rowspan="">
55<paragraph role="paragraph" id="par_id3150275" xml-lang="en-US" l10n="E">
56<image id="img_id3149763" src="res/commandimagelist/sc_hyperlinkdialog.png" width="0.222inch" height="0.222inch"><alt id="alt_id3149763" xml-lang="en-US">Icon</alt>
57</image></paragraph>
58</tablecell>
59<tablecell colspan="" rowspan="">
60<paragraph role="paragraph" id="par_id3151385" xml-lang="en-US" l10n="CHG" oldref="30">To use the <link href="text/shared/02/09070000.xhp" name="Hyperlink dialog">Hyperlink dialog</link> instead of the <emph>Hyperlink</emph>
61<emph>Bar</emph> to define the hyperlink, click the icon on the <emph>Standard</emph> bar.</paragraph>
62</tablecell>
63</tablerow>
64</table>
65<list type="unordered">
66<listitem>
67<paragraph role="paragraph" id="par_id3154685" xml-lang="en-US" l10n="CHG" oldref="23">To jump to a specific line in a text document, first enter a bookmark at that position (<emph>Insert - Bookmark</emph>). </paragraph>
68</listitem>
69<listitem>
70<paragraph role="paragraph" id="par_idN1076D" xml-lang="en-US" l10n="NEW">To jump to a cell in a spreadsheet, first enter a name for the cell (<emph>Insert - Names - Define</emph>).</paragraph>
71</listitem>
72</list>
73<paragraph role="tip" id="par_id3144432" xml-lang="en-US" l10n="U" oldref="32">In the <emph>URL</emph> combo box, enter only the short form of the URL when jumping within the same document: If the bookmark is called <emph>Target</emph>, enter <emph>Target</emph>. To jump to another document, enter the complete URL.</paragraph>
74<paragraph role="tip" id="par_id3152887" xml-lang="en-US" l10n="U" oldref="24">Hyperlinks can also be inserted by drag-and-drop from the Navigator. Hyperlinks can refer to references, headings, graphics, tables, objects, directories or bookmarks.</paragraph>
75<paragraph role="tip" id="par_id3146975" xml-lang="en-US" l10n="U" oldref="34">If you wish to insert in a text a hyperlink that refers to Table 1, drag the entry Table 1 from the Navigator and drop it in the text. To do this, the <emph>Insert as Hyperlink</emph> drag mode must be selected in the Navigator.</paragraph>
76<embed href="text/shared/00/00000004.xhp#related"/>
77<embed href="text/shared/guide/hyperlink_rel_abs.xhp#hyperlink_rel_abs"/>
78<switch select="appl">
79<case select="WRITER"><embed href="text/swriter/guide/references.xhp#references"/>
80</case>
81</switch></body>
82</helpdocument>
83