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_editxml" indexer="include" status="PUBLISH">
27<title id="tit" xml-lang="en-US">Editing Hyperlinks</title>
28<filename>/text/shared/guide/hyperlink_edit.xhp</filename>
29</topic>
30</meta>
31<body>
32<bookmark xml-lang="en-US" branch="index" id="bm_id3153910">
33<bookmark_value>hyperlinks; editing</bookmark_value>
34<bookmark_value>links; editing hyperlinks</bookmark_value>
35<bookmark_value>editing; hyperlinks</bookmark_value>
36<bookmark_value>text attributes; hyperlinks</bookmark_value>
37<bookmark_value>buttons;editing hyperlink buttons</bookmark_value>
38<bookmark_value>URL;changing hyperlink URLs</bookmark_value>
39</bookmark><comment>MW deleted "changing;"</comment>
40<paragraph role="heading" id="hd_id3153910" xml-lang="en-US" level="1" l10n="U" oldref="11"><variable id="hyperlink_edit"><link href="text/shared/guide/hyperlink_edit.xhp" name="Editing Hyperlinks">Editing Hyperlinks</link>
41</variable></paragraph>
42<paragraph role="paragraph" id="par_id4124881" xml-lang="en-US" l10n="NEW">When you <switchinline select="sys"><caseinline select="MAC">Command</caseinline><defaultinline>Ctrl</defaultinline></switchinline>-click a hyperlink in a Writer document, your web browser opens with the requested web address. If you don't use a mouse, position the cursor inside the hyperlink and open the context menu by Shift+F10, then choose Open Hyperlink.</paragraph>
43<paragraph role="heading" id="hd_id3145071" xml-lang="en-US" level="2" l10n="U" oldref="26">Change the text of a hyperlink as follows</paragraph>
44<list type="unordered">
45<listitem>
46<paragraph role="listitem" id="par_id3166410" xml-lang="en-US" l10n="CHG" oldref="12">In Writer documents, you can click anywhere into a hyperlink and edit the visible text.</paragraph>
47</listitem>
48</list>
49<paragraph role="listitem" id="par_id2690511" xml-lang="en-US" l10n="NEW">If you leave the hyperlink by positioning the cursor somewhere else, only the visible text will be changed.</paragraph>
50<paragraph role="listitem" id="par_id1983092" xml-lang="en-US" l10n="NEW">If you leave the hyperlink by entering a space character directly following the last character, the AutoCorrect - if enabled - will change the target URL to be the same as the visible text.</paragraph>
51<list type="unordered">
52<listitem>
53<paragraph role="listitem" id="par_id333262" xml-lang="en-US" l10n="NEW">In all document types, you can open the Hyperlink dialog to edit a hyperlink. First set the cursor into the hyperlink or directly in front of the hyperlink, then click the Hyperlink icon on the Standard bar.</paragraph>
54</listitem>
55</list>
56<paragraph role="heading" id="hd_id3158432" xml-lang="en-US" level="2" l10n="U" oldref="30">Change the URL of a hyperlink as follows</paragraph>
57<list type="unordered">
58<listitem>
59<paragraph role="listitem" id="par_id3150503" xml-lang="en-US" l10n="CHG" oldref="31">Option 1: As described above, open <link href="text/shared/02/09070000.xhp" name="Hyperlink Dialog">Hyperlink Dialog</link>.</paragraph>
60</listitem>
61</list>
62<list type="unordered">
63<listitem>
64<paragraph role="listitem" id="par_id3145119" xml-lang="en-US" l10n="CHG" oldref="32">Option 2: Open <link href="text/shared/main0209.xhp" name="Hyperlink Bar">Hyperlink Bar</link> (<emph>View - Toolbars - Hyperlink Bar</emph>). Click on the hyperlink, do not release the mouse button and drag the hyperlink to the Hyperlink Bar. Edit the URL on the Hyperlink Bar and press the Return key.</paragraph>
65</listitem>
66</list>
67<paragraph role="heading" id="hd_id3148686" xml-lang="en-US" level="2" l10n="U" oldref="33">Change the attribute of all hyperlinks</paragraph>
68<list type="ordered">
69<listitem>
70<paragraph role="paragraph" id="par_id3148943" xml-lang="en-US" l10n="U" oldref="25">Open the Styles and Formatting window.</paragraph>
71</listitem>
72<listitem>
73<paragraph role="paragraph" id="par_idN10826" xml-lang="en-US" l10n="NEW">Click the Character Styles icon.</paragraph>
74</listitem>
75<listitem>
76<paragraph role="paragraph" id="par_idN1082C" xml-lang="en-US" l10n="NEW">Right-click the "Internet Link" or "Visited Internet Link" character style, and choose <emph>Modify</emph>.</paragraph>
77</listitem>
78<listitem>
79<paragraph role="paragraph" id="par_idN10834" xml-lang="en-US" l10n="NEW">In the dialog, select the new attributes, and click <emph>OK</emph>.</paragraph>
80</listitem>
81</list>
82<paragraph role="heading" id="hd_id3147530" xml-lang="en-US" level="2" l10n="U" oldref="34">Edit a hyperlink button</paragraph>
83<paragraph role="paragraph" id="par_id3152361" xml-lang="en-US" l10n="U" oldref="13">If the hyperlink is a button, click on the border to select it, or press the <switchinline select="sys"><caseinline select="MAC">Option</caseinline><defaultinline>Alt</defaultinline></switchinline> key while clicking. Open the <emph>Properties</emph> dialog through the context menu. You can edit the label text under "Caption," and modify the address in the "URL" field.</paragraph>
84<embed href="text/shared/00/00000004.xhp#related"/>
85<embed href="text/shared/guide/hyperlink_rel_abs.xhp#hyperlink_rel_abs"/>
86</body>
87</helpdocument>
88