xref: /trunk/main/helpcontent2/source/text/shared/guide/hyperlink_edit.xhp (revision 51a0debc1298a807be4a514c55962b96eef5495e)
1cdf0e10cSrcweir<?xml version="1.0" encoding="UTF-8"?>
2cdf0e10cSrcweir
3226a8927SAndrew Rist<!--***********************************************************
4cdf0e10cSrcweir *
5226a8927SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one
6226a8927SAndrew Rist * or more contributor license agreements.  See the NOTICE file
7226a8927SAndrew Rist * distributed with this work for additional information
8226a8927SAndrew Rist * regarding copyright ownership.  The ASF licenses this file
9226a8927SAndrew Rist * to you under the Apache License, Version 2.0 (the
10226a8927SAndrew Rist * "License"); you may not use this file except in compliance
11226a8927SAndrew Rist * with the License.  You may obtain a copy of the License at
12cdf0e10cSrcweir *
13226a8927SAndrew Rist *   http://www.apache.org/licenses/LICENSE-2.0
14cdf0e10cSrcweir *
15226a8927SAndrew Rist * Unless required by applicable law or agreed to in writing,
16226a8927SAndrew Rist * software distributed under the License is distributed on an
17226a8927SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
18226a8927SAndrew Rist * KIND, either express or implied.  See the License for the
19226a8927SAndrew Rist * specific language governing permissions and limitations
20226a8927SAndrew Rist * under the License.
21cdf0e10cSrcweir *
22226a8927SAndrew Rist ***********************************************************-->
23226a8927SAndrew Rist
24cdf0e10cSrcweir<helpdocument version="1.0">
25cdf0e10cSrcweir<meta>
26cdf0e10cSrcweir<topic id="textsharedguidehyperlink_editxml" indexer="include" status="PUBLISH">
27cdf0e10cSrcweir<title id="tit" xml-lang="en-US">Editing Hyperlinks</title>
28cdf0e10cSrcweir<filename>/text/shared/guide/hyperlink_edit.xhp</filename>
29cdf0e10cSrcweir</topic>
30cdf0e10cSrcweir</meta>
31cdf0e10cSrcweir<body>
328b0727e7Smseidel<bookmark xml-lang="en-US" branch="index" id="bm_id3153910">
338b0727e7Smseidel<bookmark_value>hyperlinks; editing</bookmark_value>
34cdf0e10cSrcweir<bookmark_value>links; editing hyperlinks</bookmark_value>
35cdf0e10cSrcweir<bookmark_value>editing; hyperlinks</bookmark_value>
36cdf0e10cSrcweir<bookmark_value>text attributes; hyperlinks</bookmark_value>
37cdf0e10cSrcweir<bookmark_value>buttons;editing hyperlink buttons</bookmark_value>
38cdf0e10cSrcweir<bookmark_value>URL;changing hyperlink URLs</bookmark_value>
3977878c64Smseidel</bookmark><comment>MW deleted "changing;"</comment>
40*51a0debcSmseidel<paragraph role="heading" id="hd_id3153910" xml-lang="en-US" level="1" l10n="U"><variable id="hyperlink_edit"><link href="text/shared/guide/hyperlink_edit.xhp" name="Editing Hyperlinks">Editing Hyperlinks</link>
41cdf0e10cSrcweir</variable></paragraph>
42cdf0e10cSrcweir<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*51a0debcSmseidel<paragraph role="heading" id="hd_id3145071" xml-lang="en-US" level="2" l10n="U">Change the text of a hyperlink as follows</paragraph>
44cdf0e10cSrcweir<list type="unordered">
45cdf0e10cSrcweir<listitem>
46*51a0debcSmseidel<paragraph role="listitem" id="par_id3166410" xml-lang="en-US" l10n="CHG">In Writer documents, you can click anywhere into a hyperlink and edit the visible text.</paragraph>
47cdf0e10cSrcweir</listitem>
48cdf0e10cSrcweir</list>
49cdf0e10cSrcweir<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>
50cdf0e10cSrcweir<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>
51cdf0e10cSrcweir<list type="unordered">
52cdf0e10cSrcweir<listitem>
53cdf0e10cSrcweir<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>
54cdf0e10cSrcweir</listitem>
55cdf0e10cSrcweir</list>
56*51a0debcSmseidel<paragraph role="heading" id="hd_id3158432" xml-lang="en-US" level="2" l10n="U">Change the URL of a hyperlink as follows</paragraph>
57cdf0e10cSrcweir<list type="unordered">
58cdf0e10cSrcweir<listitem>
59*51a0debcSmseidel<paragraph role="listitem" id="par_id3150503" xml-lang="en-US" l10n="CHG">Option 1: As described above, open <link href="text/shared/02/09070000.xhp" name="Hyperlink Dialog">Hyperlink Dialog</link>.</paragraph>
60cdf0e10cSrcweir</listitem>
61cdf0e10cSrcweir</list>
62cdf0e10cSrcweir<list type="unordered">
63cdf0e10cSrcweir<listitem>
64*51a0debcSmseidel<paragraph role="listitem" id="par_id3145119" xml-lang="en-US" l10n="CHG">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>
65cdf0e10cSrcweir</listitem>
66cdf0e10cSrcweir</list>
67*51a0debcSmseidel<paragraph role="heading" id="hd_id3148686" xml-lang="en-US" level="2" l10n="U">Change the attribute of all hyperlinks</paragraph>
68cdf0e10cSrcweir<list type="ordered">
69cdf0e10cSrcweir<listitem>
70*51a0debcSmseidel<paragraph role="paragraph" id="par_id3148943" xml-lang="en-US" l10n="U">Open the Styles and Formatting window.</paragraph>
71cdf0e10cSrcweir</listitem>
72cdf0e10cSrcweir<listitem>
73cdf0e10cSrcweir<paragraph role="paragraph" id="par_idN10826" xml-lang="en-US" l10n="NEW">Click the Character Styles icon.</paragraph>
74cdf0e10cSrcweir</listitem>
75cdf0e10cSrcweir<listitem>
76cdf0e10cSrcweir<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>
77cdf0e10cSrcweir</listitem>
78cdf0e10cSrcweir<listitem>
79cdf0e10cSrcweir<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>
80cdf0e10cSrcweir</listitem>
81cdf0e10cSrcweir</list>
82*51a0debcSmseidel<paragraph role="heading" id="hd_id3147530" xml-lang="en-US" level="2" l10n="U">Edit a hyperlink button</paragraph>
83*51a0debcSmseidel<paragraph role="paragraph" id="par_id3152361" xml-lang="en-US" l10n="U">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>
84cdf0e10cSrcweir<embed href="text/shared/00/00000004.xhp#related"/>
85cdf0e10cSrcweir<embed href="text/shared/guide/hyperlink_rel_abs.xhp#hyperlink_rel_abs"/>
86cdf0e10cSrcweir</body>
87cdf0e10cSrcweir</helpdocument>
88