[Libreoffice-commits] help.git: source/text
Rafael Lima (via logerrit)
logerrit at kemper.freedesktop.org
Mon Mar 15 10:39:32 UTC 2021
source/text/scalc/01/04060109.xhp | 16 +++++++++-------
source/text/shared/02/09070300.xhp | 5 +++++
2 files changed, 14 insertions(+), 7 deletions(-)
New commits:
commit f49b8a9bf0d25148085d818006e9ecd344d0ca84
Author: Rafael Lima <rafael.palma.lima at gmail.com>
AuthorDate: Sat Mar 13 21:39:47 2021 +0100
Commit: Olivier Hallot <olivier.hallot at libreoffice.org>
CommitDate: Mon Mar 15 11:39:10 2021 +0100
tdf#140377 Add example of Hyperlink to folders
Adds examples about how to create Hyperlinks to folders in Writer and Calc.
Add bookmarks to the corresponding Writer help page, so that it can be found in the online search.
Change-Id: Ia453900c3648bd9883ad955a7189037e7c7f0fd7
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/112421
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot at libreoffice.org>
diff --git a/source/text/scalc/01/04060109.xhp b/source/text/scalc/01/04060109.xhp
index 682222b3c..15bc2a7b7 100644
--- a/source/text/scalc/01/04060109.xhp
+++ b/source/text/scalc/01/04060109.xhp
@@ -641,19 +641,21 @@
<paragraph xml-lang="en-US" id="par_id0907200912224576" role="paragraph">The number 0 is returned for empty cells and matrix elements.</paragraph>
<embed href="text/scalc/01/common_func.xhp#sectionexample"/>
<paragraph xml-lang="en-US" id="par_idN11827" role="paragraph">
- <item type="input">=HYPERLINK("http://www.example.org")</item> displays the text "http://www.example.org" in the cell and executes the hyperlink http://www.example.org when clicked.</paragraph>
+ <input>=HYPERLINK("http://www.example.org")</input> displays the text "http://www.example.org" in the cell and executes the hyperlink http://www.example.org when clicked.</paragraph>
<paragraph xml-lang="en-US" id="par_idN1182A" role="paragraph">
- <item type="input">=HYPERLINK("http://www.example.org";"Click here")</item> displays the text "Click here" in the cell and executes the hyperlink http://www.example.org when clicked.</paragraph>
+ <input>=HYPERLINK("http://www.example.org";"Click here")</input> displays the text "Click here" in the cell and executes the hyperlink http://www.example.org when clicked.</paragraph>
<paragraph xml-lang="en-US" id="par_id0907200912224534" role="paragraph">
- <item type="input">=HYPERLINK("http://www.example.org";12345)</item> displays the number 12345 and executes the hyperlink http://www.example.org when clicked.</paragraph>
+ <input>=HYPERLINK("http://www.example.org";12345)</input> displays the number 12345 and executes the hyperlink http://www.example.org when clicked.</paragraph>
<paragraph xml-lang="en-US" id="par_idN1182D" role="paragraph">
- <item type="input">=HYPERLINK($B4)</item> where cell B4 contains <item type="input">http://www.example.org</item>. The function adds http://www.example.org to the URL of the hyperlink cell and returns the same text which is used as formula result.</paragraph>
+ <input>=HYPERLINK($B4)</input> where cell B4 contains <literal>http://www.example.org</literal>. The function adds http://www.example.org to the URL of the hyperlink cell and returns the same text which is used as formula result.</paragraph>
<paragraph xml-lang="en-US" id="par_idN11830" role="paragraph">
- <item type="input">=HYPERLINK("http://www.";"Click ") & "example.org"</item> displays the text Click example.org in the cell and executes the hyperlink http://www.example.org when clicked.</paragraph>
+ <input>=HYPERLINK("http://www.";"Click ") & "example.org"</input> displays the text Click example.org in the cell and executes the hyperlink http://www.example.org when clicked.</paragraph>
<paragraph xml-lang="en-US" id="par_id8859523" role="paragraph">
- <item type="input">=HYPERLINK("#Sheet1.A1";"Go to top")</item> displays the text Go to top and jumps to cell Sheet1.A1 in this document.</paragraph>
+ <input>=HYPERLINK("#Sheet1.A1";"Go to top")</input> displays the text Go to top and jumps to cell Sheet1.A1 in this document.</paragraph>
<paragraph xml-lang="en-US" id="par_id2958769" role="paragraph">
- <item type="input">=HYPERLINK("file:///C:/writer.odt#Specification";"Go to Writer bookmark")</item> displays the text "Go to Writer bookmark", loads the specified text document and jumps to bookmark "Specification".</paragraph>
+ <input>=HYPERLINK("file:///C:/writer.odt#Specification";"Go to Writer bookmark")</input> displays the text "Go to Writer bookmark", loads the specified text document and jumps to bookmark "Specification".</paragraph>
+ <paragraph xml-lang="en-US" role="paragraph" id="par_id321615667588042">
+ <input>=HYPERLINK("file:///C:/Documents/";"Open Documents folder")</input> displays the text "Open Documents folder" and shows the folder contents using the standard file manager in your operating system.</paragraph>
</section>
<section id="getpivotdata">
<bookmark xml-lang="en-US" branch="index" id="bm_id7682424"><bookmark_value>GETPIVOTDATA function</bookmark_value>
diff --git a/source/text/shared/02/09070300.xhp b/source/text/shared/02/09070300.xhp
index 14648719f..29de0ff1b 100644
--- a/source/text/shared/02/09070300.xhp
+++ b/source/text/shared/02/09070300.xhp
@@ -36,8 +36,13 @@
</section>
<embed href="text/shared/06/shared_cui_screenshots.xhp#hyperlinkdocpage"/>
<h2 id="hd_id3150808">Document</h2>
+<bookmark xml-lang="en-US" branch="index" id="bm_id551615667308718">
+ <bookmark_value>hyperlinks;to files</bookmark_value>
+ <bookmark_value>hyperlinks;to folders</bookmark_value>
+</bookmark>
<bookmark xml-lang="en-US" branch="hid/cui/ui/hyperlinkdocpage/path" id="bm_id3155552" localize="false"/><h3 id="hd_id3150710">Path</h3>
<paragraph role="paragraph" id="par_id9462263" xml-lang="en-US"><ahelp hid=".">Enter a <emph>URL</emph> for the file that you want to open when you click the hyperlink. If you do not specify a target frame, the file opens in the current document or frame.</ahelp></paragraph>
+<paragraph role="paragraph" id="par_id91615666930995">If the URL refers to a <emph>folder</emph>, the standard file manager in your operating system opens showing the contents of the specified folder.</paragraph>
<bookmark xml-lang="en-US" branch="hid/cui/ui/hyperlinkdocpage/fileopen" id="bm_id3147571" localize="false"/><h3 id="hd_id3145136">Open File</h3>
<paragraph role="paragraph" id="par_id3149095" xml-lang="en-US"><ahelp hid="cui/ui/hyperlinkdocpage/fileopen">Opens the <emph>Open</emph> dialog, where you can select a file.</ahelp></paragraph>
<h2 id="hd_id3149828">Target in document</h2>
More information about the Libreoffice-commits
mailing list