diff options
author | Olivier Hallot <olivier.hallot@libreoffice.org> | 2020-03-24 16:55:04 -0300 |
---|---|---|
committer | Olivier Hallot <olivier.hallot@libreoffice.org> | 2020-04-29 14:59:23 +0200 |
commit | 698b678fff3ce1c596196a3ca6cf8b16c5d108e4 (patch) | |
tree | 0576d203aed0e68a70953aee27f5c4fa44100a19 | |
parent | 45bb570b11740cfca92aebe35ed016916c9ce2d5 (diff) |
tdf#131382 scope of function (Calc or BASIC)
Change the heading to indicate BASIC function and not a
CALC function
Change-Id: I4dc14ed0d8bb585d99e30cf72f255a523affc9b0
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/91005
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
-rw-r--r-- | source/text/sbasic/shared/00000003.xhp | 5 | ||||
-rw-r--r-- | source/text/sbasic/shared/03030105.xhp | 13 |
2 files changed, 7 insertions, 11 deletions
diff --git a/source/text/sbasic/shared/00000003.xhp b/source/text/sbasic/shared/00000003.xhp index 848fb4cbd0..efa7db7617 100644 --- a/source/text/sbasic/shared/00000003.xhp +++ b/source/text/sbasic/shared/00000003.xhp @@ -28,7 +28,7 @@ <body> -<paragraph id="hd_id3148550" role="heading" level="1" xml-lang="en-US">Information</paragraph> +<h1 id="hd_id3148550">Information</h1> <section id="languageformat"> <paragraph id="par_id3153381" role="paragraph" xml-lang="en-US">You can set the locale used for controlling the formatting numbers, dates and currencies in $[officename] Basic in <switchinline select="sys"><caseinline select="MAC"><emph>%PRODUCTNAME - Preferences</emph> @@ -216,8 +216,7 @@ <paragraph id="par_id06142017016837920" role="paragraph" xml-lang="en-US"><variable id="VBAObject"><link href="text/sbasic/shared/special_vba_func.xhp#VBAObject">VBA Object functions</link></variable></paragraph> <section id="errorcode"> - -<paragraph id="hd_id3152869" role="heading" level="2" xml-lang="en-US"><variable id="errorcode">Error codes:</variable></paragraph> +<h2 id="hd_id3152869"><variable id="errorcode">Error codes:</variable></h2> </section> <section id="allerrors"> diff --git a/source/text/sbasic/shared/03030105.xhp b/source/text/sbasic/shared/03030105.xhp index 13f364e721..874ee751ab 100644 --- a/source/text/sbasic/shared/03030105.xhp +++ b/source/text/sbasic/shared/03030105.xhp @@ -1,5 +1,4 @@ <?xml version="1.0" encoding="UTF-8"?> - <!-- * This file is part of the LibreOffice project. * @@ -17,7 +16,6 @@ * except in compliance with the License. You may obtain a copy of * the License at http://www.apache.org/licenses/LICENSE-2.0 . --> - <helpdocument version="1.0"> <meta> <topic id="textsbasicshared03030105xml" indexer="include" status="PUBLISH"> @@ -32,22 +30,22 @@ <section id="weekday"> <bookmark xml-lang="en-US" branch="index" id="bm_id3153127"><bookmark_value>WeekDay function</bookmark_value> </bookmark> -<paragraph role="heading" id="hd_id3153127" xml-lang="en-US" level="1"><link href="text/sbasic/shared/03030105.xhp" name="WeekDay Function">WeekDay Function</link></paragraph> +<h1 id="hd_id3153127"><link href="text/sbasic/shared/03030105.xhp" name="WeekDay Function">WeekDay Function (BASIC)</link></h1> <paragraph role="paragraph" id="par_id3146795" xml-lang="en-US">Returns the number corresponding to the weekday represented by a serial date number that is generated by the DateSerial or the DateValue function.</paragraph> </section> -<paragraph role="heading" id="hd_id3145068" xml-lang="en-US" level="2">Syntax:</paragraph> +<embed href="text/sbasic/shared/00000003.xhp#functsyntax"/> <bascode> <paragraph role="bascode" id="par_id3149655" xml-lang="en-US">WeekDay (Number)</paragraph> </bascode> -<paragraph role="heading" id="hd_id3148799" xml-lang="en-US" level="2">Return value:</paragraph> +<embed href="text/sbasic/shared/00000003.xhp#functvalue"/> <paragraph role="paragraph" id="par_id3154125" xml-lang="en-US">Integer</paragraph> -<paragraph role="heading" id="hd_id3150768" xml-lang="en-US" level="2">Parameters:</paragraph> +<embed href="text/sbasic/shared/00000003.xhp#functparameters"/> <paragraph role="paragraph" id="par_id3151042" xml-lang="en-US"> <emph>Number:</emph> Integer expression that contains the serial date number that is used to calculate the day of the week (1-7).</paragraph> <paragraph role="paragraph" id="par_id3159254" xml-lang="en-US">The following example determines the day of the week using the WeekDay function when you enter a date.</paragraph> <embed href="text/sbasic/shared/00000003.xhp#errorcode"/> <embed href="text/sbasic/shared/00000003.xhp#err5"/> -<paragraph role="heading" id="hd_id3148616" xml-lang="en-US" level="2">Example:</paragraph> +<embed href="text/sbasic/shared/00000003.xhp#functexample"/> <bascode> <paragraph role="bascode" id="par_id3145749" xml-lang="en-US" localize="false">Sub ExampleWeekDay</paragraph> <paragraph role="bascode" id="par_id3147426" xml-lang="en-US" localize="false">Dim sDay As String</paragraph> @@ -73,4 +71,3 @@ </bascode> </body> </helpdocument> - |