1<?xml version="1.0" encoding="UTF-8"?> 2 3 4 5<!-- 6 *********************************************************************** 7 * 8 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 9 * 10 * Copyright 2000, 2010 Oracle and/or its affiliates. 11 * 12 * OpenOffice.org - a multi-platform office productivity suite 13 * 14 * This file is part of OpenOffice.org. 15 * 16 * OpenOffice.org is free software: you can redistribute it and/or modify 17 * it under the terms of the GNU Lesser General Public License version 3 18 * only, as published by the Free Software Foundation. 19 * 20 * OpenOffice.org is distributed in the hope that it will be useful, 21 * but WITHOUT ANY WARRANTY; without even the implied warranty of 22 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 23 * GNU Lesser General Public License version 3 for more details 24 * (a copy is included in the LICENSE file that accompanied this code). 25 * 26 * You should have received a copy of the GNU Lesser General Public License 27 * version 3 along with OpenOffice.org. If not, see 28 * <http://www.openoffice.org/license.html> 29 * for a copy of the LGPLv3 License. 30 * 31 ************************************************************************ 32 --> 33 34 35 <helpdocument version="1.0"> 36<meta> 37<topic id="textsharedguidehyperlink_insertxml" indexer="include" status="PUBLISH"> 38<title id="tit" xml-lang="en-US">Inserting Hyperlinks</title> 39<filename>/text/shared/guide/hyperlink_insert.xhp</filename> 40</topic> 41</meta> 42<body> 43<bookmark xml-lang="en-US" branch="index" id="bm_id3150789"><bookmark_value>hyperlinks; inserting</bookmark_value> 44<bookmark_value>links; inserting</bookmark_value> 45<bookmark_value>inserting; hyperlinks</bookmark_value> 46</bookmark> 47<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> 48</variable></paragraph> 49<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> 50<list type="ordered"> 51<listitem> 52<paragraph role="listitem" id="par_id3153527" xml-lang="en-US" l10n="U" oldref="7">Display the <emph>Hyperlink</emph> 53<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> 54</listitem> 55<listitem> 56<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> 57<emph>Bar</emph>. The hyperlink is inserted as text.</paragraph> 58</listitem> 59<listitem> 60<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> 61</listitem> 62</list> 63<table id="tbl_id3154306"> 64<tablerow> 65<tablecell colspan="" rowspan=""> 66<paragraph role="paragraph" id="par_id3150275" xml-lang="en-US" l10n="E"> 67<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> 68 </image></paragraph> 69</tablecell> 70<tablecell colspan="" rowspan=""> 71<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> 72<emph>Bar</emph> to define the hyperlink, click the icon on the <emph>Standard</emph> bar.</paragraph> 73</tablecell> 74</tablerow> 75</table> 76<list type="unordered"> 77<listitem> 78<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> 79</listitem> 80<listitem> 81<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> 82</listitem> 83</list> 84<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> 85<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> 86<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> 87<embed href="text/shared/00/00000004.xhp#related"/> 88<embed href="text/shared/guide/hyperlink_rel_abs.xhp#hyperlink_rel_abs"/> 89<switch select="appl"> 90<case select="WRITER"><embed href="text/swriter/guide/references.xhp#references"/> 91</case> 92</switch></body> 93</helpdocument> 94