summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Hallot <olivier.hallot@libreoffice.org>2019-03-04 10:18:35 -0300
committerOlivier Hallot <olivier.hallot@libreoffice.org>2019-03-04 15:42:33 +0100
commit09003c0b3a18d448976e2264347ad3b80fc31994 (patch)
tree0792814bd31e388db1f906eaaac751357b425c64
parentSome optimizing bits in XSLT (diff)
downloadhelp-09003c0b3a18d448976e2264347ad3b80fc31994.tar.gz
help-09003c0b3a18d448976e2264347ad3b80fc31994.zip
tdf#123803 Add relelase info in Calc functions
Patch is for REGEX function available since release 6.2 To add release information to other functions look at the diff in func_regex.xhp and adjust the release. It should be straightforward: <embed href="text/scalc/00/avail_release.xhp#M.N"/> where M is version and N is release. Patch tweaked to minimize translation effort (only one string) Change-Id: I4f5f826c936e65c1050a4d3b71379b53d50e0984 Reviewed-on: https://gerrit.libreoffice.org/68688 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
-rw-r--r--AllLangHelp_scalc.mk1
-rw-r--r--source/text/scalc/00/avail_release.xhp76
-rw-r--r--source/text/scalc/01/func_regex.xhp1
3 files changed, 78 insertions, 0 deletions
diff --git a/AllLangHelp_scalc.mk b/AllLangHelp_scalc.mk
index d55d6abbfd..6bdbc1e562 100644
--- a/AllLangHelp_scalc.mk
+++ b/AllLangHelp_scalc.mk
@@ -26,6 +26,7 @@ $(eval $(call gb_AllLangHelp_add_helpfiles,scalc,\
helpcontent2/source/text/scalc/00/00000407 \
helpcontent2/source/text/scalc/00/00000412 \
helpcontent2/source/text/scalc/00/sheet_menu \
+ helpcontent2/source/text/scalc/00/avail_release \
helpcontent2/source/text/scalc/01/01120000 \
helpcontent2/source/text/scalc/01/02110000 \
helpcontent2/source/text/scalc/01/02120000 \
diff --git a/source/text/scalc/00/avail_release.xhp b/source/text/scalc/00/avail_release.xhp
new file mode 100644
index 0000000000..678817bc78
--- /dev/null
+++ b/source/text/scalc/00/avail_release.xhp
@@ -0,0 +1,76 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<helpdocument version="1.0">
+ <!--
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ -->
+
+ <meta>
+ <topic id="availablerelease" indexer="include" status="PUBLISH">
+ <title id="tit" xml-lang="en-US">Available since release</title>
+ <filename>/text/scalc/00/avail_release.xhp</filename>
+ </topic>
+ </meta>
+
+ <body>
+ <paragraph role="paragraph" id="par_id631551701603518"><variable id="release">This function is available since %PRODUCTNAME </variable></paragraph>
+ <section id="3.3">
+ <tip id="par_id651551701041690" localize="false"><embedvar href="text/scalc/00/avail_release.xhp#release" markup="ignore"/>3.3</tip>
+ </section>
+ <section id="3.4">
+ <tip id="par_id651551401041690" localize="false"><embedvar href="text/scalc/00/avail_release.xhp#release" markup="ignore"/>3.4</tip>
+ </section>
+ <section id="3.5">
+ <tip id="par_id651551401041635" localize="false"><embedvar href="text/scalc/00/avail_release.xhp#release" markup="ignore"/>3.5</tip>
+ </section>
+ <section id="3.6">
+ <tip id="par_id651551401041636" localize="false"><embedvar href="text/scalc/00/avail_release.xhp#release" markup="ignore"/>3.6</tip>
+ </section>
+ <section id="4.0">
+ <tip id="par_id651551401041640" localize="false"><embedvar href="text/scalc/00/avail_release.xhp#release" markup="ignore"/>4.0</tip>
+ </section>
+ <section id="4.1">
+ <tip id="par_id651551401041641" localize="false"><embedvar href="text/scalc/00/avail_release.xhp#release" markup="ignore"/>4.1</tip>
+ </section>
+ <section id="4.2">
+ <tip id="par_id651551401041642" localize="false"><embedvar href="text/scalc/00/avail_release.xhp#release" markup="ignore"/>4.2</tip>
+ </section>
+ <section id="4.3">
+ <tip id="par_id651551401041643" localize="false"><embedvar href="text/scalc/00/avail_release.xhp#release" markup="ignore"/>4.3</tip>
+ </section>
+ <section id="4.4">
+ <tip id="par_id651551401041644" localize="false"><embedvar href="text/scalc/00/avail_release.xhp#release" markup="ignore"/>4.4</tip>
+ </section>
+ <section id="5.0">
+ <tip id="par_id651551401041650" localize="false"><embedvar href="text/scalc/00/avail_release.xhp#release" markup="ignore"/>5.0</tip>
+ </section>
+ <section id="5.1">
+ <tip id="par_id651551401041651" localize="false"><embedvar href="text/scalc/00/avail_release.xhp#release" markup="ignore"/>5.1</tip>
+ </section>
+ <section id="5.2">
+ <tip id="par_id651551401041652" localize="false"><embedvar href="text/scalc/00/avail_release.xhp#release" markup="ignore"/>5.2</tip>
+ </section>
+ <section id="5.3">
+ <tip id="par_id651551401041653" localize="false"><embedvar href="text/scalc/00/avail_release.xhp#release" markup="ignore"/>5.3</tip>
+ </section>
+ <section id="5.4">
+ <tip id="par_id651551401041654" localize="false"><embedvar href="text/scalc/00/avail_release.xhp#release" markup="ignore"/>5.4</tip>
+ </section>
+ <section id="6.0">
+ <tip id="par_id651551401041660" localize="false"><embedvar href="text/scalc/00/avail_release.xhp#release" markup="ignore"/>6.0</tip>
+ </section>
+ <section id="6.1">
+ <tip id="par_id651551401041661" localize="false"><embedvar href="text/scalc/00/avail_release.xhp#release" markup="ignore"/>6.1</tip>
+ </section>
+ <section id="6.2">
+ <tip id="par_id651551401041662" localize="false"><embedvar href="text/scalc/00/avail_release.xhp#release" markup="ignore"/>6.2</tip>
+ </section>
+ <section id="6.3">
+ <tip id="par_id651551401041663" localize="false"><embedvar href="text/scalc/00/avail_release.xhp#release" markup="ignore"/>6.3</tip>
+ </section>
+</body>
+</helpdocument>
diff --git a/source/text/scalc/01/func_regex.xhp b/source/text/scalc/01/func_regex.xhp
index c733abc952..f0b497dd11 100644
--- a/source/text/scalc/01/func_regex.xhp
+++ b/source/text/scalc/01/func_regex.xhp
@@ -26,6 +26,7 @@
<paragraph id="hd_id961542230672100" role="heading" level="1" xml-lang="en-US"><link href="text/scalc/01/func_regex.xhp" name="function REGEX">REGEX</link></paragraph>
<paragraph id="par_id541542230672101" role="paragraph" xml-lang="en-US"><variable id="func_regex_desc"><ahelp hid=".">Matches and extracts or optionally replaces text using regular expressions.</ahelp></variable></paragraph>
</section>
+ <embed href="text/scalc/00/avail_release.xhp#6.2"/>
<embed href="text/scalc/01/ful_func.xhp#func_head_syntax"/>
<paragraph role="code" id="par_id701542231253817" xml-lang="en-US">REGEX( Text ; Expression [ ; [ Replacement ] [ ; Flags|Occurrence ] ] )</paragraph>
<paragraph role="paragraph" id="par_id621542232197446" xml-lang="en-US"><emph>Text</emph>: A text or reference to a cell where the regular expression is to be applied.</paragraph>